pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/vala
Module Name: pkgsrc
Committed By: tsutsui
Date: Mon Dec 24 00:10:09 UTC 2018
Modified Files:
pkgsrc/lang/vala: Makefile
Added Files:
pkgsrc/lang/vala: hacks.mk
Log Message:
vala: add hacks.mk to avoid SEGV of vala binaries on NetBSD/earmv6hf 8.0.
Bump PKGREVISION to denote visible binary changes on arm.
Fixes PR pkg/53743. Ok'ed by wiz@
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/lang/vala/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/vala/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/vala/Makefile
diff -u pkgsrc/lang/vala/Makefile:1.47 pkgsrc/lang/vala/Makefile:1.48
--- pkgsrc/lang/vala/Makefile:1.47 Sat Dec 1 17:19:33 2018
+++ pkgsrc/lang/vala/Makefile Mon Dec 24 00:10:09 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.47 2018/12/01 17:19:33 wiz Exp $
+# $NetBSD: Makefile,v 1.48 2018/12/24 00:10:09 tsutsui Exp $
DISTNAME= vala-0.42.3
+PKGREVISION= 1
CATEGORIES= lang gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vala/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
Added files:
Index: pkgsrc/lang/vala/hacks.mk
diff -u /dev/null pkgsrc/lang/vala/hacks.mk:1.1
--- /dev/null Mon Dec 24 00:10:09 2018
+++ pkgsrc/lang/vala/hacks.mk Mon Dec 24 00:10:09 2018
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2018/12/24 00:10:09 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.
+### Compiling with `-fno-optimize-sibling-calls' works around.
+###
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && !empty(CC_VERSION:Mgcc-5.*)
+PKG_HACKS+= optimisation
+CFLAGS+= -fno-optimize-sibling-calls
+.endif
+
+.endif # VALA_HACKS_MK
Home |
Main Index |
Thread Index |
Old Index