[packages/assimp] - fix build with system minizip

qboosh qboosh at pld-linux.org
Tue Feb 8 19:33:28 CET 2022


commit ec28bb25de298569bff700f226314dbfc1e8c0b0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Feb 8 19:34:56 2022 +0100

    - fix build with system minizip

 assimp-system-minizip.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/assimp-system-minizip.patch b/assimp-system-minizip.patch
new file mode 100644
index 0000000..f9bef85
--- /dev/null
+++ b/assimp-system-minizip.patch
@@ -0,0 +1,20 @@
+Description: fix compilation with system provided minizip package
+ upstream vendored an a forked version of minizip that has not seen any love for 6 years...
+Origin: https://github.com/assimp/assimp/issues/4334
+Forwarded: https://github.com/assimp/assimp/issues/4334
+Reviewed-by: IOhannes m zmölnig
+Last-Update: 2022-01-19
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- assimp.orig/code/Common/ZipArchiveIOSystem.cpp
++++ assimp/code/Common/ZipArchiveIOSystem.cpp
+@@ -196,7 +196,9 @@
+     zlib_filefunc_def mapping;
+ 
+     mapping.zopen_file = (open_file_func)open;
++#ifdef ZOPENDISK64
+     mapping.zopendisk_file = (opendisk_file_func)opendisk;
++#endif
+     mapping.zread_file = (read_file_func)read;
+     mapping.zwrite_file = (write_file_func)write;
+     mapping.ztell_file = (tell_file_func)tell;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/assimp.git/commitdiff/ec28bb25de298569bff700f226314dbfc1e8c0b0



More information about the pld-cvs-commit mailing list