commit:     782ca6e8239f9d8d34d6808a417993c7b07301ba
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Nov  9 22:55:44 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan  2 16:52:44 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782ca6e8

sci-libs/opencascade: drop unused patches

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44585
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...ascade-7.8.2-avoid-pre-stripping-binaries.patch | 25 ---------------------
 .../opencascade-7.8.2-jemalloc-lib-type.patch      | 26 ----------------------
 2 files changed, 51 deletions(-)

diff --git 
a/sci-libs/opencascade/files/opencascade-7.8.2-avoid-pre-stripping-binaries.patch
 
b/sci-libs/opencascade/files/opencascade-7.8.2-avoid-pre-stripping-binaries.patch
deleted file mode 100644
index cd7ebdeeaac3..000000000000
--- 
a/sci-libs/opencascade/files/opencascade-7.8.2-avoid-pre-stripping-binaries.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/adm/cmake/occt_defs_flags.cmake b/adm/cmake/occt_defs_flags.cmake
-index ec31fdd80..26411ba6a 100644
---- a/adm/cmake/occt_defs_flags.cmake
-+++ b/adm/cmake/occt_defs_flags.cmake
-@@ -173,8 +173,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "[Cc][Ll][Aa][Nn][Gg]")
-     # CLang can be used with both libstdc++ and libc++, however on OS X 
libstdc++ is outdated.
-     set (CMAKE_CXX_FLAGS "-stdlib=libc++ ${CMAKE_CXX_FLAGS}")
-   endif()
--  # Optimize size of binaries
--  set (CMAKE_SHARED_LINKER_FLAGS_RELEASE "-Wl,-s 
${CMAKE_SHARED_LINKER_FLAGS_RELEASE}")
- endif()
- if(MINGW)
-   add_definitions(-D_WIN32_WINNT=0x0601)
-@@ -183,11 +181,6 @@ if(MINGW)
-   # workaround bugs in mingw with vtable export
-   set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--export-all-symbols")
- endif()
--if (DEFINED CMAKE_COMPILER_IS_GNUCXX)
--  # Optimize size of binaries
--  set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
--  set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s")
--endif()
- 
- if (BUILD_RELEASE_DISABLE_EXCEPTIONS)
-   set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception")

diff --git 
a/sci-libs/opencascade/files/opencascade-7.8.2-jemalloc-lib-type.patch 
b/sci-libs/opencascade/files/opencascade-7.8.2-jemalloc-lib-type.patch
deleted file mode 100644
index 02b5dfa9579b..000000000000
--- a/sci-libs/opencascade/files/opencascade-7.8.2-jemalloc-lib-type.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/adm/cmake/jemalloc.cmake b/adm/cmake/jemalloc.cmake
-index 579ed3e15..08917d94c 100644
---- a/adm/cmake/jemalloc.cmake
-+++ b/adm/cmake/jemalloc.cmake
-@@ -67,6 +67,7 @@ macro (JEMALLOC_LIB_SEARCH MMGR_LIB PREFIX)
- endmacro()
- 
- macro (SEARCH_JEMALLOC)
-+if(BUILD_LIBRARY_TYPE EQUAL "Static")
-   # find static jemalloc lib
-   SET(CMAKE_FIND_LIBRARY_SUFFIXES ".lib" ".a")
-   if (WIN32)
-@@ -76,10 +77,13 @@ macro (SEARCH_JEMALLOC)
-     SET(CMAKE_FIND_LIBRARY_SUFFIXES "" "so")
-     JEMALLOC_LIB_SEARCH ("jemalloc.so.2" "SHARED")
-   endif()
-+endif()
-   
-+if(BUILD_LIBRARY_TYPE EQUAL "Shared")
-   # find shared jemalloc lib
-   SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".so")
-   JEMALLOC_LIB_SEARCH ("jemalloc" "SHARED")
-+endif()
- endmacro()
- 
- # Reset CSF variable

Reply via email to