From: Jo-Philipp Wich Date: Fri, 6 Aug 2010 00:19:34 +0000 (+0000) Subject: sed: fix compilation on FreeBSD/AMD64 X-Git-Tag: v19.07.0-rc1~29880 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f45be33f1789c7e644046c3ba3bf4c995ae7f401;p=openwrt%2Fstaging%2Fhauke.git sed: fix compilation on FreeBSD/AMD64 SVN-Revision: 22499 --- diff --git a/tools/sed/patches/010-amd64_freebsd_build.patch b/tools/sed/patches/010-amd64_freebsd_build.patch new file mode 100644 index 0000000000..c40cafb1f8 --- /dev/null +++ b/tools/sed/patches/010-amd64_freebsd_build.patch @@ -0,0 +1,12 @@ +--- a/config/config.sub ++++ b/config/config.sub +@@ -380,6 +380,9 @@ case $basic_machine in + amd64) + basic_machine=x86_64-pc + ;; ++ amd64-*) ++ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ++ ;; + amdahl) + basic_machine=580-amdahl + os=-sysv