summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-07-10 15:38:28 +0200
committerUlrich Müller <ulm@gentoo.org>2020-07-10 15:38:28 +0200
commit3f79558a92d59bc8e691c04ea001eaaa94148a1d (patch)
treea5891d51289938686658a569b4ca6ff81b00170b
parentmotif: Convert sed and echo from ebuild into proper patches. (diff)
downloadulm-3f79558a92d59bc8e691c04ea001eaaa94148a1d.tar.gz
ulm-3f79558a92d59bc8e691c04ea001eaaa94148a1d.tar.bz2
ulm-3f79558a92d59bc8e691c04ea001eaaa94148a1d.zip
pam_skey: Fix configure test for ld -shared.pam_skey-1.1.5-patches-7
Bug: https://bugs.gentoo.org/732098 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--patchsets/pam_skey/1.1.5/06_all_ld-shared.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patchsets/pam_skey/1.1.5/06_all_ld-shared.patch b/patchsets/pam_skey/1.1.5/06_all_ld-shared.patch
new file mode 100644
index 0000000..578baac
--- /dev/null
+++ b/patchsets/pam_skey/1.1.5/06_all_ld-shared.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/732098
+
+--- pam_skey-1.1.5/autoconf/configure.in
++++ pam_skey/autoconf/configure.in
+@@ -61,7 +61,7 @@
+ hold_ldflags=$LDFLAGS
+ AC_MSG_CHECKING(for the ld -shared flag)
+ LDFLAGS="${LDFLAGS} -shared"
+-AC_TRY_LINK([#include <stdio.h>], [void blahblah(){fprintf(stderr, "");}],
++AC_TRY_LINK([#include <stdio.h>], [fprintf(stderr, "");],
+ found=yes, found=no)
+ LDFLAGS=$hold_ldflags
+ AC_MSG_RESULT($found)