ports/162377: databases/mysql++3: portability fix for gcc-4.6

Yuri Karaban dev at dev97.com
Tue Nov 8 14:00:24 UTC 2011

>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:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 08 14:00:22 UTC 2011
>Originator:     Yuri Karaban
>Release:        9.0-RC1
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.



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 @@
 #include <memory>
+#include <cstddef>
 namespace mysqlpp {


More information about the freebsd-ports-bugs mailing list