summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-21 13:26:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-21 13:26:06 +0000
commit7fe1f6873af69d9599199f85f40d0aa613d59e54 (patch)
tree70d540bbe69933602a4cfbbe1263d938cfea6b55 /sys-fs/device-mapper/files
parentFix building with -Wl,--as-needed wrt #294885 by Kacper Kowalik. (diff)
downloadhistorical-7fe1f6873af69d9599199f85f40d0aa613d59e54.tar.gz
historical-7fe1f6873af69d9599199f85f40d0aa613d59e54.tar.bz2
historical-7fe1f6873af69d9599199f85f40d0aa613d59e54.zip
Fix building with -Wl,--as-needed wrt #259569 by James C. Georgas.
Package-Manager: portage-2.2_rc59/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/device-mapper/files')
-rw-r--r--sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch b/sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch
new file mode 100644
index 000000000000..c5615eaf68ed
--- /dev/null
+++ b/sys-fs/device-mapper/files/device-mapper-1.02.28-asneeded.patch
@@ -0,0 +1,12 @@
+--- device-mapper.1.02.28.orig/dmeventd/Makefile.in 2008-06-27 09:36:51.000000000 -0600
++++ device-mapper.1.02.28/dmeventd/Makefile.in 2009-02-19 00:21:18.000000000 -0700
+@@ -31,8 +31,7 @@
+
+ include ../make.tmpl
+
+-LDFLAGS += -ldl -ldevmapper -lpthread
+-CLDFLAGS += -ldl -ldevmapper -lpthread
++LIBS += -ldl -ldevmapper -lpthread
+
+ dmeventd: $(LIB_SHARED) $(VERSIONED_SHLIB) dmeventd.o
+ $(CC) -o $@ dmeventd.o $(CFLAGS) $(LDFLAGS) \