Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/gcc-mips-current Don't break <exception> with GC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03569c2b906b
branches:  trunk
changeset: 431559:03569c2b906b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:02:30 2020 +0000

description:
Don't break <exception> with GCC's abort hack by always including it
early enough.

diffstat:

 cross/gcc-mips-current/distinfo                   |   4 ++--
 cross/gcc-mips-current/patches/patch-gcc_system.h |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 31e8ef2a0536 -r 03569c2b906b cross/gcc-mips-current/distinfo
--- a/cross/gcc-mips-current/distinfo   Thu May 14 19:01:47 2020 +0000
+++ b/cross/gcc-mips-current/distinfo   Thu May 14 19:02:30 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 00:47:44 agc Exp $
+$NetBSD: distinfo,v 1.7 2020/05/14 19:02:30 joerg Exp $
 
 SHA1 (gcc-4.9.2.tar.bz2) = 79dbcb09f44232822460d80b033c962c0237c6d8
 RMD160 (gcc-4.9.2.tar.bz2) = bc6454e7c67c6f5fd2c98cdd1364ebb1739e1347
@@ -8,6 +8,6 @@
 SHA1 (patch-gcc_config_host-netbsd.c) = 8f13b09dd7006d456cd1c66e895be504e9537880
 SHA1 (patch-gcc_config_mips_netbsd.h) = 094c373421eca14076e55df65aed66e722582ddd
 SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
-SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
+SHA1 (patch-gcc_system.h) = 078d3835c80e4cf33b4543f1e578fd9fb81828a5
 SHA1 (patch-libgcc_config.host) = 353f4d17581d619bb4fd55ad27ab4576f28023b7
 SHA1 (patch-libgcc_config_t-hardfp) = e6341eb19fedcbe63bbfbc8a234ddf3e52ca9866
diff -r 31e8ef2a0536 -r 03569c2b906b cross/gcc-mips-current/patches/patch-gcc_system.h
--- a/cross/gcc-mips-current/patches/patch-gcc_system.h Thu May 14 19:01:47 2020 +0000
+++ b/cross/gcc-mips-current/patches/patch-gcc_system.h Thu May 14 19:02:30 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-gcc_system.h,v 1.1 2014/05/27 09:53:37 joerg Exp $
+$NetBSD: patch-gcc_system.h,v 1.2 2020/05/14 19:02:30 joerg Exp $
 
---- gcc/system.h.orig  2013-04-29 18:37:29.000000000 +0000
+--- gcc/system.h.orig  2014-01-02 22:23:26.000000000 +0000
 +++ gcc/system.h
 @@ -72,18 +72,22 @@ along with GCC; see the file COPYING3.  
  
@@ -25,3 +25,12 @@
  # ifdef HAVE_GETCHAR_UNLOCKED
  #  undef getchar
  #  define getchar() getchar_unlocked ()
+@@ -467,6 +471,8 @@ extern char *stpcpy (char *, const char 
+ #endif
+ 
+ #ifdef __cplusplus
++// Avoid messing with abort() use in libc++
++#include <exception>
+ extern "C" {
+ #endif
+ 



Home | Main Index | Thread Index | Old Index