fbida: fix build with GCC 15
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
diff --git a/jpeg/62/jpeglib.h b/jpeg/62/jpeglib.h
|
||||
index d1be8dd..38436ef 100644
|
||||
--- a/jpeg/62/jpeglib.h
|
||||
+++ b/jpeg/62/jpeglib.h
|
||||
@@ -814,11 +814,7 @@ typedef JMETHOD(boolean, jpeg_marker_parser_method, (j_decompress_ptr cinfo));
|
||||
* Note JPP requires double parentheses.
|
||||
*/
|
||||
|
||||
-#ifdef HAVE_PROTOTYPES
|
||||
#define JPP(arglist) arglist
|
||||
-#else
|
||||
-#define JPP(arglist) ()
|
||||
-#endif
|
||||
|
||||
|
||||
/* Short forms of external names for systems with brain-damaged linkers.
|
||||
@@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
|
||||
url = "https://git.kraxel.org/cgit/fbida/patch/?id=1bb8a8aa29845378903f3c690e17c0867c820da2";
|
||||
sha256 = "0n5vqbp8wd87q60zfwdf22jirggzngypc02ha34gsj1rd6pvwahi";
|
||||
})
|
||||
# Prevents using function declaration without explicit parameters.
|
||||
./function-parameters.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user