commit:     9e871ba946688b555c1f668ba3006574897c90da
Author:     Marcin Woźniak <y0rune <AT> aol <DOT> com>
AuthorDate: Sun Aug  8 20:59:12 2021 +0000
Commit:     Marcin Woźniak <y0rune <AT> aol <DOT> com>
CommitDate: Sun Aug  8 20:59:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e871ba9

mail-client/heirloom-mailx: Fix problem with LDFlags

Signed-off-by: Marcin Woźniak <y0rune <AT> aol.com>
Closes: https://bugs.gentoo.org/800749

 .../files/heirloom-mailx-12.5-enable-ldflags.patch           | 12 ++++++++++++
 mail-client/heirloom-mailx/heirloom-mailx-12.5.ebuild        |  1 +
 2 files changed, 13 insertions(+)

diff --git 
a/mail-client/heirloom-mailx/files/heirloom-mailx-12.5-enable-ldflags.patch 
b/mail-client/heirloom-mailx/files/heirloom-mailx-12.5-enable-ldflags.patch
new file mode 100644
index 000000000..8313a7fb3
--- /dev/null
+++ b/mail-client/heirloom-mailx/files/heirloom-mailx-12.5-enable-ldflags.patch
@@ -0,0 +1,12 @@
+diff --color -Naur heirloom-mailx-12.5/Makefile 
heirloom-mailx-12.5-patch/Makefile
+--- heirloom-mailx-12.5/Makefile       2011-04-26 23:23:22.000000000 +0200
++++ heirloom-mailx-12.5-patch/Makefile 2021-08-08 21:58:46.965043853 +0200
+@@ -25,7 +25,7 @@
+ # displayed correctly.
+ #CFLAGS               =
+ #CPPFLAGS     =
+-#LDFLAGS              =
++LDFLAGS               =
+ #WARN         = -Wall -Wno-parentheses -Werror
+ 
+ # Some RedHat versions need INCLUDES = -I/usr/kerberos/include to compile

diff --git a/mail-client/heirloom-mailx/heirloom-mailx-12.5.ebuild 
b/mail-client/heirloom-mailx/heirloom-mailx-12.5.ebuild
index cff65a63a..42dcc5f31 100644
--- a/mail-client/heirloom-mailx/heirloom-mailx-12.5.ebuild
+++ b/mail-client/heirloom-mailx/heirloom-mailx-12.5.ebuild
@@ -26,6 +26,7 @@ SLOT="0"
 
 src_prepare() {
        eapply -p1 "${FILESDIR}/${PN}-${PVR}-fixes-1.patch"
+       eapply -p1 "${FILESDIR}/${PN}-${PVR}-enable-ldflags.patch"
        eapply_user
 }
 

Reply via email to