From fluffy@Fluffy.Khv.RU  Sat Jun  2 16:00:36 2012
Return-Path: <fluffy@Fluffy.Khv.RU>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E65EF106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Jun 2012 16:00:36 +0000 (UTC)
	(envelope-from fluffy@Fluffy.Khv.RU)
Received: from ns.ael.RU (ns.ael.ru [62.76.207.226])
	by mx1.freebsd.org (Postfix) with ESMTP id 073B48FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  2 Jun 2012 16:00:35 +0000 (UTC)
Received: from Beastie.Fluffy.Khv.RU (host85.static2.l2tp.ttkdv.ru [46.38.1.85] (may be forged))
	by ns.ael.RU (8.14.4/8.14.3/Fluffy/5.3) with ESMTP id q52FxhfE018423
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 3 Jun 2012 02:59:45 +1100 (VLAT)
	(envelope-from fluffy@Fluffy.Khv.RU)
Received: from Beastie.Fluffy.Khv.RU (localhost [127.0.0.1])
	by Beastie.Fluffy.Khv.RU (8.14.5/8.14.5/Fluffy/5.4.1) with ESMTP id q52FxYL8083928
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 3 Jun 2012 02:59:34 +1100 (VLAT)
	(envelope-from fluffy@Fluffy.Khv.RU)
Received: (from fluffy@localhost)
	by Beastie.Fluffy.Khv.RU (8.14.5/8.14.5/Submit) id q52FxXRi083925;
	Sun, 3 Jun 2012 02:59:33 +1100 (VLAT)
	(envelope-from fluffy)
Message-Id: <201206021559.q52FxXRi083925@Beastie.Fluffy.Khv.RU>
Date: Sun, 3 Jun 2012 02:59:33 +1100 (VLAT)
From: Dima Panov <fluffy@freebsd.org>
Reply-To: Dima Panov <fluffy@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: www/suphp: unbroke with clang/gcc47+ 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         168579
>Category:       ports
>Synopsis:       www/suphp: unbroke with clang/gcc47+
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    yzlin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 02 16:10:14 UTC 2012
>Closed-Date:    Wed Jun 20 01:31:21 UTC 2012
>Last-Modified:  Wed Jun 20 01:40:10 UTC 2012
>Originator:     Dima Panov
>Release:        FreeBSD 10.0-1000013-CURRENT amd64
>Organization:
Twilight Zone
>Environment:
System: FreeBSD Beastie.Fluffy.Khv.RU 10.0-1000013-CURRENT FreeBSD 10.0-1000013-CURRENT #0 r236301M: Wed May 30 22:26:15 VLAT 2012 toor@Beastie.Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot amd64


	
>Description:
	www/suphp: unbroke with clang/gcc47+ by use restrictive C++ construction
	
	patch obtained from PkgSrc repo
	
>How-To-Repeat:
	
>Fix:

	

Index: www/suphp/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/suphp/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- www/suphp/Makefile	20 Aug 2011 17:27:51 -0000	1.43
+++ www/suphp/Makefile	2 Jun 2012 15:55:14 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	suphp
 PORTVERSION=	0.7.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	www
 MASTER_SITES=	http://www.suphp.org/download/ \
 		${MASTER_SITE_LOCAL:S|%SUBDIR%|koitsu|}
Index: www/suphp/files/patch-src_SmartPtr.hpp
===================================================================
RCS file: www/suphp/files/patch-src_SmartPtr.hpp
diff -N www/suphp/files/patch-src_SmartPtr.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ www/suphp/files/patch-src_SmartPtr.hpp	21 Sep 2011 12:54:16 -0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_SmartPtr.hpp,v 1.1 2011/09/21 12:54:16 adam Exp $
+
+Fix C++ syntax
+
+--- src/SmartPtr.hpp.orig	2011-09-21 12:48:02.000000000 +0000
++++ src/SmartPtr.hpp
+@@ -150,7 +150,7 @@ namespace suPHP {
+     template<class T>
+     const SmartPtr<T>& suPHP::SmartPtr<T>::operator=(
+         const SmartPtr<T>& ref) {
+-        this.reset(ref.ptr);
++        this->reset(ref.ptr);
+         return *this;
+     }
+     

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->yzlin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 3 11:18:45 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168579 
State-Changed-From-To: open->closed 
State-Changed-By: fluffy 
State-Changed-When: Wed Jun 20 01:31:20 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168579 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/168579: commit references a PR
Date: Wed, 20 Jun 2012 01:30:51 +0000 (UTC)

 fluffy      2012-06-20 01:30:36 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/suphp            Makefile 
   Added files:
     www/suphp/files      patch-src_SmartPtr.hpp 
   Log:
   - Unbroke with clang/gcc47+ by use restrictive C++ construction
   - Declare that code use gnu89 style
   - No PORTREVISION bump, users with base gcc not affected
   
   PR:             168579
   Submitted by:   myself
   Approved by:    maintainer timeout (> 2 weeks)
   Obtained from:  PkgSrc repo
   
   Revision  Changes    Path
   1.44      +1 -0      ports/www/suphp/Makefile
   1.1       +15 -0     ports/www/suphp/files/patch-src_SmartPtr.hpp (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
