From owner-svn-ports-all@FreeBSD.ORG Sat Mar 15 09:57:41 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D2DD8D4; Sat, 15 Mar 2014 09:57:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 10EAE6B8; Sat, 15 Mar 2014 09:57:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2F9ve0S002827; Sat, 15 Mar 2014 09:57:40 GMT (envelope-from thierry@svn.freebsd.org) Received: (from thierry@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2F9veIk002825; Sat, 15 Mar 2014 09:57:40 GMT (envelope-from thierry@svn.freebsd.org) Message-Id: <201403150957.s2F9veIk002825@svn.freebsd.org> From: Thierry Thomas Date: Sat, 15 Mar 2014 09:57:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348304 - in head/lang/perl5.16: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 09:57:41 -0000 Author: thierry Date: Sat Mar 15 09:57:40 2014 New Revision: 348304 URL: http://svnweb.freebsd.org/changeset/ports/348304 QAT: https://qat.redports.org/buildarchive/r348304/ Log: Fix the build of x11/rxvt-unicode with clang34, by defining a more C++-friendly dNOOP. Note: don't apply the patch proposed in the PR, but a patch proposed by Craig A. Berry at http://perl5.git.perl.org/perl.git/commit/7db66e12883f0832ca80164b723768b848187bda as suggested by az@. PR: ports/187571 Submitted by: /me Reported by: Thomas Hoffmann Approved by: az Added: head/lang/perl5.16/files/patch-perl.h (contents, props changed) Modified: head/lang/perl5.16/Makefile Modified: head/lang/perl5.16/Makefile ============================================================================== --- head/lang/perl5.16/Makefile Sat Mar 15 09:50:04 2014 (r348303) +++ head/lang/perl5.16/Makefile Sat Mar 15 09:57:40 2014 (r348304) @@ -3,7 +3,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN \ ${MASTER_SITE_LOCAL:S/$/:local/} \ @@ -77,7 +77,7 @@ PKGDEINSTALL= ${WRKDIR}/use.perl .include "${PORTSDIR}/Mk/bsd.default-versions.mk" # if this port is default due PERL5_DEFAULT -# change PKGNAME to reflect this +# change PKGNAME to reflect this .if ${PERL_VER} == ${PERL5_DEFAULT} PKGNAMESUFFIX= ${PERL_VERSION:C/\.[0-9]+\.[0-9]+$//} .else Added: head/lang/perl5.16/files/patch-perl.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/perl5.16/files/patch-perl.h Sat Mar 15 09:57:40 2014 (r348304) @@ -0,0 +1,14 @@ +--- perl.h.orig 2013-03-04 16:16:22.000000000 +0100 ++++ perl.h 2014-03-15 10:42:19.000000000 +0100 +@@ -359,7 +359,11 @@ + /* Rats: if dTHR is just blank then the subsequent ";" throws an error */ + /* Declaring a *function*, instead of a variable, ensures that we don't rely + on being able to suppress "unused" warnings. */ ++#ifdef __cplusplus ++#define dNOOP (void)0 ++#else + #define dNOOP extern int Perl___notused(void) ++#endif + + #ifndef pTHX + /* Don't bother defining tTHX and sTHX; using them outside