fix compiling on avr32
authorTravis Kemen <thepeople@openwrt.org>
Fri, 25 Apr 2008 13:59:26 +0000 (13:59 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Fri, 25 Apr 2008 13:59:26 +0000 (13:59 +0000)
SVN-Revision: 10936

libs/libreadline/patches/100-fix_avr32_compile [new file with mode: 0644]

diff --git a/libs/libreadline/patches/100-fix_avr32_compile b/libs/libreadline/patches/100-fix_avr32_compile
new file mode 100644 (file)
index 0000000..213b15c
--- /dev/null
@@ -0,0 +1,20 @@
+--- readline-5.1/support/config.sub.orig       2008-04-25 08:48:01.000000000 -0500
++++ readline-5.1/support/config.sub    2008-04-25 08:48:59.000000000 -0500
+@@ -228,7 +228,7 @@
+       | a29k \
+       | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+       | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+-      | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
++      | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+       | clipper \
+       | d10v | d30v | dlx | dsp16xx \
+       | fr30 | frv \
+@@ -293,7 +293,7 @@
+       | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+       | amd64-* \
+       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
+-      | avr-* \
++      | avr-* | avr32-* \
+       | bs2000-* \
+       | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
+       | clipper-* | cydra-* \