diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-03-29 22:39:28 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-03-29 22:39:28 +0000 |
commit | 61e39de60333f2030060706b73ff34df1cb5839e (patch) | |
tree | 0b3694877f13db27680ede06716e91609796d5dc /openwrt/package/fetchmail/patches | |
parent | 25217554dd0c4e5f783559521dd55de04ad3ae51 (diff) |
Add amd64 detection when build host is a x86_64 machine, closes #390
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3553 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/fetchmail/patches')
-rw-r--r-- | openwrt/package/fetchmail/patches/01-amd64_detection.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/openwrt/package/fetchmail/patches/01-amd64_detection.patch b/openwrt/package/fetchmail/patches/01-amd64_detection.patch new file mode 100644 index 0000000000..2db43d1110 --- /dev/null +++ b/openwrt/package/fetchmail/patches/01-amd64_detection.patch @@ -0,0 +1,43 @@ +diff -urN fetchmail-6.2.5/config.sub fetchmail-6.2.5.new/config.sub +--- fetchmail-6.2.5/config.sub 2003-07-17 03:03:20.000000000 +0200 ++++ fetchmail-6.2.5.new/config.sub 2006-03-30 00:36:11.000000000 +0200 +@@ -176,7 +176,7 @@ + | 580 | i960 | h8300 \ + | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \ + | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ +- | hppa64 \ ++ | hppa64 | x86_64 \ + | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \ + | alphaev6[78] \ + | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ +@@ -194,7 +194,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[34567]86) ++ i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. +@@ -209,7 +209,7 @@ + | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ + | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ + | xmp-* | ymp-* \ +- | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ ++ | x86-* | x86_64-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \ + | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ + | hppa2.0n-* | hppa64-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \ +@@ -256,6 +256,12 @@ + basic_machine=a29k-none + os=-bsd + ;; ++ amd64) ++ basic_machine=x86_64-pc ++ ;; ++ amd64-*) ++ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ++ ;; + amdahl) + basic_machine=580-amdahl + os=-sysv |