Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8911883b0b94867241a9788ae31a8a48686b1397

commit 8911883b0b94867241a9788ae31a8a48686b1397
Author: Marius Cirsta <mcir...@frugalware.org>
Date:   Fri Aug 12 02:50:17 2016 +0300

ebtables-2.0.10.4-3-x86_64

* build with no-asneeded to fix crash

diff --git a/source/network-extra/ebtables/05link_with_no-as-needed.patch 
b/source/network-extra/ebtables/05link_with_no-as-needed.patch
new file mode 100644
index 0000000..b4f05bc
--- /dev/null
+++ b/source/network-extra/ebtables/05link_with_no-as-needed.patch
@@ -0,0 +1,11 @@
+--- ebtables-v2.0.10-4/Makefile        2011-12-15 22:02:47.000000000 +0200
++++ ebtables-v2.0.10-4.new/Makefile    2016-08-12 02:47:16.664742460 +0300
+@@ -90,7 +90,7 @@
+       $(CC) -shared $(LDFLAGS) -Wl,-soname,libebtc.so -o libebtc.so -lc 
$(OBJECTS2)
+
+ ebtables: $(OBJECTS) ebtables-standalone.o libebtc.so
+-      $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(LDFLAGS) -o $@ ebtables-standalone.o 
-I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \
++      $(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o 
-I$(KERNEL_INCLUDES) -L. -Lextensions -Wl,--no-as-needed $(EXT_LIBSI) -lebtc \
+       -Wl,-rpath,$(LIBDIR)
+
+ ebtablesu: ebtablesu.c
diff --git a/source/network-extra/ebtables/FrugalBuild 
b/source/network-extra/ebtables/FrugalBuild
index b6a8d21..b991564 100644
--- a/source/network-extra/ebtables/FrugalBuild
+++ b/source/network-extra/ebtables/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=ebtables
pkgver=2.0.10.4
spkgver=`echo $pkgver | sed 's/\(.*\)\./\1-/'`
-pkgrel=2
+pkgrel=3
pkgdesc="Ethernet bridge tables - Linux Ethernet filter for the Linux bridge"
url="http://ebtables.sourceforge.net/";
depends=('glibc')
@@ -13,11 +13,15 @@ license="GPL"
groups=('network-extra')
archs=('i686' 'x86_64')
up2date="Flasttar http://ftp.netfilter.org/pub/ebtables/ | sed 's/v//g;s/_/./g'"
-source=(http://downloads.sourceforge.net/ebtables/ebtables-v${spkgver}.tar.gz)
-sha1sums=('907d3b82329e8fbb7aaaa98049732bd8dab022f9')
+source=(http://downloads.sourceforge.net/ebtables/ebtables-v${spkgver}.tar.gz \
+        05link_with_no-as-needed.patch)
+sha1sums=('907d3b82329e8fbb7aaaa98049732bd8dab022f9' \
+          'aa4e94ec1f3fe0041c8252ee966a5007b27b4082')
_F_cd_path="ebtables-v${spkgver}"
_F_make_opts="CFLAGS='-Wall' MANDIR='/usr/share/man' BINDIR='/usr/sbin'"

+options+=('noasneeded')
+
build() {

Fbuild
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to