From owner-svn-ports-head@freebsd.org Mon Jul 9 08:29:45 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE10F102F5A4; Mon, 9 Jul 2018 08:29:45 +0000 (UTC) (envelope-from joerg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FF618A89E; Mon, 9 Jul 2018 08:29:45 +0000 (UTC) (envelope-from joerg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 714DC128DD; Mon, 9 Jul 2018 08:29:45 +0000 (UTC) (envelope-from joerg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w698Tj76056900; Mon, 9 Jul 2018 08:29:45 GMT (envelope-from joerg@FreeBSD.org) Received: (from joerg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w698TjNh056898; Mon, 9 Jul 2018 08:29:45 GMT (envelope-from joerg@FreeBSD.org) Message-Id: <201807090829.w698TjNh056898@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joerg set sender to joerg@FreeBSD.org using -f From: Joerg Wunsch Date: Mon, 9 Jul 2018 08:29:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474239 - in head/games/xmahjongg: . files X-SVN-Group: ports-head X-SVN-Commit-Author: joerg X-SVN-Commit-Paths: in head/games/xmahjongg: . files X-SVN-Commit-Revision: 474239 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2018 08:29:46 -0000 Author: joerg Date: Mon Jul 9 08:29:44 2018 New Revision: 474239 URL: https://svnweb.freebsd.org/changeset/ports/474239 Log: Fix build errors seen by recent C++ compilers. While being here, add LICENSE. Added: head/games/xmahjongg/files/ head/games/xmahjongg/files/patch-lcdf (contents, props changed) Modified: head/games/xmahjongg/Makefile Modified: head/games/xmahjongg/Makefile ============================================================================== --- head/games/xmahjongg/Makefile Mon Jul 9 08:19:46 2018 (r474238) +++ head/games/xmahjongg/Makefile Mon Jul 9 08:29:44 2018 (r474239) @@ -3,12 +3,14 @@ PORTNAME= xmahjongg PORTVERSION= 3.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://www.lcdf.org/xmahjongg/ MAINTAINER= joerg@FreeBSD.org -COMMENT= The Chinese game of Mahjongg for X11 +COMMENT= Chinese game of Mahjongg for X11 + +LICENSE= GPLv2 USE_XORG= x11 GNU_CONFIGURE= yes Added: head/games/xmahjongg/files/patch-lcdf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xmahjongg/files/patch-lcdf Mon Jul 9 08:29:44 2018 (r474239) @@ -0,0 +1,24 @@ +--- include/lcdf/vector.hh.orig 2003-11-17 03:21:23 UTC ++++ include/lcdf/vector.hh +@@ -7,7 +7,7 @@ + #elif defined(HAVE_NEW_H) + # include + #else +-static inline void *operator new(size_t, void *v) { return v; } ++inline void *operator new(size_t, void *v) { return v; } + #endif + + template +--- liblcdf/permstr.cc.orig 2004-11-21 19:01:59 UTC ++++ liblcdf/permstr.cc +@@ -111,8 +111,8 @@ static int scatter[] = { /* map c + void + PermString::initialize(const char* s, int length) + { +- register unsigned char* m = (unsigned char*) s; +- register unsigned char* mm; ++ unsigned char* m = (unsigned char*) s; ++ unsigned char* mm; + + if (length < 0) + length = (s ? strlen(s) : 0);