From: Alexis Maldonado Date: Sun, 22 Apr 2007 14:32:20 +0000 (+0000) Subject: libnet: fix building for x86_64 - close #2094 X-Git-Tag: Release-2010-05/1~8868^2~667^2~4^2^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ccb0bf419d07dd2985d7b84da1231c9d1580cc;p=openembedded.git libnet: fix building for x86_64 - close #2094 --- 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"