summaryrefslogtreecommitdiff
path: root/emulators/tme
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2014-01-16 10:59:58 +0000
committermartin <martin@pkgsrc.org>2014-01-16 10:59:58 +0000
commit66c859b027537e28e85f14031e4b37a650da5197 (patch)
treea608ccfc1f80e59949b509ba8c090245e16b0f85 /emulators/tme
parent3e70af6545a56aab8f542b4b815b67211d697070 (diff)
downloadpkgsrc-66c859b027537e28e85f14031e4b37a650da5197.tar.gz
Ugly hacks to make it buildable with gcc 4.8 (some need closer investigation
sometime(tm))
Diffstat (limited to 'emulators/tme')
-rw-r--r--emulators/tme/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index 14ee8be110f..ecebbcb32c6 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2013/12/28 19:16:47 martin Exp $
+# $NetBSD: Makefile,v 1.48 2014/01/16 10:59:58 martin Exp $
#
DISTNAME= tme-0.8
@@ -27,6 +27,10 @@ BUILDLINK_DEPMETHOD.libXt?= build
_WRAP_EXTRA_ARGS.CC+= -Wno-error=tautological-compare \
-Wno-error=sometimes-uninitialized \
-Wno-error=unused-function
+.elif !empty(CC_VERSION:Mgcc-4.8.*)
+_WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-but-set-variable \
+ -Wno-error=array-bounds \
+ -fno-strict-aliasing
.endif