gentoo-ebuilds/media-gfx/openmesh/files/openmesh-11.0.0-unused_flags.patch
Nicolas PARLANT ae72a44e4e
media-gfx/openmesh: add 11.0.0, qt6
update HOMEPAGE / SRC_URI (redirect)

iuse :
  qt6 -> gui
  add doc

deps :
  * media-libs/freeglut -> media-libs/libglvnd
  * test : add dev-cpp/eigen
  * doc, add :
      app-text/doxygen[dot]
      dev-texlive/texlive-latex
      dev-texlive/texlive-latexextra (for xcolor.sty)
      dev-texlive/texlive-latexrecommended (for newunicodechar.sty)

static-libs : set shared-libs only with a patch because previous sed-op
  is no longer sufficient.

Closes: https://bugs.gentoo.org/836649
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Closes: https://github.com/gentoo/gentoo/pull/41285
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-04-02 17:48:59 +02:00

34 lines
1.2 KiB
Diff

prevent configure from failing as variables called are unset and needless here
diff --git a/cmake-library/VCI/VCICompiler.cmake b/cmake-library/VCI/VCICompiler.cmake
index eca35d8..983099a 100755
--- a/cmake-library/VCI/VCICompiler.cmake
+++ b/cmake-library/VCI/VCICompiler.cmake
@@ -172,14 +172,6 @@ if (UNIX)
set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${flag} ")
endif()
endforeach()
-
- # Add the release with debug info flags
- foreach( flag ${ADDITIONAL_CXX_FLAGS} ${ADDITIONAL_CXX_RELWITHDEBINFO_FLAGS} )
- list (FIND ${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${flag} _index)
- if (${_index} EQUAL -1)
- set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${flag} ")
- endif()
- endforeach()
ENDIF()
@@ -200,13 +192,5 @@ if (UNIX)
endif()
endforeach()
- # Add the release with debug info flags
- foreach( flag ${ADDITIONAL_C_FLAGS} ${ADDITIONAL_C_RELWITHDEBINFO_FLAGS} )
- list (FIND ${CMAKE_C_FLAGS_RELWITHDEBINFO} ${flag} _index)
- if (${_index} EQUAL -1)
- set( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} ${flag} ")
- endif()
- endforeach()
-
endif()
endif ()