diff options
author | maya <maya@pkgsrc.org> | 2018-04-10 03:39:17 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2018-04-10 03:39:17 +0000 |
commit | ba483ab3db81839f90c89dc5bff7eb3ca69e661e (patch) | |
tree | 5b4b9255cee353634b973ce0b4bbd454fbe2a5bd /games | |
parent | a69b06e7992a4480d1bc0f03d722b90ae2dbbfe7 (diff) | |
download | pkgsrc-ba483ab3db81839f90c89dc5bff7eb3ca69e661e.tar.gz |
xmahjongg: force c++03. Fixes build issue (GCC 6.4)
permstr.cc: In function 'bool operator==(PermString, const char*)':
permstr.cc:163:26: error: no matching function for call to 'operator==(PermString&, bool)'
if (operator==(a, false) || !b)
^
In file included from permstr.cc:19:0:
../include/lcdf/permstr.hh:113:1: note: candidate: bool operator==(PermString, PermString)
operator==(PermString a, PermString b)
^~~~~~~~
Diffstat (limited to 'games')
-rw-r--r-- | games/xmahjongg/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/xmahjongg/Makefile b/games/xmahjongg/Makefile index ed6152ff10c..35037f5fea4 100644 --- a/games/xmahjongg/Makefile +++ b/games/xmahjongg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2012/10/06 11:55:01 asau Exp $ +# $NetBSD: Makefile,v 1.30 2018/04/10 03:39:17 maya Exp $ # DISTNAME= xmahjongg-3.7 @@ -11,7 +11,7 @@ HOMEPAGE= http://www.lcdf.org/~eddietwo/xmahjongg/ COMMENT= The Chinese game of Mah Jongg for X11 GNU_CONFIGURE= YES -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++03 .include "../../mk/bsd.prefs.mk" # XXX: hack - work round an ICE with GCC 3.3 on sparc |