summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)