summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-05-30 16:49:13 +0200
committerJeroen Roovers <jer@gentoo.org>2020-05-30 16:49:33 +0200
commit922539a7c779164aba0bc14f6ef7a1eff057def4 (patch)
tree2b37ee9b653fec28fe877f1a60ab6f6eb02f7d83
parentprofiles/arch/powerpc: Unmask py3.8+ (diff)
downloadgentoo-922539a7c779164aba0bc14f6ef7a1eff057def4.tar.gz
gentoo-922539a7c779164aba0bc14f6ef7a1eff057def4.tar.bz2
gentoo-922539a7c779164aba0bc14f6ef7a1eff057def4.zip
x11-misc/xlockmore: Inject LDFLAGS
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Closes: https://bugs.gentoo.org/726280 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--x11-misc/xlockmore/files/xlockmore-5.64_alpha0-LDFLAGS.patch33
-rw-r--r--x11-misc/xlockmore/xlockmore-5.64_alpha0.ebuild1
2 files changed, 34 insertions, 0 deletions
diff --git a/x11-misc/xlockmore/files/xlockmore-5.64_alpha0-LDFLAGS.patch b/x11-misc/xlockmore/files/xlockmore-5.64_alpha0-LDFLAGS.patch
new file mode 100644
index 00000000000..f36e3ab0b7a
--- /dev/null
+++ b/x11-misc/xlockmore/files/xlockmore-5.64_alpha0-LDFLAGS.patch
@@ -0,0 +1,33 @@
+--- a/modes/Makefile.in
++++ b/modes/Makefile.in
+@@ -344,7 +344,7 @@
+ CXXFLAGS = @CXXFLAGS@
+ #CFLAGS = -O
+ #CFLAGS = -g
+-XLOCKLDFLAGS = @XLOCKLDFLAGS@ $(CHECKLDFLAG)
++XLOCKLDFLAGS = $(LDFLAGS) @XLOCKLDFLAGS@ $(CHECKLDFLAG)
+ XLIBS = @XLIBS@
+ XLOCKLIBS = $(MODULELIB) @XLOCKLIBS@
+
+--- a/xmlock/Makefile.in
++++ b/xmlock/Makefile.in
+@@ -94,7 +94,7 @@
+ CFLAGS = @CFLAGS@
+ #CFLAGS = -O
+ #CFLAGS = -g
+-XMLOCKLDFLAGS = @XMLOCKLDFLAGS@
++XMLOCKLDFLAGS = $(LDFLAGS) @XMLOCKLDFLAGS@
+ XLIBS = @XLIBS@
+ XMLOCKLIBS = @XMLOCKLIBS@
+ #If you have purify, and want to use it, uncomment this definition or
+--- a/xglock/Makefile.in
++++ b/xglock/Makefile.in
+@@ -92,7 +92,7 @@
+ CFLAGS = @GTK_CFLAGS@ @CFLAGS@
+ #CFLAGS = -O
+ #CFLAGS = -g
+-XGLOCKLDFLAGS = @XGLOCKLDFLAGS@
++XGLOCKLDFLAGS = $(LDFLAGS) @XGLOCKLDFLAGS@
+ XLIBS = @XLIBS@
+ XGLOCKLIBS = @XGLOCKLIBS@
+ #If you have purify, and want to use it, uncomment this definition or
diff --git a/x11-misc/xlockmore/xlockmore-5.64_alpha0.ebuild b/x11-misc/xlockmore/xlockmore-5.64_alpha0.ebuild
index 2071d070081..26cf0a2b072 100644
--- a/x11-misc/xlockmore/xlockmore-5.64_alpha0.ebuild
+++ b/x11-misc/xlockmore/xlockmore-5.64_alpha0.ebuild
@@ -50,6 +50,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.46-freetype261.patch
"${FILESDIR}"/${PN}-5.47-CXX.patch
"${FILESDIR}"/${PN}-5.47-strip.patch
+ "${FILESDIR}"/${PN}-5.64_alpha0-LDFLAGS.patch
)
S=${WORKDIR}/${P/_alpha/ALPHA}