summaryrefslogtreecommitdiff
path: root/packages/libnet
diff options
context:
space:
mode:
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"