pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/gcc7 gcc7: correct typo in patch, from Kai-Uwe Ec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/672e9f636597
branches:  trunk
changeset: 362395:672e9f636597
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun May 14 02:38:02 2017 +0000

description:
gcc7: correct typo in patch, from Kai-Uwe Eckhardt
Reportedly fixes a bunch of tests.
make our cpuinfo patch possibly less harmful to glibc by using
the same macro as the symver logic

bump pkgrevision

diffstat:

 lang/gcc7/Makefile                                   |   4 ++--
 lang/gcc7/distinfo                                   |   6 +++---
 lang/gcc7/patches/patch-libcilkrts_configure         |   4 ++--
 lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h |  10 +++++++---
 4 files changed, 14 insertions(+), 10 deletions(-)

diffs (85 lines):

diff -r e1c7bdad7f9b -r 672e9f636597 lang/gcc7/Makefile
--- a/lang/gcc7/Makefile        Sun May 14 00:16:36 2017 +0000
+++ b/lang/gcc7/Makefile        Sun May 14 02:38:02 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2017/05/10 15:02:29 jperkin Exp $
+# $NetBSD: Makefile,v 1.4 2017/05/14 02:38:02 maya Exp $
 
 GCC_PKGNAME=           gcc7
 .include               "version.mk"
@@ -8,7 +8,7 @@
 ## When bumping the PKGREVISION of this package the PKGREVISION of
 ## lang/gcc7-libs needs to be bump to be at least 1 more than the
 ## PKGREVISION of this package!
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/gcc-${GCC7S_DIST_VERSION}/}
 EXTRACT_SUFX=  .tar.bz2
diff -r e1c7bdad7f9b -r 672e9f636597 lang/gcc7/distinfo
--- a/lang/gcc7/distinfo        Sun May 14 00:16:36 2017 +0000
+++ b/lang/gcc7/distinfo        Sun May 14 02:38:02 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2017/05/12 18:10:56 jperkin Exp $
+$NetBSD: distinfo,v 1.5 2017/05/14 02:38:02 maya Exp $
 
 SHA1 (gcc-7.1.0.tar.bz2) = 9f1e907f27eadefe7d5f7567c09e17805d9c8837
 RMD160 (gcc-7.1.0.tar.bz2) = a228dc45a09eda91b1a201d234f9013b3009b461
@@ -22,12 +22,12 @@
 SHA1 (patch-gcc_lto_lto.c) = 825b632e2a7ff5777d4fbfdcf6f0ea3f64c4742b
 SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
 SHA1 (patch-isl_configure) = 36b37778ee13c0b364fb24d5864d6a9e65b29b7d
-SHA1 (patch-libcilkrts_configure) = 6c2d0f897c4a451d5b4b4fb5b3415d04704c0b0d
+SHA1 (patch-libcilkrts_configure) = ec76313d8103e0c525ebd26e9013ee3ca9e93391
 SHA1 (patch-libcilkrts_runtime_os-unix.c) = b25632587d9fbe8ff38377fe34cb16225355b521
 SHA1 (patch-libdecnumber_decNumber.c) = cec90e49c829bfc6ba1ec605d2fac7daaad62762
 SHA1 (patch-libffi_configure) = bcfbfe8abddc378e2de4a39ad0669583b37e0292
 SHA1 (patch-libffi_testsuite_libffi.call_float2.c) = 6321dde308579448c27c2b6e1e30633699dd145f
-SHA1 (patch-libgcc_config_i386_cpuinfo.h) = 2c55385a9440d4991eb265f24e98ba68eef266e1
+SHA1 (patch-libgcc_config_i386_cpuinfo.h) = b0ff2ab74f57a1a7368da0805c1d1e06a4eeea6d
 SHA1 (patch-libgcc_crtstuff.c) = e3a3b02a26229992851f195b5701cb1b86c29efe
 SHA1 (patch-libgfortran_configure) = 869a60fd08edecf18a42732dcbf226bad1309394
 SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3
diff -r e1c7bdad7f9b -r 672e9f636597 lang/gcc7/patches/patch-libcilkrts_configure
--- a/lang/gcc7/patches/patch-libcilkrts_configure      Sun May 14 00:16:36 2017 +0000
+++ b/lang/gcc7/patches/patch-libcilkrts_configure      Sun May 14 02:38:02 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-libcilkrts_configure,v 1.2 2017/05/04 17:38:23 maya Exp $
+$NetBSD: patch-libcilkrts_configure,v 1.3 2017/05/14 02:38:03 maya Exp $
 
 --- libcilkrts/configure.orig  2014-08-12 11:06:44.000000000 +0000
 +++ libcilkrts/configure
@@ -7,7 +7,7 @@
  
  if test $enable_shared = yes; then
 -  link_cilkrts="-lcilkrts %{static: $LIBS}"
-+  link_cilkrts="-rpath ${PREFIX}/gcc7/lib --as-needed -lgcc_s -lcilkrts %{static $LIBS}"
++  link_cilkrts="-rpath ${PREFIX}/gcc7/lib --as-needed -lgcc_s -lcilkrts %{static: $LIBS}"
  else
    link_cilkrts="-lcilkrts $LIBS"
  fi
diff -r e1c7bdad7f9b -r 672e9f636597 lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h
--- a/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h      Sun May 14 00:16:36 2017 +0000
+++ b/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h      Sun May 14 02:38:02 2017 +0000
@@ -1,14 +1,18 @@
-$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.1 2017/05/04 17:38:23 maya Exp $
+$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.2 2017/05/14 02:38:03 maya Exp $
 
-Fix GCC bug #80600
+ifdef out extern for GCC bug #80600, with the same condition as
+cpuinfo.c. removing triggers GCC bug #65612
 
 --- libgcc/config/i386/cpuinfo.h.orig  2017-01-10 12:55:41.000000000 +0000
 +++ libgcc/config/i386/cpuinfo.h
-@@ -108,7 +108,7 @@ enum processor_features
+@@ -108,7 +108,10 @@ enum processor_features
    FEATURE_AVX512VPOPCNTDQ
  };
  
 -extern struct __processor_model
++#if defined SHARED && defined USE_ELF_SYMVER
++extern
++#endif
 +struct __processor_model
  {
    unsigned int __cpu_vendor;



Home | Main Index | Thread Index | Old Index