mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
dvdisaster: fix build
This commit is contained in:
parent
a5d4ca206b
commit
9bbd3da168
2 changed files with 11 additions and 0 deletions
10
pkgs/by-name/dv/dvdisaster/gcc14-fix.patch
Normal file
10
pkgs/by-name/dv/dvdisaster/gcc14-fix.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
diff --git a/scripts/bash-based-configure b/scripts/bash-based-configure
|
||||||
|
--- a/scripts/bash-based-configure
|
||||||
|
+++ b/scripts/bash-based-configure
|
||||||
|
@@ -1364,6 +1364,7 @@ EOF
|
||||||
|
|
||||||
|
cat >conftest.c <<EOF
|
||||||
|
#include <glib.h>
|
||||||
|
+#include <stdio.h>
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{ g_malloc(1024);
|
|
@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
|
||||||
patches = lib.optionals enableSoftening [
|
patches = lib.optionals enableSoftening [
|
||||||
./encryption.patch
|
./encryption.patch
|
||||||
./dvdrom.patch
|
./dvdrom.patch
|
||||||
|
./gcc14-fix.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue