summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-21 15:38:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-21 15:38:38 +0000
commit6ee24994a889058df45953b7e1e5d407a30ef9b2 (patch)
treed2dd79ea90a8b91616a55543e612fc24fa341e51 /net-mail/libpst/files
parentMigrate to qt4-r2 eclass. Remove old ebuild (diff)
downloadgentoo-2-6ee24994a889058df45953b7e1e5d407a30ef9b2.tar.gz
gentoo-2-6ee24994a889058df45953b7e1e5d407a30ef9b2.tar.bz2
gentoo-2-6ee24994a889058df45953b7e1e5d407a30ef9b2.zip
Fix building with -Wl,--as-needed wrt #277145 by Kacper Kowalik.
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/libpst/files')
-rw-r--r--net-mail/libpst/files/libpst-0.6.41-asneeded.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-mail/libpst/files/libpst-0.6.41-asneeded.patch b/net-mail/libpst/files/libpst-0.6.41-asneeded.patch
new file mode 100644
index 000000000000..9ba96ac4ab62
--- /dev/null
+++ b/net-mail/libpst/files/libpst-0.6.41-asneeded.patch
@@ -0,0 +1,18 @@
+--- libpst-0.6.41.orig/configure.in 2009-06-24 05:29:31.000000000 +0200
++++ libpst-0.6.41/configure.in 2009-10-30 22:36:07.421577082 +0100
+@@ -134,7 +134,7 @@
+ AC_HEADER_DIRENT
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h inttypes.h limits.h regex.h semaphore.h signal.h stdarg.h stdint.h stdio.h stdlib.h string.h sys/param.h sys/shm.h sys/stat.h sys/types.h time.h unistd.h wchar.h])
+-AC_SEARCH_LIBS([sem_init],rt)
++AC_SEARCH_LIBS([sem_init], [ pthread pthreads thread threads ] )
+
+
+ # Checks for typedefs, structures, and compiler characteristics.
+--- libpst-0.6.41.orig/Makefile.am 2009-06-24 05:29:31.000000000 +0200
++++ libpst-0.6.41/Makefile.am 2009-10-30 22:43:06.738326493 +0100
+@@ -1,3 +1,4 @@
++ACLOCAL_AMFLAGS = -I m4
+ SUBDIRS = src python man html debian
+ htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
+ html_DATA = AUTHORS COPYING ChangeLog NEWS README