Subject: CVS commit: pkgsrc/devel/poco
From: Filip Hajny
Date: 2012-07-29 13:26:54
Message id: 20120729112655.03683175DD@cvs.netbsd.org

Log Message:
Fix the C99 problem on SunOS properly.

GCC 4.6 and newer on SunOS will force C99 with C++, which requires
_XOPEN_SOURCE=600 to be set. On the other hand, GCC 4.5 and earlier will
require C99 for _XOPEN_SOURCE=600, but reject C99 for C++ code.

Set _XOPEN_SOURCE to 500 or 600 accordingly.

Files:
RevisionActionfile
1.7modifypkgsrc/devel/poco/Makefile.common
1.8modifypkgsrc/devel/poco/distinfo
1.2modifypkgsrc/devel/poco/patches/patch-Foundation_src_SharedMemory.cpp
1.3modifypkgsrc/devel/poco/patches/patch-build_config_SunOS-GCC