From 41ccb0bf419d07dd2985d7b84da1231c9d1580cc Mon Sep 17 00:00:00 2001 From: Alexis Maldonado Date: Sun, 22 Apr 2007 14:32:20 +0000 Subject: libnet: fix building for x86_64 - close #2094 --- packages/libnet/libnet-1.0.2a/configure_x86-64-host.patch | 11 +++++++++++ packages/libnet/libnet_1.0.2a.bb | 1 + 2 files changed, 12 insertions(+) create mode 100644 packages/libnet/libnet-1.0.2a/configure_x86-64-host.patch (limited to 'packages/libnet') 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" -- cgit v1.2.3