public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-sound/lms/, media-sound/lms/files/
@ 2024-03-15  7:10 Rui Huang
  0 siblings, 0 replies; only message in thread
From: Rui Huang @ 2024-03-15  7:10 UTC (permalink / raw
  To: gentoo-commits

commit:     4eeb7dd2e7661e325839edef0a056e8b1bd7c8b4
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 14:18:40 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Mar 14 14:18:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4eeb7dd2

media-sound/lms: respect LDFLAGS

Closes: https://bugs.gentoo.org/926807
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-sound/lms/files/lms-respect-ldflags.patch | 13 +++++++++++++
 media-sound/lms/lms-3.50.1.ebuild               |  6 +++++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/media-sound/lms/files/lms-respect-ldflags.patch b/media-sound/lms/files/lms-respect-ldflags.patch
new file mode 100644
index 0000000000..4b7cd9dd6e
--- /dev/null
+++ b/media-sound/lms/files/lms-respect-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 369ef896..d470a8ea 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -7,7 +7,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules/)
+ set(CMAKE_CXX_STANDARD 20)
+ set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
+ if (UNIX)
+-	set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
++	set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")
+ endif ()
+ 
+ include(CTest)

diff --git a/media-sound/lms/lms-3.50.1.ebuild b/media-sound/lms/lms-3.50.1.ebuild
index a1a3d25f7e..d68ab0f28d 100644
--- a/media-sound/lms/lms-3.50.1.ebuild
+++ b/media-sound/lms/lms-3.50.1.ebuild
@@ -37,7 +37,11 @@ BDEPEND="
 	test? ( dev-cpp/gtest )
 "
 
-PATCHES=( "${FILESDIR}/${PN}-fix-lib-dir.patch"  "${FILESDIR}/${PN}-optional-tests.patch" )
+PATCHES=(
+	"${FILESDIR}/${PN}-fix-lib-dir.patch"
+	"${FILESDIR}/${PN}-optional-tests.patch"
+	"${FILESDIR}/${PN}-respect-ldflags.patch"
+)
 
 src_configure() {
 	append-flags -I/usr/include/stb/deprecated


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-15  7:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15  7:10 [gentoo-commits] repo/proj/guru:master commit in: media-sound/lms/, media-sound/lms/files/ Rui Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox