pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/gettext-tools
Module Name: pkgsrc
Committed By: rin
Date: Fri May 7 13:01:58 UTC 2021
Modified Files:
pkgsrc/devel/gettext-tools: Makefile
Added Files:
pkgsrc/devel/gettext-tools: hacks.mk
Log Message:
gettext-tools: Work around optimization bug for GCC/alpha. Bump revision.
Compile this package with -O0 for GCC 10 and 9 on alpha. Otherwise,
``env LANG=en_US.UTF-8 /usr/pkg/bin/xgettext --version'' receives SIGSEGV.
XXX
Unfortunately, this package is not fully supported by buildlink, and
BUILDLINK_TRANSFORM does not work...
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/gettext-tools/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gettext-tools/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/devel/gettext-tools/Makefile
diff -u pkgsrc/devel/gettext-tools/Makefile:1.41 pkgsrc/devel/gettext-tools/Makefile:1.42
--- pkgsrc/devel/gettext-tools/Makefile:1.41 Wed Aug 12 23:31:10 2020
+++ pkgsrc/devel/gettext-tools/Makefile Fri May 7 13:01:58 2021
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.41 2020/08/12 23:31:10 joerg Exp $
+# $NetBSD: Makefile,v 1.42 2021/05/07 13:01:58 rin Exp $
.include "../../devel/gettext/Makefile.common"
PKGNAME= ${DISTNAME:S/-/-tools-/}
COMMENT= Tools for providing messages in different languages
-PKGREVISION= 1
+PKGREVISION= 2
DISTINFO_FILE= ${.CURDIR}/../../devel/gettext/distinfo
PATCHDIR= ${.CURDIR}/../../devel/gettext/patches
Added files:
Index: pkgsrc/devel/gettext-tools/hacks.mk
diff -u /dev/null pkgsrc/devel/gettext-tools/hacks.mk:1.1
--- /dev/null Fri May 7 13:01:58 2021
+++ pkgsrc/devel/gettext-tools/hacks.mk Fri May 7 13:01:58 2021
@@ -0,0 +1,17 @@
+# $NetBSD: hacks.mk,v 1.1 2021/05/07 13:01:58 rin Exp $
+
+.if !defined(GETTEXT_TOOLS_HACKS_MK)
+GETTEXT_TOOLS_HACKS_MK= defined
+
+.include "../../mk/compiler.mk"
+
+# GCC 10 and 9 miscompile this for alpha, which results in SIGSEGV for
+# ``env LANG=en_US.UTF-8 /usr/pkg/bin/xgettext --version''.
+.if ${MACHINE_ARCH} == "alpha" && \
+ (!empty(CC_VERSION:Mgcc-10.*) || !empty(CC_VERSION:Mgcc-9.*))
+PKG_HACKS+= optimisation
+CFLAGS+= -O0
+CXXFLAGS+= -O0
+.endif
+
+.endif
Home |
Main Index |
Thread Index |
Old Index