From: Jeroen Roovers Date: Sat, 30 May 2020 14:49:13 +0000 (+0200) Subject: x11-misc/xlockmore: Inject LDFLAGS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=922539a7c779164aba0bc14f6ef7a1eff057def4;p=gentoo.git 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 --- 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 000000000000..f36e3ab0b7a2 --- /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 2071d0700818..26cf0a2b0721 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}