pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gcc7 gcc7: unbreak non-linux after GCC r243219.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9ff81aa6e91d
branches: trunk
changeset: 362083:9ff81aa6e91d
user: maya <maya%pkgsrc.org@localhost>
date: Thu May 04 17:38:23 2017 +0000
description:
gcc7: unbreak non-linux after GCC r243219.
GCC target/80600. Thanks joerg.
Fix wip package reference, thanks Kai-Uwe Eckhardt.
Bump PKGREVISION
diffstat:
lang/gcc7/Makefile | 3 ++-
lang/gcc7/distinfo | 5 +++--
lang/gcc7/patches/patch-libcilkrts_configure | 4 ++--
lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h | 15 +++++++++++++++
4 files changed, 22 insertions(+), 5 deletions(-)
diffs (77 lines):
diff -r 0f1073f8eeec -r 9ff81aa6e91d lang/gcc7/Makefile
--- a/lang/gcc7/Makefile Thu May 04 16:40:02 2017 +0000
+++ b/lang/gcc7/Makefile Thu May 04 17:38:23 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/05/03 00:21:03 maya Exp $
+# $NetBSD: Makefile,v 1.2 2017/05/04 17:38:23 maya Exp $
GCC_PKGNAME= gcc7
.include "version.mk"
@@ -8,6 +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= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC7S_DIST_VERSION}/}
EXTRACT_SUFX= .tar.bz2
diff -r 0f1073f8eeec -r 9ff81aa6e91d lang/gcc7/distinfo
--- a/lang/gcc7/distinfo Thu May 04 16:40:02 2017 +0000
+++ b/lang/gcc7/distinfo Thu May 04 17:38:23 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2017/05/03 00:21:03 maya Exp $
+$NetBSD: distinfo,v 1.2 2017/05/04 17:38:23 maya Exp $
SHA1 (gcc-7.1.0.tar.bz2) = 9f1e907f27eadefe7d5f7567c09e17805d9c8837
RMD160 (gcc-7.1.0.tar.bz2) = a228dc45a09eda91b1a201d234f9013b3009b461
@@ -22,11 +22,12 @@
SHA1 (patch-gcc_lto_lto.c) = 825b632e2a7ff5777d4fbfdcf6f0ea3f64c4742b
SHA1 (patch-gcc_system.h) = 4c959a6b1c4d524cbdf44cfb80f0e5758ec20783
SHA1 (patch-isl_configure) = 36b37778ee13c0b364fb24d5864d6a9e65b29b7d
-SHA1 (patch-libcilkrts_configure) = 0d88069173cba34158f5b6b91d2d12ca81b0300c
+SHA1 (patch-libcilkrts_configure) = 6c2d0f897c4a451d5b4b4fb5b3415d04704c0b0d
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_crtstuff.c) = e3a3b02a26229992851f195b5701cb1b86c29efe
SHA1 (patch-libgfortran_configure) = 869a60fd08edecf18a42732dcbf226bad1309394
SHA1 (patch-libgo_Makefile.in) = 612987541f745c7be6835ce7fb7119884db294c3
diff -r 0f1073f8eeec -r 9ff81aa6e91d lang/gcc7/patches/patch-libcilkrts_configure
--- a/lang/gcc7/patches/patch-libcilkrts_configure Thu May 04 16:40:02 2017 +0000
+++ b/lang/gcc7/patches/patch-libcilkrts_configure Thu May 04 17:38:23 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-libcilkrts_configure,v 1.1 2017/05/03 00:21:03 maya Exp $
+$NetBSD: patch-libcilkrts_configure,v 1.2 2017/05/04 17:38:23 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}/gcc6snapshot/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 0f1073f8eeec -r 9ff81aa6e91d lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h Thu May 04 17:38:23 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.1 2017/05/04 17:38:23 maya Exp $
+
+Fix GCC bug #80600
+
+--- 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
+ FEATURE_AVX512VPOPCNTDQ
+ };
+
+-extern struct __processor_model
++struct __processor_model
+ {
+ unsigned int __cpu_vendor;
+ unsigned int __cpu_type;
Home |
Main Index |
Thread Index |
Old Index