diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-02-09 00:06:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-09 00:06:47 +0000 |
commit | b6bdfa8bd2b27bd3765f8072257cadc6d800ed15 (patch) | |
tree | 9d7c064ba352a6ff78879cae625baeddcb884d88 /app-text/dictd/files | |
parent | Drop runtime dependency on xcb-proto, bug #398953. (diff) | |
download | historical-b6bdfa8bd2b27bd3765f8072257cadc6d800ed15.tar.gz historical-b6bdfa8bd2b27bd3765f8072257cadc6d800ed15.tar.bz2 historical-b6bdfa8bd2b27bd3765f8072257cadc6d800ed15.zip |
Fix building with libtool-2.4 #342669 by Diego Elio Pettenò.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'app-text/dictd/files')
-rw-r--r-- | app-text/dictd/files/dictd-1.12.0-build.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/dictd/files/dictd-1.12.0-build.patch b/app-text/dictd/files/dictd-1.12.0-build.patch new file mode 100644 index 000000000000..d192f8ccb961 --- /dev/null +++ b/app-text/dictd/files/dictd-1.12.0-build.patch @@ -0,0 +1,22 @@ +don't force -static so we get both pic and non-pic objects + +https://bugs.gentoo.org/342669 + +--- a/Makefile.in ++++ b/Makefile.in +@@ -117,12 +117,12 @@ + @SET_MAKE@ + + %.o: %.c +- $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@ ++ $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@ -static + %.o: %.cpp +- $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@ ++ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@ -static + + %: %.o +- $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \ ++ $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ \ + $^ $(OBJS) $(LDFLAGS) -lz ${LIBS} + + include $(srcdir)/deps |