diff options
author | Peter Volkov <pva@gentoo.org> | 2009-01-31 16:20:26 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-01-31 16:20:26 +0000 |
commit | 974ca990e7832b86e7e09dfb7055d51dd6ae765e (patch) | |
tree | eb4ce363bfb14c0d8b107aaeb5e182c54692d889 /net-firewall/ipset/files | |
parent | Fixed build problem with gcc-4.3, bug #256669, thank cilly for report and fix. (diff) | |
download | gentoo-2-974ca990e7832b86e7e09dfb7055d51dd6ae765e.tar.gz gentoo-2-974ca990e7832b86e7e09dfb7055d51dd6ae765e.tar.bz2 gentoo-2-974ca990e7832b86e7e09dfb7055d51dd6ae765e.zip |
Version bump. Respect LDFLAGS, #246016, thank Olivier Huber. Probably fixes compatibility issue with 2.6.28, #254207, thank Jochen Schlick.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'net-firewall/ipset/files')
-rw-r--r-- | net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch b/net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch new file mode 100644 index 000000000000..9f8bcaf9e22f --- /dev/null +++ b/net-firewall/ipset/files/ipset-2.4.7-LDFLAGS.patch @@ -0,0 +1,21 @@ +=== modified file 'Makefile' +--- Makefile 2009-01-30 16:53:06 +0000 ++++ Makefile 2009-01-30 20:13:44 +0000 +@@ -105,14 +105,14 @@ + $(CC) $(CFLAGS) -DIPSET_VERSION=\"$(IPSET_VERSION)\" -DIPSET_LIB_DIR=\"$(IPSET_LIB_DIR)\" -c -o $@ $< + + ipset: ipset.o +- $(CC) $(CFLAGS) -rdynamic -o $@ $^ -ldl ++ $(CC) $(CFLAGS) $(LDFLAGS) -rdynamic -o $@ $^ -ldl + + #Pooltypes + ipset_%.o: ipset_%.c ipset.h + $(CC) $(SH_CFLAGS) -o $@ -c $< + + libipset_%.so: ipset_%.o +- $(CC) -shared -o $@ $< ++ $(CC) -shared $(LDFLAGS) -o $@ $< + + $(DESTDIR)$(LIBDIR)/ipset/libipset_%.so: libipset_%.so + @[ -d $(DESTDIR)$(LIBDIR)/ipset ] || mkdir -p $(DESTDIR)$(LIBDIR)/ipset + |