From owner-freebsd-perl@FreeBSD.ORG Sat Mar 15 10:00:01 2014 Return-Path: Delivered-To: perl@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5DA5A03 for ; Sat, 15 Mar 2014 10:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 7A2066D4 for ; Sat, 15 Mar 2014 10:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2FA01pr002221 for ; Sat, 15 Mar 2014 10:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2FA01g5002220; Sat, 15 Mar 2014 10:00:01 GMT (envelope-from gnats) Date: Sat, 15 Mar 2014 10:00:01 GMT Message-Id: <201403151000.s2FA01g5002220@freefall.freebsd.org> To: perl@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/187571: commit references a PR X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: dfilter service List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 10:00:01 -0000 The following reply was made to PR ports/187571; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/187571: commit references a PR Date: Sat, 15 Mar 2014 09:57:44 +0000 (UTC) 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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"