libnet 1.1.2.1: Fix build errors that appeared when building with the
authorJamie Lenehan <lenehan@twibble.org>
Sat, 11 Aug 2007 12:07:19 +0000 (12:07 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Sat, 11 Aug 2007 12:07:19 +0000 (12:07 +0000)
updated autotools.

packages/libnet/libnet-1.1.2.1/new-autotools.patch [new file with mode: 0644]
packages/libnet/libnet_1.1.2.1.bb

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 (file)
index 0000000..064413e
--- /dev/null
@@ -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@
index f9464ae..2dc6e71 100644 (file)
@@ -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"