commit: 37f0e16ff077f94d6e4de1f5481af94d5ca0ce36 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> AuthorDate: Wed Jan 13 22:20:32 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 5 02:06:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37f0e16f
dev-libs/miniz: don't set visibility to hidden Needed by prusaslicer and symbols such as mz_zip_zero_struct Bug: https://bugs.gentoo.org/761541 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch | 4 +--- dev-libs/miniz/{miniz-2.1.0-r1.ebuild => miniz-2.1.0-r2.ebuild} | 0 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch b/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch index 6f842922270..c1fb1a52215 100644 --- a/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch +++ b/dev-libs/miniz/files/miniz-2.1.0-export-cmake-build-targets.patch @@ -18,7 +18,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "") # CMake defaults to leaving CMAKE_BUILD_TYPE empty. This screws up # differentiation between debug and release builds. -@@ -8,45 +18,122 @@ +@@ -8,45 +18,120 @@ CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE) endif () @@ -39,8 +39,6 @@ +string(TOUPPER ${PROJECT_NAME} PROJECT_UPPER) +set_target_properties(${PROJECT_NAME} + PROPERTIES INTERFACE_COMPILE_DEFINITIONS ${PROJECT_UPPER}_STATIC_DEFINE) -+else() -+set_property(TARGET ${PROJECT_NAME} PROPERTY C_VISIBILITY_PRESET hidden) +endif() + +set_property(TARGET ${PROJECT_NAME} PROPERTY VERSION ${MINIZ_VERSION}) diff --git a/dev-libs/miniz/miniz-2.1.0-r1.ebuild b/dev-libs/miniz/miniz-2.1.0-r2.ebuild similarity index 100% rename from dev-libs/miniz/miniz-2.1.0-r1.ebuild rename to dev-libs/miniz/miniz-2.1.0-r2.ebuild
