openbsd-ports/net/libproxy/patches/patch-libproxy_CMakeLists_txt
ajacoutot cc08e8fa9c Update to libproxy-0.4.7.
Moves from gconf to gsettings.
Comment the mozilla FLAVOR for now as it requires a newer xulrunner.
2012-03-29 14:58:24 +00:00

16 lines
513 B
Plaintext

$OpenBSD: patch-libproxy_CMakeLists_txt,v 1.2 2012/03/29 14:58:24 ajacoutot Exp $
error: '::wcstof' has not been declared
--- libproxy/CMakeLists.txt.orig Mon Jun 6 23:44:37 2011
+++ libproxy/CMakeLists.txt Thu Mar 29 11:29:08 2012
@@ -6,7 +6,7 @@ set_project_version(0 4 7)
if (WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS=1)
else(WIN32)
- add_definitions(-D_POSIX_C_SOURCE=1)
+# add_definitions(-D_POSIX_C_SOURCE=1)
set(CMAKE_CXX_FLAGS "-fvisibility=hidden ${CMAKE_CXX_FLAGS}")
endif(WIN32)