[packages] move packages to a new 'mail' section, cleanup
[openwrt/svn-archive/archive.git] / mail / fetchmail / patches / 001-amd64_detection.patch
1 diff -urN fetchmail-6.2.5/config.sub fetchmail-6.2.5.new/config.sub
2 --- fetchmail-6.2.5/config.sub 2003-07-17 03:03:20.000000000 +0200
3 +++ fetchmail-6.2.5.new/config.sub 2006-03-30 00:36:11.000000000 +0200
4 @@ -176,7 +176,7 @@
5 | 580 | i960 | h8300 \
6 | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle \
7 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \
8 - | hppa64 \
9 + | hppa64 | x86_64 \
10 | alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
11 | alphaev6[78] \
12 | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
13 @@ -194,7 +194,7 @@
14 # We use `pc' rather than `unknown'
15 # because (1) that's what they normally are, and
16 # (2) the word "unknown" tends to confuse beginning users.
17 - i[34567]86)
18 + i*86 | x86_64)
19 basic_machine=$basic_machine-pc
20 ;;
21 # Object if more than one company name word.
22 @@ -209,7 +209,7 @@
23 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
24 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \
25 | xmp-* | ymp-* \
26 - | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
27 + | x86-* | x86_64-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-* \
28 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \
29 | hppa2.0n-* | hppa64-* \
30 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphapca5[67]-* \
31 @@ -256,6 +256,12 @@
32 basic_machine=a29k-none
33 os=-bsd
34 ;;
35 + amd64)
36 + basic_machine=x86_64-pc
37 + ;;
38 + amd64-*)
39 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
40 + ;;
41 amdahl)
42 basic_machine=580-amdahl
43 os=-sysv