~jderose/ubuntu/raring/python3.3/fix-1131183

« back to all changes in this revision

Viewing changes to debian/patches/config-update.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-01-26 15:47:17 UTC
  • Revision ID: package-import@ubuntu.com-20130126154717-9mu2ob20tnuxbkok
Tags: 3.3.0-10ubuntu1
* Merge with Debian; remaining changes:
  - Build-depend on python3:any instead of python3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: b/Modules/_ctypes/libffi/config.guess
 
2
===================================================================
 
3
--- a/Modules/_ctypes/libffi/config.guess
 
4
+++ b/Modules/_ctypes/libffi/config.guess
 
5
@@ -2,9 +2,9 @@
 
6
 # Attempt to guess a canonical system name.
 
7
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
8
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
9
-#   2011 Free Software Foundation, Inc.
 
10
+#   2011, 2012 Free Software Foundation, Inc.
 
11
 
 
12
-timestamp='2011-06-03'
 
13
+timestamp='2012-02-10'
 
14
 
 
15
 # This file is free software; you can redistribute it and/or modify it
 
16
 # under the terms of the GNU General Public License as published by
 
17
@@ -17,9 +17,7 @@
 
18
 # General Public License for more details.
 
19
 #
 
20
 # You should have received a copy of the GNU General Public License
 
21
-# along with this program; if not, write to the Free Software
 
22
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
23
-# 02110-1301, USA.
 
24
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 
25
 #
 
26
 # As a special exception to the GNU General Public License, if you
 
27
 # distribute this file as part of a program that contains a
 
28
@@ -57,8 +55,8 @@
 
29
 
 
30
 Originally written by Per Bothner.
 
31
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 
32
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 
33
-Software Foundation, Inc.
 
34
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
 
35
+Free Software Foundation, Inc.
 
36
 
 
37
 This is free software; see the source for copying conditions.  There is NO
 
38
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
39
@@ -145,7 +143,7 @@
 
40
 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 
41
     *:NetBSD:*:*)
 
42
        # NetBSD (nbsd) targets should (where applicable) match one or
 
43
-       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
 
44
+       # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
 
45
        # *-*-netbsdecoff* and *-*-netbsd*.  For targets that recently
 
46
        # switched to ELF, *-*-netbsd* would select the old
 
47
        # object file format.  This provides both forward
 
48
@@ -792,13 +790,12 @@
 
49
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
 
50
        exit ;;
 
51
     *:FreeBSD:*:*)
 
52
-       case ${UNAME_MACHINE} in
 
53
-           pc98)
 
54
-               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
55
+       UNAME_PROCESSOR=`/usr/bin/uname -p`
 
56
+       case ${UNAME_PROCESSOR} in
 
57
            amd64)
 
58
                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
59
            *)
 
60
-               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
61
+               echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
 
62
        esac
 
63
        exit ;;
 
64
     i*:CYGWIN*:*)
 
65
@@ -807,6 +804,9 @@
 
66
     *:MINGW*:*)
 
67
        echo ${UNAME_MACHINE}-pc-mingw32
 
68
        exit ;;
 
69
+    i*:MSYS*:*)
 
70
+       echo ${UNAME_MACHINE}-pc-msys
 
71
+       exit ;;
 
72
     i*:windows32*:*)
 
73
        # uname -m includes "-pc" on this system.
 
74
        echo ${UNAME_MACHINE}-mingw32
 
75
@@ -861,6 +861,13 @@
 
76
     i*86:Minix:*:*)
 
77
        echo ${UNAME_MACHINE}-pc-minix
 
78
        exit ;;
 
79
+    aarch64:Linux:*:*)
 
80
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
81
+       exit ;;
 
82
+    aarch64_be:Linux:*:*)
 
83
+       UNAME_MACHINE=aarch64_be
 
84
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
85
+       exit ;;
 
86
     alpha:Linux:*:*)
 
87
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 
88
          EV5)   UNAME_MACHINE=alphaev5 ;;
 
89
@@ -895,13 +902,16 @@
 
90
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
91
        exit ;;
 
92
     cris:Linux:*:*)
 
93
-       echo cris-axis-linux-gnu
 
94
+       echo ${UNAME_MACHINE}-axis-linux-gnu
 
95
        exit ;;
 
96
     crisv32:Linux:*:*)
 
97
-       echo crisv32-axis-linux-gnu
 
98
+       echo ${UNAME_MACHINE}-axis-linux-gnu
 
99
        exit ;;
 
100
     frv:Linux:*:*)
 
101
-       echo frv-unknown-linux-gnu
 
102
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
103
+       exit ;;
 
104
+    hexagon:Linux:*:*)
 
105
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
106
        exit ;;
 
107
     i*86:Linux:*:*)
 
108
        LIBC=gnu
 
109
@@ -943,7 +953,7 @@
 
110
        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 
111
        ;;
 
112
     or32:Linux:*:*)
 
113
-       echo or32-unknown-linux-gnu
 
114
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
115
        exit ;;
 
116
     padre:Linux:*:*)
 
117
        echo sparc-unknown-linux-gnu
 
118
@@ -984,7 +994,7 @@
 
119
        echo ${UNAME_MACHINE}-dec-linux-gnu
 
120
        exit ;;
 
121
     x86_64:Linux:*:*)
 
122
-       echo x86_64-unknown-linux-gnu
 
123
+       echo ${UNAME_MACHINE}-unknown-linux-gnu
 
124
        exit ;;
 
125
     xtensa*:Linux:*:*)
 
126
        echo ${UNAME_MACHINE}-unknown-linux-gnu
 
127
@@ -1315,6 +1325,9 @@
 
128
     i*86:AROS:*:*)
 
129
        echo ${UNAME_MACHINE}-pc-aros
 
130
        exit ;;
 
131
+    x86_64:VMkernel:*:*)
 
132
+       echo ${UNAME_MACHINE}-unknown-esx
 
133
+       exit ;;
 
134
 esac
 
135
 
 
136
 #echo '(No uname command or uname output not recognized.)' 1>&2
 
137
Index: b/Modules/_ctypes/libffi/config.sub
 
138
===================================================================
 
139
--- a/Modules/_ctypes/libffi/config.sub
 
140
+++ b/Modules/_ctypes/libffi/config.sub
 
141
@@ -2,9 +2,9 @@
 
142
 # Configuration validation subroutine script.
 
143
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
 
144
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
145
-#   2011 Free Software Foundation, Inc.
 
146
+#   2011, 2012 Free Software Foundation, Inc.
 
147
 
 
148
-timestamp='2011-10-29'
 
149
+timestamp='2012-04-18'
 
150
 
 
151
 # This file is (in principle) common to ALL GNU software.
 
152
 # The presence of a machine in this file suggests that SOME GNU software
 
153
@@ -21,9 +21,7 @@
 
154
 # GNU General Public License for more details.
 
155
 #
 
156
 # You should have received a copy of the GNU General Public License
 
157
-# along with this program; if not, write to the Free Software
 
158
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
 
159
-# 02110-1301, USA.
 
160
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
 
161
 #
 
162
 # As a special exception to the GNU General Public License, if you
 
163
 # distribute this file as part of a program that contains a
 
164
@@ -76,8 +74,8 @@
 
165
 GNU config.sub ($timestamp)
 
166
 
 
167
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
 
168
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 
169
-Software Foundation, Inc.
 
170
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
 
171
+Free Software Foundation, Inc.
 
172
 
 
173
 This is free software; see the source for copying conditions.  There is NO
 
174
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
 
175
@@ -132,6 +130,10 @@
 
176
     os=-$maybe_os
 
177
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
 
178
     ;;
 
179
+  android-linux)
 
180
+    os=-linux-android
 
181
+    basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
 
182
+    ;;
 
183
   *)
 
184
     basic_machine=`echo $1 | sed 's/-[^-]*$//'`
 
185
     if [ $basic_machine != $1 ]
 
186
@@ -223,6 +225,12 @@
 
187
        -isc*)
 
188
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
189
                ;;
 
190
+       -lynx*178)
 
191
+               os=-lynxos178
 
192
+               ;;
 
193
+       -lynx*5)
 
194
+               os=-lynxos5
 
195
+               ;;
 
196
        -lynx*)
 
197
                os=-lynxos
 
198
                ;;
 
199
@@ -247,6 +255,7 @@
 
200
        # Some are omitted here because they have special meanings below.
 
201
        1750a | 580 \
 
202
        | a29k \
 
203
+       | aarch64 | aarch64_be \
 
204
        | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 
205
        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 
206
        | am33_2.0 \
 
207
@@ -319,8 +328,7 @@
 
208
        c6x)
 
209
                basic_machine=tic6x-unknown
 
210
                ;;
 
211
-       m6811 | m68hc11 | m6812 | m68hc12 | picochip)
 
212
-               # Motorola 68HC11/12.
 
213
+       m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
 
214
                basic_machine=$basic_machine-unknown
 
215
                os=-none
 
216
                ;;
 
217
@@ -333,7 +341,10 @@
 
218
        strongarm | thumb | xscale)
 
219
                basic_machine=arm-unknown
 
220
                ;;
 
221
-
 
222
+       xgate)
 
223
+               basic_machine=$basic_machine-unknown
 
224
+               os=-none
 
225
+               ;;
 
226
        xscaleeb)
 
227
                basic_machine=armeb-unknown
 
228
                ;;
 
229
@@ -356,6 +367,7 @@
 
230
        # Recognize the basic CPU types with company name.
 
231
        580-* \
 
232
        | a29k-* \
 
233
+       | aarch64-* | aarch64_be-* \
 
234
        | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 
235
        | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 
236
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
 
237
@@ -719,7 +731,6 @@
 
238
        i370-ibm* | ibm*)
 
239
                basic_machine=i370-ibm
 
240
                ;;
 
241
-# I'm not sure what "Sysv32" means.  Should this be sysv3.2?
 
242
        i*86v32)
 
243
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
 
244
                os=-sysv32
 
245
@@ -816,6 +827,10 @@
 
246
        ms1-*)
 
247
                basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
 
248
                ;;
 
249
+       msys)
 
250
+               basic_machine=i386-pc
 
251
+               os=-msys
 
252
+               ;;
 
253
        mvs)
 
254
                basic_machine=i370-ibm
 
255
                os=-mvs
 
256
@@ -1343,7 +1358,7 @@
 
257
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 
258
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
 
259
              | -chorusos* | -chorusrdb* | -cegcc* \
 
260
-             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
261
+             | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
 
262
              | -mingw32* | -linux-gnu* | -linux-android* \
 
263
              | -linux-newlib* | -linux-uclibc* \
 
264
              | -uxpv* | -beos* | -mpeix* | -udk* \
 
265
@@ -1528,6 +1543,9 @@
 
266
        c4x-* | tic4x-*)
 
267
                os=-coff
 
268
                ;;
 
269
+       hexagon-*)
 
270
+               os=-elf
 
271
+               ;;
 
272
        tic54x-*)
 
273
                os=-coff
 
274
                ;;
 
275
@@ -1555,9 +1573,6 @@
 
276
                ;;
 
277
        m68000-sun)
 
278
                os=-sunos3
 
279
-               # This also exists in the configure program, but was not the
 
280
-               # default.
 
281
-               # os=-sunos4
 
282
                ;;
 
283
        m68*-cisco)
 
284
                os=-aout
 
285
Index: b/config.sub
 
286
===================================================================
 
287
--- a/config.sub
 
288
+++ b/config.sub
 
289
@@ -4,7 +4,7 @@
 
290
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
 
291
 #   2011, 2012 Free Software Foundation, Inc.
 
292
 
 
293
-timestamp='2012-02-10'
 
294
+timestamp='2012-04-18'
 
295
 
 
296
 # This file is (in principle) common to ALL GNU software.
 
297
 # The presence of a machine in this file suggests that SOME GNU software
 
298
@@ -225,6 +225,12 @@
 
299
        -isc*)
 
300
                basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 
301
                ;;
 
302
+       -lynx*178)
 
303
+               os=-lynxos178
 
304
+               ;;
 
305
+       -lynx*5)
 
306
+               os=-lynxos5
 
307
+               ;;
 
308
        -lynx*)
 
309
                os=-lynxos
 
310
                ;;
 
311
@@ -1537,6 +1543,9 @@
 
312
        c4x-* | tic4x-*)
 
313
                os=-coff
 
314
                ;;
 
315
+       hexagon-*)
 
316
+               os=-elf
 
317
+               ;;
 
318
        tic54x-*)
 
319
                os=-coff
 
320
                ;;