fbida: fix build with GCC 15

This commit is contained in:
Justin Chen
2026-01-02 12:02:33 +08:00
parent 8cda383d1c
commit 819134cdcd
2 changed files with 18 additions and 0 deletions
@@ -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.
+2
View File
@@ -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 = [