From nobody@FreeBSD.org  Tue Nov  8 13:54:02 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B0E6C1065674
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Nov 2011 13:54:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id A16158FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Nov 2011 13:54:02 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pA8Ds2rl013292
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 8 Nov 2011 13:54:02 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pA8Ds23e013260;
	Tue, 8 Nov 2011 13:54:02 GMT
	(envelope-from nobody)
Message-Id: <201111081354.pA8Ds23e013260@red.freebsd.org>
Date: Tue, 8 Nov 2011 13:54:02 GMT
From: Yuri Karaban <dev@dev97.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: databases/mysql++3: portability fix for gcc-4.6
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: dudu@dudu.ro

>Number:         162377
>Category:       ports
>Synopsis:       databases/mysql++3: portability fix for gcc-4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 08 14:00:22 UTC 2011
>Closed-Date:    Fri Nov 25 18:24:47 UTC 2011
>Last-Modified:  Fri Nov 25 18:30:19 UTC 2011
>Originator:     Yuri Karaban
>Release:        9.0-RC1
>Organization:
>Environment:
>Description:
In lib/refcounted.h size_t is used without including proper headers (it seems in earlier versions of gcc <memory> included <cstddef>).

Please apply one line patch to include <cstddef> for size_t definition.

Thanks!
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- lib/refcounted.h.orig	2010-06-03 20:59:23.000000000 +0300
+++ lib/refcounted.h	2011-11-08 15:45:51.024492252 +0200
@@ -29,6 +29,7 @@
 #define MYSQLPP_REFCOUNTED_H
 
 #include <memory>
+#include <cstddef>
 
 namespace mysqlpp {
 


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Nov 8 14:00:34 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: dudu@dudu.ro
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/162377: databases/mysql++3: portability fix for gcc-4.6
Date: Tue, 8 Nov 2011 14:00:31 UT

 Maintainer of databases/mysql++3,
 
 Please note that PR ports/162377 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162377
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Vlad Galu <dudu@dudu.ro>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162377: databases/mysql++3: portability fix for gcc-4.6
Date: Tue, 8 Nov 2011 14:03:56 +0000

 On Nov 8, 2011, at 2:00 PM, Edwin Groothuis wrote:
 
 > Maintainer of databases/mysql++3,
 >=20
 > Please note that PR ports/162377 has just been submitted.
 >=20
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >=20
 > The full text of the PR can be found at:
 >    http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/162377
 >=20
 > --=20
 > Edwin Groothuis via the GNATS Auto Assign Tool
 > edwin@FreeBSD.org
 
 
 Hi Edwin,
 
 Sure, go ahead. However, I can't seem to find that PR, GNATS says it =
 doesn't exist.
 
 Good, fast & cheap: pick any two.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Nov 25 18:24:46 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162377: commit references a PR
Date: Fri, 25 Nov 2011 18:24:50 +0000 (UTC)

 miwi        2011-11-25 18:24:36 UTC
 
   FreeBSD ports repository
 
   Added files:
     databases/mysql++3/files patch-lib_refcounted.h 
   Log:
   - Fix build with GCC 4.6
   
   PR:             162377
   Submitted by:   Yuri Karaban <dev@dev97.com>
   Approved by:    maintainer
   Feature safe:   yes
   
   Revision  Changes    Path
   1.1       +16 -0     ports/databases/mysql++3/files/patch-lib_refcounted.h (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:
