summaryrefslogtreecommitdiff
path: root/devel/zziplib/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/zziplib/files')
-rw-r--r--devel/zziplib/files/patch-SDL-CMakeLists.txt13
-rw-r--r--devel/zziplib/files/patch-zzip-CMakeLists.txt6
2 files changed, 16 insertions, 3 deletions
diff --git a/devel/zziplib/files/patch-SDL-CMakeLists.txt b/devel/zziplib/files/patch-SDL-CMakeLists.txt
new file mode 100644
index 000000000000..f84ff30138e8
--- /dev/null
+++ b/devel/zziplib/files/patch-SDL-CMakeLists.txt
@@ -0,0 +1,13 @@
+Reference: https://github.com/gdraheim/zziplib/pull/181
+
+--- SDL/CMakeLists.txt.orig 2025-05-30 06:42:56 UTC
++++ SDL/CMakeLists.txt
+@@ -71,7 +71,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SDL_rwops_zz
+ add_custom_target(pkgconfig-sdl ALL DEPENDS SDL_rwops_zzip.pc)
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SDL_rwops_zzip.pc
+- DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" )
++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" )
+ endif(ZZIP_PKGCONFIG)
+ endif(SDL_FOUND)
+
diff --git a/devel/zziplib/files/patch-zzip-CMakeLists.txt b/devel/zziplib/files/patch-zzip-CMakeLists.txt
index 9029e93c85ac..c7d55d224254 100644
--- a/devel/zziplib/files/patch-zzip-CMakeLists.txt
+++ b/devel/zziplib/files/patch-zzip-CMakeLists.txt
@@ -1,7 +1,7 @@
---- zzip/CMakeLists.txt.orig 2021-01-04 23:05:08 UTC
+--- zzip/CMakeLists.txt.orig 2025-04-18 21:40:05 UTC
+++ zzip/CMakeLists.txt
-@@ -189,16 +189,16 @@ target_link_libraries(libzzipmmapped ZLIB::ZLIB )
- target_include_directories (libzzipmmapped PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
+@@ -242,16 +242,16 @@ endif()
+ add_custom_target(libzzipmmapped.gcov DEPENDS libzzipmmapped.so.gcov)
endif()
-set_target_properties(libzzip PROPERTIES OUTPUT_NAME "zzip" RELEASE_POSTFIX "-${RELNUM}")