summaryrefslogtreecommitdiff
path: root/packages/libnet
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-08-11 12:07:19 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-08-11 12:07:19 +0000
commit5480228b8a103559754b97c5a07142bae836814e (patch)
tree3a50952631222bed295e70e40c84311c02bf9d6f /packages/libnet
parent9c4d99e7e3bb8c760a26379a255ff36ab8764bd5 (diff)
libnet 1.1.2.1: Fix build errors that appeared when building with the
updated autotools.
Diffstat (limited to 'packages/libnet')
-rw-r--r--packages/libnet/libnet-1.1.2.1/new-autotools.patch20
-rw-r--r--packages/libnet/libnet_1.1.2.1.bb5
2 files changed, 23 insertions, 2 deletions
diff --git a/packages/libnet/libnet-1.1.2.1/new-autotools.patch b/packages/libnet/libnet-1.1.2.1/new-autotools.patch
new file mode 100644
index 0000000000..064413e4ee
--- /dev/null
+++ b/packages/libnet/libnet-1.1.2.1/new-autotools.patch
@@ -0,0 +1,20 @@
+Index: libnet/src/Makefile.am
+===================================================================
+--- libnet.orig/src/Makefile.am 2004-03-12 05:50:20.000000000 +1100
++++ libnet/src/Makefile.am 2007-08-11 16:41:09.000000000 +1000
+@@ -57,15 +57,5 @@
+ libnet_version.c \
+ libnet_write.c
+
+-EXTRA_libnet_a_SOURCES = libnet_link_bpf.c \
+- libnet_link_dlpi.c \
+- libnet_link_linux.c \
+- libnet_link_nit.c \
+- libnet_link_none.c \
+- libnet_link_pf.c \
+- libnet_link_snit.c \
+- libnet_link_snoop.c \
+- libnet_link_win32.c
+-
+ libnet_a_LIBADD = @LIBOBJS@
+
diff --git a/packages/libnet/libnet_1.1.2.1.bb b/packages/libnet/libnet_1.1.2.1.bb
index f9464ae8bb..2dc6e713f9 100644
--- a/packages/libnet/libnet_1.1.2.1.bb
+++ b/packages/libnet/libnet_1.1.2.1.bb
@@ -6,11 +6,12 @@ LICENSE = "BSD"
DEPENDS = "libpcap"
# There are major API changes beween libnet v1.0 and libnet v1.1
PROVIDES = "libnet-1.1"
-PR = "r1"
+PR = "r2"
SRC_URI = "${DEBIAN_MIRROR}/main/libn/libnet/libnet_${PV}.orig.tar.gz \
file://support-uclibc.patch;patch=1 \
- file://fix-endianess-test.patch;patch=1"
+ file://fix-endianess-test.patch;patch=1 \
+ file://new-autotools.patch;patch=1"
S = "${WORKDIR}/libnet"