pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang gcc5: netbsd-only: unconditionally disable libssp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ed9d66af674b
branches: trunk
changeset: 352068:ed9d66af674b
user: maya <maya%pkgsrc.org@localhost>
date: Tue Sep 06 05:08:48 2016 +0000
description:
gcc5: netbsd-only: unconditionally disable libssp, use a saner specfile.
because we unconditionally disable libssp, we don't need the workaround
for ssp.h not found, so we can remove that part of that makefile.
bump gcc5 PKGREVISION
bump gcc5-libs PKGREVISION further than gcc5.
diffstat:
lang/gcc5-libs/Makefile | 4 ++--
lang/gcc5/Makefile | 16 ++++------------
lang/gcc5/distinfo | 4 ++--
lang/gcc5/patches/patch-gcc_config_netbsd.h | 25 ++++++++++++++++++++++---
4 files changed, 30 insertions(+), 19 deletions(-)
diffs (115 lines):
diff -r 2d4dc0c65249 -r ed9d66af674b lang/gcc5-libs/Makefile
--- a/lang/gcc5-libs/Makefile Mon Sep 05 21:14:52 2016 +0000
+++ b/lang/gcc5-libs/Makefile Tue Sep 06 05:08:48 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/07/05 18:55:08 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2016/09/06 05:08:48 maya Exp $
GCC_PKGNAME= gcc5
.include "../../lang/${GCC_PKGNAME}/version.mk"
@@ -9,7 +9,7 @@
## The PKGREVISION of this package needs to be at least 1 more than the
## PKGREVISION of the lang/gcc5 package so that with the dependence pattern
## '{gcc5,gcc5-libs}>=5.1.*' pkg_add will choose gcc5-libs over gcc5.
-PKGREVISION= 1
+PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= # empty
diff -r 2d4dc0c65249 -r ed9d66af674b lang/gcc5/Makefile
--- a/lang/gcc5/Makefile Mon Sep 05 21:14:52 2016 +0000
+++ b/lang/gcc5/Makefile Tue Sep 06 05:08:48 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2016/07/09 06:38:25 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2016/09/06 05:08:48 maya Exp $
GCC_PKGNAME= gcc5
-PKGREVISION= 1
+PKGREVISION= 2
.include "version.mk"
DISTNAME= gcc-${GCC5_DIST_VERSION}
@@ -65,14 +65,6 @@
# GCC does not understand this option; remove it, or stage build will fail
BUILDLINK_TRANSFORM+= rm:-stdlib=libc++
-# Avoid ssp.h not found error.
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
-SUBST_CLASSES+= fixinc
-SUBST_STAGE.fixinc= pre-configure
-SUBST_FILES.fixinc= gcc/Makefile.in
-SUBST_SED.fixinc= -e "s,\./fixinc.sh,-c true,"
-.endif
-
.include "options.mk"
## For graphite support.
@@ -90,8 +82,8 @@
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-long-long
CONFIGURE_ARGS+= --with-local-prefix=${GCC_PREFIX:Q}
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*) && ${PKGSRC_USE_SSP:Uno} != "no"
-# on NetBSD with stack protector, use the native SSP code in libc
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-*)
+# on NetBSD, use the native SSP code in libc
CONFIGURE_ARGS+= --disable-libssp
.else
CONFIGURE_ARGS+= --enable-libssp
diff -r 2d4dc0c65249 -r ed9d66af674b lang/gcc5/distinfo
--- a/lang/gcc5/distinfo Mon Sep 05 21:14:52 2016 +0000
+++ b/lang/gcc5/distinfo Tue Sep 06 05:08:48 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2016/07/05 18:55:08 ryoon Exp $
+$NetBSD: distinfo,v 1.11 2016/09/06 05:08:48 maya Exp $
SHA1 (gcc-5.4.0.tar.bz2) = 07524df2b4ab9070bad9c49ab668da72237b8115
RMD160 (gcc-5.4.0.tar.bz2) = 7ae3413ca7e90bb21e65e637c02ddf2b675b45f4
@@ -15,7 +15,7 @@
SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
SHA1 (patch-gcc_config_netbsd-stdint.h) = 025fc883101a187e84ed4c0772406720d645d550
SHA1 (patch-gcc_config_netbsd.c) = 9d1327f926dece6e753093e759b5c8b707747ae1
-SHA1 (patch-gcc_config_netbsd.h) = b722614a3822e9800a2a8f65a87e56927d05a1b1
+SHA1 (patch-gcc_config_netbsd.h) = 47e1b5d09d0529de00163ad70f47278b82a668b3
SHA1 (patch-gcc_config_t-netbsd) = 802ad5706aa7ca9629f8e237f08fbb1569d28846
SHA1 (patch-gcc_config_x-netbsd) = 6dc3d78e26df62054ea29f98ca51592858e671e3
SHA1 (patch-gcc_configure) = d6cc6a0bd257829ca2fd077a852fc447acaa63a0
diff -r 2d4dc0c65249 -r ed9d66af674b lang/gcc5/patches/patch-gcc_config_netbsd.h
--- a/lang/gcc5/patches/patch-gcc_config_netbsd.h Mon Sep 05 21:14:52 2016 +0000
+++ b/lang/gcc5/patches/patch-gcc_config_netbsd.h Tue Sep 06 05:08:48 2016 +0000
@@ -1,6 +1,9 @@
-$NetBSD: patch-gcc_config_netbsd.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $
+$NetBSD: patch-gcc_config_netbsd.h,v 1.2 2016/09/06 05:08:48 maya Exp $
---- gcc/config/netbsd.h.orig 2014-01-02 22:23:26.000000000 +0000
+when using shared, link against libc
+another unexplained change
+
+--- gcc/config/netbsd.h.orig 2015-01-05 12:33:28.000000000 +0000
+++ gcc/config/netbsd.h
@@ -17,6 +17,9 @@ You should have received a copy of the G
along with GCC; see the file COPYING3. If not see
@@ -12,7 +15,23 @@
/* TARGET_OS_CPP_BUILTINS() common to all NetBSD targets. */
#define NETBSD_OS_CPP_BUILTINS_COMMON() \
do \
-@@ -175,3 +178,9 @@ along with GCC; see the file COPYING3.
+@@ -96,6 +99,7 @@ along with GCC; see the file COPYING3.
+ %{!pg:-lposix}} \
+ %{p:-lposix_p} \
+ %{pg:-lposix_p}} \
++ %{shared:-lc} \
+ %{!shared: \
+ %{!symbolic: \
+ %{!p: \
+@@ -109,6 +113,7 @@ along with GCC; see the file COPYING3.
+ %{!pg:-lposix}} \
+ %{p:-lposix_p} \
+ %{pg:-lposix_p}} \
++ %{shared:-lc} \
+ %{!shared: \
+ %{!symbolic: \
+ %{!p: \
+@@ -175,3 +180,9 @@ along with GCC; see the file COPYING3.
#undef WINT_TYPE
#define WINT_TYPE "int"
Home |
Main Index |
Thread Index |
Old Index