summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-10-06 18:53:34 +0800
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-07 15:31:11 +0200
commit44b5637ab28306dcd6f7a46aae56bdcf6284b3e7 (patch)
treec992cd7c8b720a5d5f5fa1cddb20e6cbe900b33b /package
parent0b7ec8ea322d532711aeed92d4abe7ed7cc670e4 (diff)
e2fsprogs: add a patch to link against SEM_INIT libs
This patch is needed to make e2fsprogs being linked against SEM_INIT libraries. In this particular case, it causes the Makefiles to add -lpthread. Without that, all binaries crash at startup, at least on x86. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch b/package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch
new file mode 100644
index 000000000..56f1cc2c1
--- /dev/null
+++ b/package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch
@@ -0,0 +1,11 @@
+--- e2fsprogs-1.41.9/MCONFIG.in.orig 2009-10-07 20:25:07.000000000 +0800
++++ e2fsprogs-1.41.9/MCONFIG.in 2009-10-07 20:21:41.000000000 +0800
+@@ -85,7 +85,7 @@
+ #
+ LIB = $(top_builddir)/lib
+ LIBSS = $(LIB)/libss@LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@
+-LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@
++LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @SEM_INIT_LIB@
+ LIBE2P = $(LIB)/libe2p@LIB_EXT@
+ LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
+ LIBUUID = @LIBUUID@ @SOCKET_LIB@