summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2011-10-31 00:28:57 +0000
committerRyan Hill <dirtyepic@gentoo.org>2011-10-31 00:28:57 +0000
commitb81ca7ae9b0b00ab41f808c2eaab07f742f3671a (patch)
tree16831afa3fa5512da750c51a7c2322a79a5196a4 /sys-auth/thinkfinger/files
parentVersion bump. (diff)
downloadgentoo-2-b81ca7ae9b0b00ab41f808c2eaab07f742f3671a.tar.gz
gentoo-2-b81ca7ae9b0b00ab41f808c2eaab07f742f3671a.tar.bz2
gentoo-2-b81ca7ae9b0b00ab41f808c2eaab07f742f3671a.zip
Remove --strip-all from LDFLAGS (was causing build failure with GCC 4.6)
(bug #371001). Clean up ebuild - EAPI 4, remove useless die calls, install udev scripts in /lib, not $(get_libdir), add static-libs USE and port to autotools-utils eclass. (Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/thinkfinger/files')
-rw-r--r--sys-auth/thinkfinger/files/0.3-strip-strip.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-auth/thinkfinger/files/0.3-strip-strip.patch b/sys-auth/thinkfinger/files/0.3-strip-strip.patch
new file mode 100644
index 000000000000..1339baf63a00
--- /dev/null
+++ b/sys-auth/thinkfinger/files/0.3-strip-strip.patch
@@ -0,0 +1,24 @@
+Strip is handled by the package manager.
+
+--- a/pam/Makefile.am
++++ b/pam/Makefile.am
+@@ -8,7 +8,7 @@ pam_thinkfinger_so_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h p
+ else
+ pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
+ endif
+-pam_thinkfinger_so_LDFLAGS = -shared --strip-all -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
++pam_thinkfinger_so_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
+ pam_thinkfinger_so_CFLAGS = $(CFLAGS)
+ pam_thinkfinger_so_LDADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
+
+--- a/pam/Makefile.in
++++ b/pam/Makefile.in
+@@ -201,7 +201,7 @@ pamdir = $(SECUREDIR)
+ INCLUDES = -I$(top_srcdir)/libthinkfinger
+ @HAVE_OLD_PAM_FALSE@pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
+ @HAVE_OLD_PAM_TRUE@pam_thinkfinger_so_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
+-pam_thinkfinger_so_LDFLAGS = -shared --strip-all -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
++pam_thinkfinger_so_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
+ pam_thinkfinger_so_CFLAGS = $(CFLAGS)
+ pam_thinkfinger_so_LDADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
+ all: all-am