Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mail-notification/, mail-client/mail-notification/files/
Date: Sun, 15 Oct 2017 12:36:33
Message-Id: 1508070958.148e5607dd4ff0ed7657bb6f5ed9d98cc1f5b789.mgorny@gentoo
1 commit: 148e5607dd4ff0ed7657bb6f5ed9d98cc1f5b789
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 12:14:46 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 15 12:35:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148e5607
7
8 mail-client/mail-notification: Remove stray aarch64 patch
9
10 Remove the huge aarch64 patch which is both incorrect and seems to serve
11 no purpose. The patch updates generated configure files instead of
12 letting the ebuild regenerate them. Furthermore, the package was never
13 keyworded for arm64.
14
15 Closes: https://bugs.gentoo.org/620580
16
17 .../files/mail-notification-aarch64.patch | 1629 --------------------
18 .../mail-notification-5.4-r10.ebuild | 4 +-
19 2 files changed, 1 insertion(+), 1632 deletions(-)
20
21 diff --git a/mail-client/mail-notification/files/mail-notification-aarch64.patch b/mail-client/mail-notification/files/mail-notification-aarch64.patch
22 deleted file mode 100644
23 index e0957715b4b..00000000000
24 --- a/mail-client/mail-notification/files/mail-notification-aarch64.patch
25 +++ /dev/null
26 @@ -1,1629 +0,0 @@
27 -diff -urN epienbroek-mail-notification-eab5c13/jbsrc/tools/config.guess epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.guess
28 ---- epienbroek-mail-notification-eab5c13/jbsrc/tools/config.guess 2012-11-21 12:57:35.000000000 -0600
29 -+++ epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.guess 2013-03-08 02:14:30.621645440 -0600
30 -@@ -1,10 +1,10 @@
31 - #! /bin/sh
32 - # Attempt to guess a canonical system name.
33 - # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
34 --# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
35 --# Inc.
36 -+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
37 -+# 2011, 2012 Free Software Foundation, Inc.
38 -
39 --timestamp='2007-07-22'
40 -+timestamp='2012-09-25'
41 -
42 - # This file is free software; you can redistribute it and/or modify it
43 - # under the terms of the GNU General Public License as published by
44 -@@ -17,9 +17,7 @@
45 - # General Public License for more details.
46 - #
47 - # You should have received a copy of the GNU General Public License
48 --# along with this program; if not, write to the Free Software
49 --# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
50 --# 02110-1301, USA.
51 -+# along with this program; if not, see <http://www.gnu.org/licenses/>.
52 - #
53 - # As a special exception to the GNU General Public License, if you
54 - # distribute this file as part of a program that contains a
55 -@@ -27,16 +25,16 @@
56 - # the same distribution terms that you use for the rest of that program.
57 -
58 -
59 --# Originally written by Per Bothner <per@×××××××.com>.
60 --# Please send patches to <config-patches@×××.org>. Submit a context
61 --# diff and a properly formatted ChangeLog entry.
62 -+# Originally written by Per Bothner. Please send patches (context
63 -+# diff format) to <config-patches@×××.org> and include a ChangeLog
64 -+# entry.
65 - #
66 - # This script attempts to guess a canonical system name similar to
67 - # config.sub. If it succeeds, it prints the system name on stdout, and
68 - # exits with 0. Otherwise, it exits with 1.
69 - #
70 --# The plan is that this can be called by configure scripts if you
71 --# don't specify an explicit build system type.
72 -+# You can get the latest version of this script from:
73 -+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
74 -
75 - me=`echo "$0" | sed -e 's,.*/,,'`
76 -
77 -@@ -56,7 +54,8 @@
78 - GNU config.guess ($timestamp)
79 -
80 - Originally written by Per Bothner.
81 --Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
82 -+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
83 -+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
84 - Free Software Foundation, Inc.
85 -
86 - This is free software; see the source for copying conditions. There is NO
87 -@@ -144,7 +143,7 @@
88 - case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
89 - *:NetBSD:*:*)
90 - # NetBSD (nbsd) targets should (where applicable) match one or
91 -- # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
92 -+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
93 - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
94 - # switched to ELF, *-*-netbsd* would select the old
95 - # object file format. This provides both forward
96 -@@ -170,7 +169,7 @@
97 - arm*|i386|m68k|ns32k|sh3*|sparc|vax)
98 - eval $set_cc_for_build
99 - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
100 -- | grep __ELF__ >/dev/null
101 -+ | grep -q __ELF__
102 - then
103 - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
104 - # Return netbsd for either. FIX?
105 -@@ -180,7 +179,7 @@
106 - fi
107 - ;;
108 - *)
109 -- os=netbsd
110 -+ os=netbsd
111 - ;;
112 - esac
113 - # The OS release
114 -@@ -201,6 +200,10 @@
115 - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
116 - echo "${machine}-${os}${release}"
117 - exit ;;
118 -+ *:Bitrig:*:*)
119 -+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
120 -+ echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
121 -+ exit ;;
122 - *:OpenBSD:*:*)
123 - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
124 - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
125 -@@ -223,7 +226,7 @@
126 - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
127 - ;;
128 - *5.*)
129 -- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
130 -+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
131 - ;;
132 - esac
133 - # According to Compaq, /usr/sbin/psrinfo has been available on
134 -@@ -269,7 +272,10 @@
135 - # A Xn.n version is an unreleased experimental baselevel.
136 - # 1.2 uses "1.2" for uname -r.
137 - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
138 -- exit ;;
139 -+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
140 -+ exitcode=$?
141 -+ trap '' 0
142 -+ exit $exitcode ;;
143 - Alpha\ *:Windows_NT*:*)
144 - # How do we know it's Interix rather than the generic POSIX subsystem?
145 - # Should we change UNAME_MACHINE based on the output of uname instead
146 -@@ -295,12 +301,12 @@
147 - echo s390-ibm-zvmoe
148 - exit ;;
149 - *:OS400:*:*)
150 -- echo powerpc-ibm-os400
151 -+ echo powerpc-ibm-os400
152 - exit ;;
153 - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
154 - echo arm-acorn-riscix${UNAME_RELEASE}
155 - exit ;;
156 -- arm:riscos:*:*|arm:RISCOS:*:*)
157 -+ arm*:riscos:*:*|arm*:RISCOS:*:*)
158 - echo arm-unknown-riscos
159 - exit ;;
160 - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
161 -@@ -324,14 +330,33 @@
162 - case `/usr/bin/uname -p` in
163 - sparc) echo sparc-icl-nx7; exit ;;
164 - esac ;;
165 -+ s390x:SunOS:*:*)
166 -+ echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
167 -+ exit ;;
168 - sun4H:SunOS:5.*:*)
169 - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
170 - exit ;;
171 - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
172 - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
173 - exit ;;
174 -+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
175 -+ echo i386-pc-auroraux${UNAME_RELEASE}
176 -+ exit ;;
177 - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
178 -- echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
179 -+ eval $set_cc_for_build
180 -+ SUN_ARCH="i386"
181 -+ # If there is a compiler, see if it is configured for 64-bit objects.
182 -+ # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
183 -+ # This test works for both compilers.
184 -+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
185 -+ if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
186 -+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
187 -+ grep IS_64BIT_ARCH >/dev/null
188 -+ then
189 -+ SUN_ARCH="x86_64"
190 -+ fi
191 -+ fi
192 -+ echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
193 - exit ;;
194 - sun4*:SunOS:6*:*)
195 - # According to config.sub, this is the proper way to canonicalize
196 -@@ -375,23 +400,23 @@
197 - # MiNT. But MiNT is downward compatible to TOS, so this should
198 - # be no problem.
199 - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
200 -- echo m68k-atari-mint${UNAME_RELEASE}
201 -+ echo m68k-atari-mint${UNAME_RELEASE}
202 - exit ;;
203 - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
204 - echo m68k-atari-mint${UNAME_RELEASE}
205 -- exit ;;
206 -+ exit ;;
207 - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
208 -- echo m68k-atari-mint${UNAME_RELEASE}
209 -+ echo m68k-atari-mint${UNAME_RELEASE}
210 - exit ;;
211 - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
212 -- echo m68k-milan-mint${UNAME_RELEASE}
213 -- exit ;;
214 -+ echo m68k-milan-mint${UNAME_RELEASE}
215 -+ exit ;;
216 - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
217 -- echo m68k-hades-mint${UNAME_RELEASE}
218 -- exit ;;
219 -+ echo m68k-hades-mint${UNAME_RELEASE}
220 -+ exit ;;
221 - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
222 -- echo m68k-unknown-mint${UNAME_RELEASE}
223 -- exit ;;
224 -+ echo m68k-unknown-mint${UNAME_RELEASE}
225 -+ exit ;;
226 - m68k:machten:*:*)
227 - echo m68k-apple-machten${UNAME_RELEASE}
228 - exit ;;
229 -@@ -461,8 +486,8 @@
230 - echo m88k-motorola-sysv3
231 - exit ;;
232 - AViiON:dgux:*:*)
233 -- # DG/UX returns AViiON for all architectures
234 -- UNAME_PROCESSOR=`/usr/bin/uname -p`
235 -+ # DG/UX returns AViiON for all architectures
236 -+ UNAME_PROCESSOR=`/usr/bin/uname -p`
237 - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
238 - then
239 - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
240 -@@ -475,7 +500,7 @@
241 - else
242 - echo i586-dg-dgux${UNAME_RELEASE}
243 - fi
244 -- exit ;;
245 -+ exit ;;
246 - M88*:DolphinOS:*:*) # DolphinOS (SVR3)
247 - echo m88k-dolphin-sysv3
248 - exit ;;
249 -@@ -532,7 +557,7 @@
250 - echo rs6000-ibm-aix3.2
251 - fi
252 - exit ;;
253 -- *:AIX:*:[45])
254 -+ *:AIX:*:[4567])
255 - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
256 - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
257 - IBM_ARCH=rs6000
258 -@@ -575,52 +600,52 @@
259 - 9000/[678][0-9][0-9])
260 - if [ -x /usr/bin/getconf ]; then
261 - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
262 -- sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
263 -- case "${sc_cpu_version}" in
264 -- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
265 -- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
266 -- 532) # CPU_PA_RISC2_0
267 -- case "${sc_kernel_bits}" in
268 -- 32) HP_ARCH="hppa2.0n" ;;
269 -- 64) HP_ARCH="hppa2.0w" ;;
270 -+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
271 -+ case "${sc_cpu_version}" in
272 -+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
273 -+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
274 -+ 532) # CPU_PA_RISC2_0
275 -+ case "${sc_kernel_bits}" in
276 -+ 32) HP_ARCH="hppa2.0n" ;;
277 -+ 64) HP_ARCH="hppa2.0w" ;;
278 - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
279 -- esac ;;
280 -- esac
281 -+ esac ;;
282 -+ esac
283 - fi
284 - if [ "${HP_ARCH}" = "" ]; then
285 - eval $set_cc_for_build
286 -- sed 's/^ //' << EOF >$dummy.c
287 -+ sed 's/^ //' << EOF >$dummy.c
288 -
289 -- #define _HPUX_SOURCE
290 -- #include <stdlib.h>
291 -- #include <unistd.h>
292 --
293 -- int main ()
294 -- {
295 -- #if defined(_SC_KERNEL_BITS)
296 -- long bits = sysconf(_SC_KERNEL_BITS);
297 -- #endif
298 -- long cpu = sysconf (_SC_CPU_VERSION);
299 --
300 -- switch (cpu)
301 -- {
302 -- case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
303 -- case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
304 -- case CPU_PA_RISC2_0:
305 -- #if defined(_SC_KERNEL_BITS)
306 -- switch (bits)
307 -- {
308 -- case 64: puts ("hppa2.0w"); break;
309 -- case 32: puts ("hppa2.0n"); break;
310 -- default: puts ("hppa2.0"); break;
311 -- } break;
312 -- #else /* !defined(_SC_KERNEL_BITS) */
313 -- puts ("hppa2.0"); break;
314 -- #endif
315 -- default: puts ("hppa1.0"); break;
316 -- }
317 -- exit (0);
318 -- }
319 -+ #define _HPUX_SOURCE
320 -+ #include <stdlib.h>
321 -+ #include <unistd.h>
322 -+
323 -+ int main ()
324 -+ {
325 -+ #if defined(_SC_KERNEL_BITS)
326 -+ long bits = sysconf(_SC_KERNEL_BITS);
327 -+ #endif
328 -+ long cpu = sysconf (_SC_CPU_VERSION);
329 -+
330 -+ switch (cpu)
331 -+ {
332 -+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
333 -+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
334 -+ case CPU_PA_RISC2_0:
335 -+ #if defined(_SC_KERNEL_BITS)
336 -+ switch (bits)
337 -+ {
338 -+ case 64: puts ("hppa2.0w"); break;
339 -+ case 32: puts ("hppa2.0n"); break;
340 -+ default: puts ("hppa2.0"); break;
341 -+ } break;
342 -+ #else /* !defined(_SC_KERNEL_BITS) */
343 -+ puts ("hppa2.0"); break;
344 -+ #endif
345 -+ default: puts ("hppa1.0"); break;
346 -+ }
347 -+ exit (0);
348 -+ }
349 - EOF
350 - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
351 - test -z "$HP_ARCH" && HP_ARCH=hppa
352 -@@ -640,7 +665,7 @@
353 - # => hppa64-hp-hpux11.23
354 -
355 - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
356 -- grep __LP64__ >/dev/null
357 -+ grep -q __LP64__
358 - then
359 - HP_ARCH="hppa2.0w"
360 - else
361 -@@ -711,22 +736,22 @@
362 - exit ;;
363 - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
364 - echo c1-convex-bsd
365 -- exit ;;
366 -+ exit ;;
367 - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
368 - if getsysinfo -f scalar_acc
369 - then echo c32-convex-bsd
370 - else echo c2-convex-bsd
371 - fi
372 -- exit ;;
373 -+ exit ;;
374 - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
375 - echo c34-convex-bsd
376 -- exit ;;
377 -+ exit ;;
378 - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
379 - echo c38-convex-bsd
380 -- exit ;;
381 -+ exit ;;
382 - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
383 - echo c4-convex-bsd
384 -- exit ;;
385 -+ exit ;;
386 - CRAY*Y-MP:*:*:*)
387 - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
388 - exit ;;
389 -@@ -750,14 +775,14 @@
390 - exit ;;
391 - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
392 - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
393 -- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
394 -- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
395 -- echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
396 -- exit ;;
397 -+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
398 -+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
399 -+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
400 -+ exit ;;
401 - 5000:UNIX_System_V:4.*:*)
402 -- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
403 -- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
404 -- echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
405 -+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
406 -+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
407 -+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
408 - exit ;;
409 - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
410 - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
411 -@@ -769,40 +794,51 @@
412 - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
413 - exit ;;
414 - *:FreeBSD:*:*)
415 -- case ${UNAME_MACHINE} in
416 -- pc98)
417 -- echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
418 -+ UNAME_PROCESSOR=`/usr/bin/uname -p`
419 -+ case ${UNAME_PROCESSOR} in
420 - amd64)
421 - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
422 - *)
423 -- echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
424 -+ echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
425 - esac
426 - exit ;;
427 - i*:CYGWIN*:*)
428 - echo ${UNAME_MACHINE}-pc-cygwin
429 - exit ;;
430 -+ *:MINGW64*:*)
431 -+ echo ${UNAME_MACHINE}-pc-mingw64
432 -+ exit ;;
433 - *:MINGW*:*)
434 - echo ${UNAME_MACHINE}-pc-mingw32
435 - exit ;;
436 -+ i*:MSYS*:*)
437 -+ echo ${UNAME_MACHINE}-pc-msys
438 -+ exit ;;
439 - i*:windows32*:*)
440 -- # uname -m includes "-pc" on this system.
441 -- echo ${UNAME_MACHINE}-mingw32
442 -+ # uname -m includes "-pc" on this system.
443 -+ echo ${UNAME_MACHINE}-mingw32
444 - exit ;;
445 - i*:PW*:*)
446 - echo ${UNAME_MACHINE}-pc-pw32
447 - exit ;;
448 -- *:Interix*:[3456]*)
449 -- case ${UNAME_MACHINE} in
450 -+ *:Interix*:*)
451 -+ case ${UNAME_MACHINE} in
452 - x86)
453 - echo i586-pc-interix${UNAME_RELEASE}
454 - exit ;;
455 -- EM64T | authenticamd)
456 -+ authenticamd | genuineintel | EM64T)
457 - echo x86_64-unknown-interix${UNAME_RELEASE}
458 - exit ;;
459 -+ IA64)
460 -+ echo ia64-unknown-interix${UNAME_RELEASE}
461 -+ exit ;;
462 - esac ;;
463 - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
464 - echo i${UNAME_MACHINE}-pc-mks
465 - exit ;;
466 -+ 8664:Windows_NT:*)
467 -+ echo x86_64-pc-mks
468 -+ exit ;;
469 - i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
470 - # How do we know it's Interix rather than the generic POSIX subsystem?
471 - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
472 -@@ -832,20 +868,68 @@
473 - i*86:Minix:*:*)
474 - echo ${UNAME_MACHINE}-pc-minix
475 - exit ;;
476 -- arm*:Linux:*:*)
477 -+ aarch64:Linux:*:*)
478 - echo ${UNAME_MACHINE}-unknown-linux-gnu
479 - exit ;;
480 -+ aarch64_be:Linux:*:*)
481 -+ UNAME_MACHINE=aarch64_be
482 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
483 -+ exit ;;
484 -+ alpha:Linux:*:*)
485 -+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
486 -+ EV5) UNAME_MACHINE=alphaev5 ;;
487 -+ EV56) UNAME_MACHINE=alphaev56 ;;
488 -+ PCA56) UNAME_MACHINE=alphapca56 ;;
489 -+ PCA57) UNAME_MACHINE=alphapca56 ;;
490 -+ EV6) UNAME_MACHINE=alphaev6 ;;
491 -+ EV67) UNAME_MACHINE=alphaev67 ;;
492 -+ EV68*) UNAME_MACHINE=alphaev68 ;;
493 -+ esac
494 -+ objdump --private-headers /bin/sh | grep -q ld.so.1
495 -+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
496 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
497 -+ exit ;;
498 -+ arm*:Linux:*:*)
499 -+ eval $set_cc_for_build
500 -+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
501 -+ | grep -q __ARM_EABI__
502 -+ then
503 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
504 -+ else
505 -+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
506 -+ | grep -q __ARM_PCS_VFP
507 -+ then
508 -+ echo ${UNAME_MACHINE}-unknown-linux-gnueabi
509 -+ else
510 -+ echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
511 -+ fi
512 -+ fi
513 -+ exit ;;
514 - avr32*:Linux:*:*)
515 - echo ${UNAME_MACHINE}-unknown-linux-gnu
516 - exit ;;
517 - cris:Linux:*:*)
518 -- echo cris-axis-linux-gnu
519 -+ echo ${UNAME_MACHINE}-axis-linux-gnu
520 - exit ;;
521 - crisv32:Linux:*:*)
522 -- echo crisv32-axis-linux-gnu
523 -+ echo ${UNAME_MACHINE}-axis-linux-gnu
524 - exit ;;
525 - frv:Linux:*:*)
526 -- echo frv-unknown-linux-gnu
527 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
528 -+ exit ;;
529 -+ hexagon:Linux:*:*)
530 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
531 -+ exit ;;
532 -+ i*86:Linux:*:*)
533 -+ LIBC=gnu
534 -+ eval $set_cc_for_build
535 -+ sed 's/^ //' << EOF >$dummy.c
536 -+ #ifdef __dietlibc__
537 -+ LIBC=dietlibc
538 -+ #endif
539 -+EOF
540 -+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
541 -+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
542 - exit ;;
543 - ia64:Linux:*:*)
544 - echo ${UNAME_MACHINE}-unknown-linux-gnu
545 -@@ -856,74 +940,33 @@
546 - m68*:Linux:*:*)
547 - echo ${UNAME_MACHINE}-unknown-linux-gnu
548 - exit ;;
549 -- mips:Linux:*:*)
550 -+ mips:Linux:*:* | mips64:Linux:*:*)
551 - eval $set_cc_for_build
552 - sed 's/^ //' << EOF >$dummy.c
553 - #undef CPU
554 -- #undef mips
555 -- #undef mipsel
556 -+ #undef ${UNAME_MACHINE}
557 -+ #undef ${UNAME_MACHINE}el
558 - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
559 -- CPU=mipsel
560 -+ CPU=${UNAME_MACHINE}el
561 - #else
562 - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
563 -- CPU=mips
564 -+ CPU=${UNAME_MACHINE}
565 - #else
566 - CPU=
567 - #endif
568 - #endif
569 - EOF
570 -- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
571 -- /^CPU/{
572 -- s: ::g
573 -- p
574 -- }'`"
575 -- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
576 -- ;;
577 -- mips64:Linux:*:*)
578 -- eval $set_cc_for_build
579 -- sed 's/^ //' << EOF >$dummy.c
580 -- #undef CPU
581 -- #undef mips64
582 -- #undef mips64el
583 -- #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
584 -- CPU=mips64el
585 -- #else
586 -- #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
587 -- CPU=mips64
588 -- #else
589 -- CPU=
590 -- #endif
591 -- #endif
592 --EOF
593 -- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
594 -- /^CPU/{
595 -- s: ::g
596 -- p
597 -- }'`"
598 -+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
599 - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
600 - ;;
601 - or32:Linux:*:*)
602 -- echo or32-unknown-linux-gnu
603 -- exit ;;
604 -- ppc:Linux:*:*)
605 -- echo powerpc-unknown-linux-gnu
606 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
607 - exit ;;
608 -- ppc64:Linux:*:*)
609 -- echo powerpc64-unknown-linux-gnu
610 -+ padre:Linux:*:*)
611 -+ echo sparc-unknown-linux-gnu
612 - exit ;;
613 -- alpha:Linux:*:*)
614 -- case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
615 -- EV5) UNAME_MACHINE=alphaev5 ;;
616 -- EV56) UNAME_MACHINE=alphaev56 ;;
617 -- PCA56) UNAME_MACHINE=alphapca56 ;;
618 -- PCA57) UNAME_MACHINE=alphapca56 ;;
619 -- EV6) UNAME_MACHINE=alphaev6 ;;
620 -- EV67) UNAME_MACHINE=alphaev67 ;;
621 -- EV68*) UNAME_MACHINE=alphaev68 ;;
622 -- esac
623 -- objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
624 -- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
625 -- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
626 -+ parisc64:Linux:*:* | hppa64:Linux:*:*)
627 -+ echo hppa64-unknown-linux-gnu
628 - exit ;;
629 - parisc:Linux:*:* | hppa:Linux:*:*)
630 - # Look for CPU level
631 -@@ -933,14 +976,17 @@
632 - *) echo hppa-unknown-linux-gnu ;;
633 - esac
634 - exit ;;
635 -- parisc64:Linux:*:* | hppa64:Linux:*:*)
636 -- echo hppa64-unknown-linux-gnu
637 -+ ppc64:Linux:*:*)
638 -+ echo powerpc64-unknown-linux-gnu
639 -+ exit ;;
640 -+ ppc:Linux:*:*)
641 -+ echo powerpc-unknown-linux-gnu
642 - exit ;;
643 - s390:Linux:*:* | s390x:Linux:*:*)
644 - echo ${UNAME_MACHINE}-ibm-linux
645 - exit ;;
646 - sh64*:Linux:*:*)
647 -- echo ${UNAME_MACHINE}-unknown-linux-gnu
648 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
649 - exit ;;
650 - sh*:Linux:*:*)
651 - echo ${UNAME_MACHINE}-unknown-linux-gnu
652 -@@ -948,78 +994,18 @@
653 - sparc:Linux:*:* | sparc64:Linux:*:*)
654 - echo ${UNAME_MACHINE}-unknown-linux-gnu
655 - exit ;;
656 -+ tile*:Linux:*:*)
657 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
658 -+ exit ;;
659 - vax:Linux:*:*)
660 - echo ${UNAME_MACHINE}-dec-linux-gnu
661 - exit ;;
662 - x86_64:Linux:*:*)
663 -- echo x86_64-unknown-linux-gnu
664 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
665 - exit ;;
666 -- xtensa:Linux:*:*)
667 -- echo xtensa-unknown-linux-gnu
668 -+ xtensa*:Linux:*:*)
669 -+ echo ${UNAME_MACHINE}-unknown-linux-gnu
670 - exit ;;
671 -- i*86:Linux:*:*)
672 -- # The BFD linker knows what the default object file format is, so
673 -- # first see if it will tell us. cd to the root directory to prevent
674 -- # problems with other programs or directories called `ld' in the path.
675 -- # Set LC_ALL=C to ensure ld outputs messages in English.
676 -- ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
677 -- | sed -ne '/supported targets:/!d
678 -- s/[ ][ ]*/ /g
679 -- s/.*supported targets: *//
680 -- s/ .*//
681 -- p'`
682 -- case "$ld_supported_targets" in
683 -- elf32-i386)
684 -- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
685 -- ;;
686 -- a.out-i386-linux)
687 -- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
688 -- exit ;;
689 -- coff-i386)
690 -- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
691 -- exit ;;
692 -- "")
693 -- # Either a pre-BFD a.out linker (linux-gnuoldld) or
694 -- # one that does not give us useful --help.
695 -- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
696 -- exit ;;
697 -- esac
698 -- # Determine whether the default compiler is a.out or elf
699 -- eval $set_cc_for_build
700 -- sed 's/^ //' << EOF >$dummy.c
701 -- #include <features.h>
702 -- #ifdef __ELF__
703 -- # ifdef __GLIBC__
704 -- # if __GLIBC__ >= 2
705 -- LIBC=gnu
706 -- # else
707 -- LIBC=gnulibc1
708 -- # endif
709 -- # else
710 -- LIBC=gnulibc1
711 -- # endif
712 -- #else
713 -- #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
714 -- LIBC=gnu
715 -- #else
716 -- LIBC=gnuaout
717 -- #endif
718 -- #endif
719 -- #ifdef __dietlibc__
720 -- LIBC=dietlibc
721 -- #endif
722 --EOF
723 -- eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
724 -- /^LIBC/{
725 -- s: ::g
726 -- p
727 -- }'`"
728 -- test x"${LIBC}" != x && {
729 -- echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
730 -- exit
731 -- }
732 -- test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
733 -- ;;
734 - i*86:DYNIX/ptx:4*:*)
735 - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
736 - # earlier versions are messed up and put the nodename in both
737 -@@ -1027,11 +1013,11 @@
738 - echo i386-sequent-sysv4
739 - exit ;;
740 - i*86:UNIX_SV:4.2MP:2.*)
741 -- # Unixware is an offshoot of SVR4, but it has its own version
742 -- # number series starting with 2...
743 -- # I am not positive that other SVR4 systems won't match this,
744 -+ # Unixware is an offshoot of SVR4, but it has its own version
745 -+ # number series starting with 2...
746 -+ # I am not positive that other SVR4 systems won't match this,
747 - # I just have to hope. -- rms.
748 -- # Use sysv4.2uw... so that sysv4* matches it.
749 -+ # Use sysv4.2uw... so that sysv4* matches it.
750 - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
751 - exit ;;
752 - i*86:OS/2:*:*)
753 -@@ -1048,7 +1034,7 @@
754 - i*86:syllable:*:*)
755 - echo ${UNAME_MACHINE}-pc-syllable
756 - exit ;;
757 -- i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
758 -+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
759 - echo i386-unknown-lynxos${UNAME_RELEASE}
760 - exit ;;
761 - i*86:*DOS:*:*)
762 -@@ -1063,7 +1049,7 @@
763 - fi
764 - exit ;;
765 - i*86:*:5:[678]*)
766 -- # UnixWare 7.x, OpenUNIX and OpenServer 6.
767 -+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
768 - case `/bin/uname -X | grep "^Machine"` in
769 - *486*) UNAME_MACHINE=i486 ;;
770 - *Pentium) UNAME_MACHINE=i586 ;;
771 -@@ -1091,10 +1077,13 @@
772 - exit ;;
773 - pc:*:*:*)
774 - # Left here for compatibility:
775 -- # uname -m prints for DJGPP always 'pc', but it prints nothing about
776 -- # the processor, so we play safe by assuming i386.
777 -- echo i386-pc-msdosdjgpp
778 -- exit ;;
779 -+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
780 -+ # the processor, so we play safe by assuming i586.
781 -+ # Note: whatever this is, it MUST be the same as what config.sub
782 -+ # prints for the "djgpp" host, or else GDB configury will decide that
783 -+ # this is a cross-build.
784 -+ echo i586-pc-msdosdjgpp
785 -+ exit ;;
786 - Intel:Mach:3*:*)
787 - echo i386-pc-mach3
788 - exit ;;
789 -@@ -1129,8 +1118,18 @@
790 - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
791 - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
792 - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
793 -- /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
794 -- && { echo i486-ncr-sysv4; exit; } ;;
795 -+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
796 -+ && { echo i486-ncr-sysv4; exit; } ;;
797 -+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
798 -+ OS_REL='.3'
799 -+ test -r /etc/.relid \
800 -+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
801 -+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
802 -+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
803 -+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
804 -+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
805 -+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
806 -+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
807 - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
808 - echo m68k-unknown-lynxos${UNAME_RELEASE}
809 - exit ;;
810 -@@ -1143,7 +1142,7 @@
811 - rs6000:LynxOS:2.*:*)
812 - echo rs6000-unknown-lynxos${UNAME_RELEASE}
813 - exit ;;
814 -- PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
815 -+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
816 - echo powerpc-unknown-lynxos${UNAME_RELEASE}
817 - exit ;;
818 - SM[BE]S:UNIX_SV:*:*)
819 -@@ -1163,10 +1162,10 @@
820 - echo ns32k-sni-sysv
821 - fi
822 - exit ;;
823 -- PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
824 -- # says <Richard.M.Bartel@×××××××××××××.GOV>
825 -- echo i586-unisys-sysv4
826 -- exit ;;
827 -+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
828 -+ # says <Richard.M.Bartel@×××××××××××××.GOV>
829 -+ echo i586-unisys-sysv4
830 -+ exit ;;
831 - *:UNIX_System_V:4*:FTX*)
832 - # From Gerald Hewes <hewes@××××××××××.com>.
833 - # How about differentiating between stratus architectures? -djm
834 -@@ -1192,11 +1191,11 @@
835 - exit ;;
836 - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
837 - if [ -d /usr/nec ]; then
838 -- echo mips-nec-sysv${UNAME_RELEASE}
839 -+ echo mips-nec-sysv${UNAME_RELEASE}
840 - else
841 -- echo mips-unknown-sysv${UNAME_RELEASE}
842 -+ echo mips-unknown-sysv${UNAME_RELEASE}
843 - fi
844 -- exit ;;
845 -+ exit ;;
846 - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
847 - echo powerpc-be-beos
848 - exit ;;
849 -@@ -1206,6 +1205,12 @@
850 - BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
851 - echo i586-pc-beos
852 - exit ;;
853 -+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
854 -+ echo i586-pc-haiku
855 -+ exit ;;
856 -+ x86_64:Haiku:*:*)
857 -+ echo x86_64-unknown-haiku
858 -+ exit ;;
859 - SX-4:SUPER-UX:*:*)
860 - echo sx4-nec-superux${UNAME_RELEASE}
861 - exit ;;
862 -@@ -1233,6 +1238,16 @@
863 - *:Darwin:*:*)
864 - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
865 - case $UNAME_PROCESSOR in
866 -+ i386)
867 -+ eval $set_cc_for_build
868 -+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
869 -+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
870 -+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
871 -+ grep IS_64BIT_ARCH >/dev/null
872 -+ then
873 -+ UNAME_PROCESSOR="x86_64"
874 -+ fi
875 -+ fi ;;
876 - unknown) UNAME_PROCESSOR=powerpc ;;
877 - esac
878 - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
879 -@@ -1248,7 +1263,10 @@
880 - *:QNX:*:4*)
881 - echo i386-pc-qnx
882 - exit ;;
883 -- NSE-?:NONSTOP_KERNEL:*:*)
884 -+ NEO-?:NONSTOP_KERNEL:*:*)
885 -+ echo neo-tandem-nsk${UNAME_RELEASE}
886 -+ exit ;;
887 -+ NSE-*:NONSTOP_KERNEL:*:*)
888 - echo nse-tandem-nsk${UNAME_RELEASE}
889 - exit ;;
890 - NSR-?:NONSTOP_KERNEL:*:*)
891 -@@ -1293,13 +1311,13 @@
892 - echo pdp10-unknown-its
893 - exit ;;
894 - SEI:*:*:SEIUX)
895 -- echo mips-sei-seiux${UNAME_RELEASE}
896 -+ echo mips-sei-seiux${UNAME_RELEASE}
897 - exit ;;
898 - *:DragonFly:*:*)
899 - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
900 - exit ;;
901 - *:*VMS:*:*)
902 -- UNAME_MACHINE=`(uname -p) 2>/dev/null`
903 -+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
904 - case "${UNAME_MACHINE}" in
905 - A*) echo alpha-dec-vms ; exit ;;
906 - I*) echo ia64-dec-vms ; exit ;;
907 -@@ -1314,11 +1332,14 @@
908 - i*86:rdos:*:*)
909 - echo ${UNAME_MACHINE}-pc-rdos
910 - exit ;;
911 -+ i*86:AROS:*:*)
912 -+ echo ${UNAME_MACHINE}-pc-aros
913 -+ exit ;;
914 -+ x86_64:VMkernel:*:*)
915 -+ echo ${UNAME_MACHINE}-unknown-esx
916 -+ exit ;;
917 - esac
918 -
919 --#echo '(No uname command or uname output not recognized.)' 1>&2
920 --#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
921 --
922 - eval $set_cc_for_build
923 - cat >$dummy.c <<EOF
924 - #ifdef _SEQUENT_
925 -@@ -1336,11 +1357,11 @@
926 - #include <sys/param.h>
927 - printf ("m68k-sony-newsos%s\n",
928 - #ifdef NEWSOS4
929 -- "4"
930 -+ "4"
931 - #else
932 -- ""
933 -+ ""
934 - #endif
935 -- ); exit (0);
936 -+ ); exit (0);
937 - #endif
938 - #endif
939 -
940 -@@ -1474,9 +1495,9 @@
941 - the operating system you are using. It is advised that you
942 - download the most up to date version of the config scripts from
943 -
944 -- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
945 -+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
946 - and
947 -- http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
948 -+ http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
949 -
950 - If the version you run ($0) is already up to date, please
951 - send the following data and any information you think might be
952 -diff -urN epienbroek-mail-notification-eab5c13/jbsrc/tools/config.sub epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.sub
953 ---- epienbroek-mail-notification-eab5c13/jbsrc/tools/config.sub 2012-11-21 12:57:35.000000000 -0600
954 -+++ epienbroek-mail-notification-eab5c13-aarch64/jbsrc/tools/config.sub 2013-03-08 02:14:30.629644517 -0600
955 -@@ -1,10 +1,10 @@
956 - #! /bin/sh
957 - # Configuration validation subroutine script.
958 - # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
959 --# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
960 --# Inc.
961 -+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
962 -+# 2011, 2012 Free Software Foundation, Inc.
963 -
964 --timestamp='2007-06-28'
965 -+timestamp='2012-10-10'
966 -
967 - # This file is (in principle) common to ALL GNU software.
968 - # The presence of a machine in this file suggests that SOME GNU software
969 -@@ -21,9 +21,7 @@
970 - # GNU General Public License for more details.
971 - #
972 - # You should have received a copy of the GNU General Public License
973 --# along with this program; if not, write to the Free Software
974 --# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
975 --# 02110-1301, USA.
976 -+# along with this program; if not, see <http://www.gnu.org/licenses/>.
977 - #
978 - # As a special exception to the GNU General Public License, if you
979 - # distribute this file as part of a program that contains a
980 -@@ -32,13 +30,16 @@
981 -
982 -
983 - # Please send patches to <config-patches@×××.org>. Submit a context
984 --# diff and a properly formatted ChangeLog entry.
985 -+# diff and a properly formatted GNU ChangeLog entry.
986 - #
987 - # Configuration subroutine to validate and canonicalize a configuration type.
988 - # Supply the specified configuration type as an argument.
989 - # If it is invalid, we print an error message on stderr and exit with code 1.
990 - # Otherwise, we print the canonical config type on stdout and succeed.
991 -
992 -+# You can get the latest version of this script from:
993 -+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
994 -+
995 - # This file is supposed to be the same for all GNU packages
996 - # and recognize all the CPU types, system types and aliases
997 - # that are meaningful with *any* GNU software.
998 -@@ -72,7 +73,8 @@
999 - version="\
1000 - GNU config.sub ($timestamp)
1001 -
1002 --Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
1003 -+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
1004 -+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
1005 - Free Software Foundation, Inc.
1006 -
1007 - This is free software; see the source for copying conditions. There is NO
1008 -@@ -120,12 +122,18 @@
1009 - # Here we must recognize all the valid KERNEL-OS combinations.
1010 - maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
1011 - case $maybe_os in
1012 -- nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
1013 -- uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
1014 -+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
1015 -+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
1016 -+ knetbsd*-gnu* | netbsd*-gnu* | \
1017 -+ kopensolaris*-gnu* | \
1018 - storm-chaos* | os2-emx* | rtmk-nova*)
1019 - os=-$maybe_os
1020 - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
1021 - ;;
1022 -+ android-linux)
1023 -+ os=-linux-android
1024 -+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
1025 -+ ;;
1026 - *)
1027 - basic_machine=`echo $1 | sed 's/-[^-]*$//'`
1028 - if [ $basic_machine != $1 ]
1029 -@@ -148,10 +156,13 @@
1030 - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
1031 - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
1032 - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
1033 -- -apple | -axis | -knuth | -cray)
1034 -+ -apple | -axis | -knuth | -cray | -microblaze*)
1035 - os=
1036 - basic_machine=$1
1037 - ;;
1038 -+ -bluegene*)
1039 -+ os=-cnk
1040 -+ ;;
1041 - -sim | -cisco | -oki | -wec | -winbond)
1042 - os=
1043 - basic_machine=$1
1044 -@@ -166,10 +177,10 @@
1045 - os=-chorusos
1046 - basic_machine=$1
1047 - ;;
1048 -- -chorusrdb)
1049 -- os=-chorusrdb
1050 -+ -chorusrdb)
1051 -+ os=-chorusrdb
1052 - basic_machine=$1
1053 -- ;;
1054 -+ ;;
1055 - -hiux*)
1056 - os=-hiuxwe2
1057 - ;;
1058 -@@ -214,6 +225,12 @@
1059 - -isc*)
1060 - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1061 - ;;
1062 -+ -lynx*178)
1063 -+ os=-lynxos178
1064 -+ ;;
1065 -+ -lynx*5)
1066 -+ os=-lynxos5
1067 -+ ;;
1068 - -lynx*)
1069 - os=-lynxos
1070 - ;;
1071 -@@ -238,24 +255,32 @@
1072 - # Some are omitted here because they have special meanings below.
1073 - 1750a | 580 \
1074 - | a29k \
1075 -+ | aarch64 | aarch64_be \
1076 - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
1077 - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
1078 - | am33_2.0 \
1079 - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
1080 -+ | be32 | be64 \
1081 - | bfin \
1082 - | c4x | clipper \
1083 - | d10v | d30v | dlx | dsp16xx \
1084 -+ | epiphany \
1085 - | fido | fr30 | frv \
1086 - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1087 -+ | hexagon \
1088 - | i370 | i860 | i960 | ia64 \
1089 - | ip2k | iq2000 \
1090 -+ | le32 | le64 \
1091 -+ | lm32 \
1092 - | m32c | m32r | m32rle | m68000 | m68k | m88k \
1093 -- | maxq | mb | microblaze | mcore | mep \
1094 -+ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
1095 - | mips | mipsbe | mipseb | mipsel | mipsle \
1096 - | mips16 \
1097 - | mips64 | mips64el \
1098 -- | mips64vr | mips64vrel \
1099 -+ | mips64octeon | mips64octeonel \
1100 - | mips64orion | mips64orionel \
1101 -+ | mips64r5900 | mips64r5900el \
1102 -+ | mips64vr | mips64vrel \
1103 - | mips64vr4100 | mips64vr4100el \
1104 - | mips64vr4300 | mips64vr4300el \
1105 - | mips64vr5000 | mips64vr5000el \
1106 -@@ -268,29 +293,42 @@
1107 - | mipsisa64sr71k | mipsisa64sr71kel \
1108 - | mipstx39 | mipstx39el \
1109 - | mn10200 | mn10300 \
1110 -+ | moxie \
1111 - | mt \
1112 - | msp430 \
1113 -+ | nds32 | nds32le | nds32be \
1114 - | nios | nios2 \
1115 - | ns16k | ns32k \
1116 -+ | open8 \
1117 - | or32 \
1118 - | pdp10 | pdp11 | pj | pjl \
1119 -- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
1120 -+ | powerpc | powerpc64 | powerpc64le | powerpcle \
1121 - | pyramid \
1122 -+ | rl78 | rx \
1123 - | score \
1124 -- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
1125 -+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
1126 - | sh64 | sh64le \
1127 - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
1128 - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
1129 -- | spu | strongarm \
1130 -- | tahoe | thumb | tic4x | tic80 | tron \
1131 -- | v850 | v850e \
1132 -+ | spu \
1133 -+ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
1134 -+ | ubicom32 \
1135 -+ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
1136 - | we32k \
1137 -- | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
1138 -- | z8k)
1139 -+ | x86 | xc16x | xstormy16 | xtensa \
1140 -+ | z8k | z80)
1141 - basic_machine=$basic_machine-unknown
1142 - ;;
1143 -- m6811 | m68hc11 | m6812 | m68hc12)
1144 -- # Motorola 68HC11/12.
1145 -+ c54x)
1146 -+ basic_machine=tic54x-unknown
1147 -+ ;;
1148 -+ c55x)
1149 -+ basic_machine=tic55x-unknown
1150 -+ ;;
1151 -+ c6x)
1152 -+ basic_machine=tic6x-unknown
1153 -+ ;;
1154 -+ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
1155 - basic_machine=$basic_machine-unknown
1156 - os=-none
1157 - ;;
1158 -@@ -300,6 +338,21 @@
1159 - basic_machine=mt-unknown
1160 - ;;
1161 -
1162 -+ strongarm | thumb | xscale)
1163 -+ basic_machine=arm-unknown
1164 -+ ;;
1165 -+ xgate)
1166 -+ basic_machine=$basic_machine-unknown
1167 -+ os=-none
1168 -+ ;;
1169 -+ xscaleeb)
1170 -+ basic_machine=armeb-unknown
1171 -+ ;;
1172 -+
1173 -+ xscaleel)
1174 -+ basic_machine=armel-unknown
1175 -+ ;;
1176 -+
1177 - # We use `pc' rather than `unknown'
1178 - # because (1) that's what they normally are, and
1179 - # (2) the word "unknown" tends to confuse beginning users.
1180 -@@ -314,29 +367,37 @@
1181 - # Recognize the basic CPU types with company name.
1182 - 580-* \
1183 - | a29k-* \
1184 -+ | aarch64-* | aarch64_be-* \
1185 - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
1186 - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
1187 - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
1188 - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
1189 - | avr-* | avr32-* \
1190 -+ | be32-* | be64-* \
1191 - | bfin-* | bs2000-* \
1192 -- | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
1193 -+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
1194 - | clipper-* | craynv-* | cydra-* \
1195 - | d10v-* | d30v-* | dlx-* \
1196 - | elxsi-* \
1197 - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
1198 - | h8300-* | h8500-* \
1199 - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
1200 -+ | hexagon-* \
1201 - | i*86-* | i860-* | i960-* | ia64-* \
1202 - | ip2k-* | iq2000-* \
1203 -+ | le32-* | le64-* \
1204 -+ | lm32-* \
1205 - | m32c-* | m32r-* | m32rle-* \
1206 - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
1207 -- | m88110-* | m88k-* | maxq-* | mcore-* \
1208 -+ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
1209 -+ | microblaze-* | microblazeel-* \
1210 - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
1211 - | mips16-* \
1212 - | mips64-* | mips64el-* \
1213 -- | mips64vr-* | mips64vrel-* \
1214 -+ | mips64octeon-* | mips64octeonel-* \
1215 - | mips64orion-* | mips64orionel-* \
1216 -+ | mips64r5900-* | mips64r5900el-* \
1217 -+ | mips64vr-* | mips64vrel-* \
1218 - | mips64vr4100-* | mips64vr4100el-* \
1219 - | mips64vr4300-* | mips64vr4300el-* \
1220 - | mips64vr5000-* | mips64vr5000el-* \
1221 -@@ -351,27 +412,36 @@
1222 - | mmix-* \
1223 - | mt-* \
1224 - | msp430-* \
1225 -+ | nds32-* | nds32le-* | nds32be-* \
1226 - | nios-* | nios2-* \
1227 - | none-* | np1-* | ns16k-* | ns32k-* \
1228 -+ | open8-* \
1229 - | orion-* \
1230 - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
1231 -- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
1232 -+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
1233 - | pyramid-* \
1234 -- | romp-* | rs6000-* \
1235 -- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
1236 -+ | rl78-* | romp-* | rs6000-* | rx-* \
1237 -+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
1238 - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
1239 - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
1240 - | sparclite-* \
1241 -- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
1242 -- | tahoe-* | thumb-* \
1243 -+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
1244 -+ | tahoe-* \
1245 - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
1246 -+ | tile*-* \
1247 - | tron-* \
1248 -- | v850-* | v850e-* | vax-* \
1249 -+ | ubicom32-* \
1250 -+ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
1251 -+ | vax-* \
1252 - | we32k-* \
1253 -- | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
1254 -- | xstormy16-* | xtensa-* \
1255 -+ | x86-* | x86_64-* | xc16x-* | xps100-* \
1256 -+ | xstormy16-* | xtensa*-* \
1257 - | ymp-* \
1258 -- | z8k-*)
1259 -+ | z8k-* | z80-*)
1260 -+ ;;
1261 -+ # Recognize the basic CPU types without company name, with glob match.
1262 -+ xtensa*)
1263 -+ basic_machine=$basic_machine-unknown
1264 - ;;
1265 - # Recognize the various machine names and aliases which stand
1266 - # for a CPU type and a company and sometimes even an OS.
1267 -@@ -389,7 +459,7 @@
1268 - basic_machine=a29k-amd
1269 - os=-udi
1270 - ;;
1271 -- abacus)
1272 -+ abacus)
1273 - basic_machine=abacus-unknown
1274 - ;;
1275 - adobe68k)
1276 -@@ -435,6 +505,10 @@
1277 - basic_machine=m68k-apollo
1278 - os=-bsd
1279 - ;;
1280 -+ aros)
1281 -+ basic_machine=i386-pc
1282 -+ os=-aros
1283 -+ ;;
1284 - aux)
1285 - basic_machine=m68k-apple
1286 - os=-aux
1287 -@@ -443,10 +517,35 @@
1288 - basic_machine=ns32k-sequent
1289 - os=-dynix
1290 - ;;
1291 -+ blackfin)
1292 -+ basic_machine=bfin-unknown
1293 -+ os=-linux
1294 -+ ;;
1295 -+ blackfin-*)
1296 -+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
1297 -+ os=-linux
1298 -+ ;;
1299 -+ bluegene*)
1300 -+ basic_machine=powerpc-ibm
1301 -+ os=-cnk
1302 -+ ;;
1303 -+ c54x-*)
1304 -+ basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
1305 -+ ;;
1306 -+ c55x-*)
1307 -+ basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
1308 -+ ;;
1309 -+ c6x-*)
1310 -+ basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
1311 -+ ;;
1312 - c90)
1313 - basic_machine=c90-cray
1314 - os=-unicos
1315 - ;;
1316 -+ cegcc)
1317 -+ basic_machine=arm-unknown
1318 -+ os=-cegcc
1319 -+ ;;
1320 - convex-c1)
1321 - basic_machine=c1-convex
1322 - os=-bsd
1323 -@@ -475,7 +574,7 @@
1324 - basic_machine=craynv-cray
1325 - os=-unicosmp
1326 - ;;
1327 -- cr16)
1328 -+ cr16 | cr16-*)
1329 - basic_machine=cr16-unknown
1330 - os=-elf
1331 - ;;
1332 -@@ -514,6 +613,10 @@
1333 - basic_machine=m88k-motorola
1334 - os=-sysv3
1335 - ;;
1336 -+ dicos)
1337 -+ basic_machine=i686-pc
1338 -+ os=-dicos
1339 -+ ;;
1340 - djgpp)
1341 - basic_machine=i586-pc
1342 - os=-msdosdjgpp
1343 -@@ -629,7 +732,6 @@
1344 - i370-ibm* | ibm*)
1345 - basic_machine=i370-ibm
1346 - ;;
1347 --# I'm not sure what "Sysv32" means. Should this be sysv3.2?
1348 - i*86v32)
1349 - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
1350 - os=-sysv32
1351 -@@ -668,6 +770,14 @@
1352 - basic_machine=m68k-isi
1353 - os=-sysv
1354 - ;;
1355 -+ m68knommu)
1356 -+ basic_machine=m68k-unknown
1357 -+ os=-linux
1358 -+ ;;
1359 -+ m68knommu-*)
1360 -+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
1361 -+ os=-linux
1362 -+ ;;
1363 - m88k-omron*)
1364 - basic_machine=m88k-omron
1365 - ;;
1366 -@@ -679,6 +789,13 @@
1367 - basic_machine=ns32k-utek
1368 - os=-sysv
1369 - ;;
1370 -+ microblaze*)
1371 -+ basic_machine=microblaze-xilinx
1372 -+ ;;
1373 -+ mingw64)
1374 -+ basic_machine=x86_64-pc
1375 -+ os=-mingw64
1376 -+ ;;
1377 - mingw32)
1378 - basic_machine=i386-pc
1379 - os=-mingw32
1380 -@@ -715,10 +832,18 @@
1381 - ms1-*)
1382 - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
1383 - ;;
1384 -+ msys)
1385 -+ basic_machine=i386-pc
1386 -+ os=-msys
1387 -+ ;;
1388 - mvs)
1389 - basic_machine=i370-ibm
1390 - os=-mvs
1391 - ;;
1392 -+ nacl)
1393 -+ basic_machine=le32-unknown
1394 -+ os=-nacl
1395 -+ ;;
1396 - ncr3000)
1397 - basic_machine=i486-ncr
1398 - os=-sysv4
1399 -@@ -783,6 +908,12 @@
1400 - np1)
1401 - basic_machine=np1-gould
1402 - ;;
1403 -+ neo-tandem)
1404 -+ basic_machine=neo-tandem
1405 -+ ;;
1406 -+ nse-tandem)
1407 -+ basic_machine=nse-tandem
1408 -+ ;;
1409 - nsr-tandem)
1410 - basic_machine=nsr-tandem
1411 - ;;
1412 -@@ -813,6 +944,14 @@
1413 - basic_machine=i860-intel
1414 - os=-osf
1415 - ;;
1416 -+ parisc)
1417 -+ basic_machine=hppa-unknown
1418 -+ os=-linux
1419 -+ ;;
1420 -+ parisc-*)
1421 -+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
1422 -+ os=-linux
1423 -+ ;;
1424 - pbd)
1425 - basic_machine=sparc-tti
1426 - ;;
1427 -@@ -857,9 +996,10 @@
1428 - ;;
1429 - power) basic_machine=power-ibm
1430 - ;;
1431 -- ppc) basic_machine=powerpc-unknown
1432 -+ ppc | ppcbe) basic_machine=powerpc-unknown
1433 - ;;
1434 -- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1435 -+ ppc-* | ppcbe-*)
1436 -+ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1437 - ;;
1438 - ppcle | powerpclittle | ppc-le | powerpc-little)
1439 - basic_machine=powerpcle-unknown
1440 -@@ -953,6 +1093,9 @@
1441 - basic_machine=i860-stratus
1442 - os=-sysv4
1443 - ;;
1444 -+ strongarm-* | thumb-*)
1445 -+ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1446 -+ ;;
1447 - sun2)
1448 - basic_machine=m68000-sun
1449 - ;;
1450 -@@ -1009,17 +1152,9 @@
1451 - basic_machine=t90-cray
1452 - os=-unicos
1453 - ;;
1454 -- tic54x | c54x*)
1455 -- basic_machine=tic54x-unknown
1456 -- os=-coff
1457 -- ;;
1458 -- tic55x | c55x*)
1459 -- basic_machine=tic55x-unknown
1460 -- os=-coff
1461 -- ;;
1462 -- tic6x | c6x*)
1463 -- basic_machine=tic6x-unknown
1464 -- os=-coff
1465 -+ tile*)
1466 -+ basic_machine=$basic_machine-unknown
1467 -+ os=-linux-gnu
1468 - ;;
1469 - tx39)
1470 - basic_machine=mipstx39-unknown
1471 -@@ -1088,6 +1223,9 @@
1472 - xps | xps100)
1473 - basic_machine=xps100-honeywell
1474 - ;;
1475 -+ xscale-* | xscalee[bl]-*)
1476 -+ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1477 -+ ;;
1478 - ymp)
1479 - basic_machine=ymp-cray
1480 - os=-unicos
1481 -@@ -1096,6 +1234,10 @@
1482 - basic_machine=z8k-unknown
1483 - os=-sim
1484 - ;;
1485 -+ z80-*-coff)
1486 -+ basic_machine=z80-unknown
1487 -+ os=-sim
1488 -+ ;;
1489 - none)
1490 - basic_machine=none-none
1491 - os=-none
1492 -@@ -1134,7 +1276,7 @@
1493 - we32k)
1494 - basic_machine=we32k-att
1495 - ;;
1496 -- sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1497 -+ sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1498 - basic_machine=sh-unknown
1499 - ;;
1500 - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1501 -@@ -1181,9 +1323,12 @@
1502 - if [ x"$os" != x"" ]
1503 - then
1504 - case $os in
1505 -- # First match some system type aliases
1506 -- # that might get confused with valid system types.
1507 -+ # First match some system type aliases
1508 -+ # that might get confused with valid system types.
1509 - # -solaris* is a basic system type, with this one exception.
1510 -+ -auroraux)
1511 -+ os=-auroraux
1512 -+ ;;
1513 - -solaris1 | -solaris1.*)
1514 - os=`echo $os | sed -e 's|solaris1|sunos4|'`
1515 - ;;
1516 -@@ -1204,21 +1349,23 @@
1517 - # Each alternative MUST END IN A *, to match a version number.
1518 - # -sysv* is not here because it comes later, after sysvr4.
1519 - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1520 -- | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1521 -- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1522 -+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1523 -+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
1524 -+ | -sym* | -kopensolaris* \
1525 - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1526 -- | -aos* \
1527 -+ | -aos* | -aros* \
1528 - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1529 - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1530 - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1531 -- | -openbsd* | -solidbsd* \
1532 -+ | -bitrig* | -openbsd* | -solidbsd* \
1533 - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1534 - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1535 - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1536 - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1537 -- | -chorusos* | -chorusrdb* \
1538 -- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1539 -- | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1540 -+ | -chorusos* | -chorusrdb* | -cegcc* \
1541 -+ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1542 -+ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1543 -+ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1544 - | -uxpv* | -beos* | -mpeix* | -udk* \
1545 - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1546 - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1547 -@@ -1226,7 +1373,7 @@
1548 - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1549 - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1550 - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1551 -- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
1552 -+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1553 - # Remember, each alternative MUST END IN *, to match a version number.
1554 - ;;
1555 - -qnx*)
1556 -@@ -1265,7 +1412,7 @@
1557 - -opened*)
1558 - os=-openedition
1559 - ;;
1560 -- -os400*)
1561 -+ -os400*)
1562 - os=-os400
1563 - ;;
1564 - -wince*)
1565 -@@ -1314,7 +1461,7 @@
1566 - -sinix*)
1567 - os=-sysv4
1568 - ;;
1569 -- -tpf*)
1570 -+ -tpf*)
1571 - os=-tpf
1572 - ;;
1573 - -triton*)
1574 -@@ -1356,6 +1503,11 @@
1575 - -zvmoe)
1576 - os=-zvmoe
1577 - ;;
1578 -+ -dicos*)
1579 -+ os=-dicos
1580 -+ ;;
1581 -+ -nacl*)
1582 -+ ;;
1583 - -none)
1584 - ;;
1585 - *)
1586 -@@ -1378,10 +1530,10 @@
1587 - # system, and we'll never get to this point.
1588 -
1589 - case $basic_machine in
1590 -- score-*)
1591 -+ score-*)
1592 - os=-elf
1593 - ;;
1594 -- spu-*)
1595 -+ spu-*)
1596 - os=-elf
1597 - ;;
1598 - *-acorn)
1599 -@@ -1393,8 +1545,20 @@
1600 - arm*-semi)
1601 - os=-aout
1602 - ;;
1603 -- c4x-* | tic4x-*)
1604 -- os=-coff
1605 -+ c4x-* | tic4x-*)
1606 -+ os=-coff
1607 -+ ;;
1608 -+ hexagon-*)
1609 -+ os=-elf
1610 -+ ;;
1611 -+ tic54x-*)
1612 -+ os=-coff
1613 -+ ;;
1614 -+ tic55x-*)
1615 -+ os=-coff
1616 -+ ;;
1617 -+ tic6x-*)
1618 -+ os=-coff
1619 - ;;
1620 - # This must come before the *-dec entry.
1621 - pdp10-*)
1622 -@@ -1414,14 +1578,11 @@
1623 - ;;
1624 - m68000-sun)
1625 - os=-sunos3
1626 -- # This also exists in the configure program, but was not the
1627 -- # default.
1628 -- # os=-sunos4
1629 - ;;
1630 - m68*-cisco)
1631 - os=-aout
1632 - ;;
1633 -- mep-*)
1634 -+ mep-*)
1635 - os=-elf
1636 - ;;
1637 - mips*-cisco)
1638 -@@ -1448,7 +1609,7 @@
1639 - *-ibm)
1640 - os=-aix
1641 - ;;
1642 -- *-knuth)
1643 -+ *-knuth)
1644 - os=-mmixware
1645 - ;;
1646 - *-wec)
1647 -@@ -1553,7 +1714,7 @@
1648 - -sunos*)
1649 - vendor=sun
1650 - ;;
1651 -- -aix*)
1652 -+ -cnk*|-aix*)
1653 - vendor=ibm
1654 - ;;
1655 - -beos*)
1656
1657 diff --git a/mail-client/mail-notification/mail-notification-5.4-r10.ebuild b/mail-client/mail-notification/mail-notification-5.4-r10.ebuild
1658 index 7e08e2efc54..6a021824142 100644
1659 --- a/mail-client/mail-notification/mail-notification-5.4-r10.ebuild
1660 +++ b/mail-client/mail-notification/mail-notification-5.4-r10.ebuild
1661 @@ -1,4 +1,4 @@
1662 -# Copyright 1999-2016 Gentoo Foundation
1663 +# Copyright 1999-2017 Gentoo Foundation
1664 # Distributed under the terms of the GNU General Public License v2
1665
1666 EAPI=6
1667 @@ -69,8 +69,6 @@ src_prepare() {
1668 # Apply Fedora patches
1669 # Fix gcc warning
1670 eapply "${FILESDIR}/${PN}-jb-gcc-format.patch"
1671 - # Support aarch64
1672 - eapply "${FILESDIR}/${PN}-aarch64.patch"
1673 # Fix build with latest libc
1674 eapply "${FILESDIR}/${PN}-dont-link-against-bsd-compat.patch"