about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2025-04-11 21:25:45 +0900
committerNguyễn Gia Phong <cnx@loang.net>2025-04-11 21:25:45 +0900
commit14ddbfc439cd38ad6c5288ef3da87288f059854a (patch)
treedf90d0b262249cc64245777044d6dc950c66b5d9
parent1fd7622441a3f2f343f1d5f731b45e89dff9dfd8 (diff)
downloadloftix-14ddbfc439cd38ad6c5288ef3da87288f059854a.tar.gz
Add missing patch
Fixes: 1fd7622441a3 ("Prettify package definitions for JasPer and libarchive")
-rw-r--r--patches/jasper-no-define-int-types.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/jasper-no-define-int-types.patch b/patches/jasper-no-define-int-types.patch
new file mode 100644
index 0000000..d6a5b0a
--- /dev/null
+++ b/patches/jasper-no-define-int-types.patch
@@ -0,0 +1,19 @@
+--- a/src/libjasper/include/jasper/jas_config.h.in
++++ b/src/libjasper/include/jasper/jas_config.h.in
+@@ -152,6 +152,7 @@
+ #undef inline
+ #endif
+ 
++#if 0
+ /* Define to `long long' if <sys/types.h> does not define. */
+ #undef longlong
+ 
+@@ -175,7 +176,7 @@
+ 
+ /* Define to `unsigned short' if <sys/types.h> does not define. */
+ #undef ushort
+-
++#endif
+ 
+ #else
+ /* A configure-based build is not being used. */