libnet: fix building for x86_64 - close #2094
authorAlexis Maldonado <maldonad@cs.tum.edu>
Sun, 22 Apr 2007 14:32:20 +0000 (14:32 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Sun, 22 Apr 2007 14:32:20 +0000 (14:32 +0000)
packages/libnet/libnet-1.0.2a/configure_x86-64-host.patch [new file with mode: 0644]
packages/libnet/libnet_1.0.2a.bb

diff --git a/packages/libnet/libnet-1.0.2a/configure_x86-64-host.patch b/packages/libnet/libnet-1.0.2a/configure_x86-64-host.patch
new file mode 100644 (file)
index 0000000..69ec07c
--- /dev/null
@@ -0,0 +1,11 @@
+--- Libnet-1.0.2a/config.sub~  2007-04-07 22:00:37.000000000 +0200
++++ Libnet-1.0.2a/config.sub   2007-04-07 22:00:37.000000000 +0200
+@@ -161,7 +161,7 @@
+       # We use `pc' rather than `unknown'
+       # because (1) that's what they normally are, and
+       # (2) the word "unknown" tends to confuse beginning users.
+-      i[3456]86)
++      i[3456]86 | x86_64)
+         basic_machine=$basic_machine-pc
+         ;;
+       # Object if more than one company name word.
index c4e4396..c633327 100644 (file)
@@ -13,6 +13,7 @@ PROVIDES = "libnet-1.0"
 SRC_URI = "${DEBIAN_MIRROR}/main/libn/libnet0/libnet0_${PV}.orig.tar.gz \
           file://configure.patch;patch=1 \
           file://configure.uclibc.patch;patch=1 \
+          file://configure_x86-64-host.patch;patch=1 \
           "
 S = "${WORKDIR}/libnet-${PV}.orig"