aboutsummaryrefslogtreecommitdiffstats
path: root/packages/libnet
diff options
context:
space:
mode:
authorAlexis Maldonado <maldonad@cs.tum.edu>2007-04-22 14:32:20 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-04-22 14:32:20 +0000
commit41ccb0bf419d07dd2985d7b84da1231c9d1580cc (patch)
treeff6830f751c05056978bbbf04c6d1889d35da471 /packages/libnet
parent6a7c1a204eedc618616ac7c2a0b1d88b5f4e7274 (diff)
downloadopenembedded-41ccb0bf419d07dd2985d7b84da1231c9d1580cc.tar.gz
libnet: fix building for x86_64 - close #2094
Diffstat (limited to 'packages/libnet')
-rw-r--r--packages/libnet/libnet-1.0.2a/configure_x86-64-host.patch11
-rw-r--r--packages/libnet/libnet_1.0.2a.bb1
2 files changed, 12 insertions, 0 deletions
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
index 0000000000..69ec07c2e3
--- /dev/null
+++ b/packages/libnet/libnet-1.0.2a/configure_x86-64-host.patch
@@ -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.
diff --git a/packages/libnet/libnet_1.0.2a.bb b/packages/libnet/libnet_1.0.2a.bb
index c4e4396e1a..c633327181 100644
--- a/packages/libnet/libnet_1.0.2a.bb
+++ b/packages/libnet/libnet_1.0.2a.bb
@@ -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"