pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/vala vala: apply the same hack as PR pkg/53743 fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c4f97fff0b1
branches:  trunk
changeset: 389265:5c4f97fff0b1
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Mon Dec 24 14:45:50 2018 +0000

description:
vala: apply the same hack as PR pkg/53743 for gcc 6.5.0 for NetBSD/evbarm.

Reported by bouyer@:
 http://mail-index.netbsd.org/pkgsrc-changes/2018/12/24/msg185017.html
Bump PKGREVISION again.

diffstat:

 lang/vala/Makefile |  4 ++--
 lang/vala/hacks.mk |  9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 3b23273a7486 -r 5c4f97fff0b1 lang/vala/Makefile
--- a/lang/vala/Makefile        Mon Dec 24 13:56:44 2018 +0000
+++ b/lang/vala/Makefile        Mon Dec 24 14:45:50 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2018/12/24 00:10:09 tsutsui Exp $
+# $NetBSD: Makefile,v 1.49 2018/12/24 14:45:50 tsutsui Exp $
 
 DISTNAME=      vala-0.42.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/vala/${PKGVERSION_NOREV:R}/}
 EXTRACT_SUFX=  .tar.xz
diff -r 3b23273a7486 -r 5c4f97fff0b1 lang/vala/hacks.mk
--- a/lang/vala/hacks.mk        Mon Dec 24 13:56:44 2018 +0000
+++ b/lang/vala/hacks.mk        Mon Dec 24 14:45:50 2018 +0000
@@ -1,15 +1,16 @@
-# $NetBSD: hacks.mk,v 1.1 2018/12/24 00:10:09 tsutsui Exp $
+# $NetBSD: hacks.mk,v 1.2 2018/12/24 14:45:50 tsutsui Exp $
 
 .if !defined(VALA_HACKS_MK)
 VALA_HACKS_MK= defined
 
 .include "../../mk/compiler.mk"
 
-### On NetBSD/earmv6hf 8.0 with gcc 5.5.0, vala binaries compiled with the
-### default optiomization options produce segmentation faulting.
+### On NetBSD/earmv6hf 8.0 with gcc 5.5.0 and 8.99.25 with gcc 6.5.0,
+### vala binaries compiled with the default optiomization options produce
+### segmentation faulting.
 ### Compiling with `-fno-optimize-sibling-calls' works around.
 ###
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && !empty(CC_VERSION:Mgcc-5.*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && !empty(CC_VERSION:Mgcc-[56].*)
 PKG_HACKS+=    optimisation
 CFLAGS+=       -fno-optimize-sibling-calls
 .endif



Home | Main Index | Thread Index | Old Index