openbsd-ports/net/libproxy/patches/patch-libproxy_CMakeLists_txt
ajacoutot 518ac6d7b6 Major update to libproxy-0.4.6.
Several patches from the FreeBSD port.

Create -mozilla and -webkit subpackages. Do NOT build -webkit by default
because of a cyclic dependency:
libproxy,-webkit -> webkit -> libsoup -> libproxy

tested in a bulk by landry@
ok landry@
2011-03-24 06:50:09 +00:00

16 lines
513 B
Plaintext

$OpenBSD: patch-libproxy_CMakeLists_txt,v 1.1 2011/03/24 06:50:09 ajacoutot Exp $
error: '::wcstof' has not been declared
--- libproxy/CMakeLists.txt.orig Tue Mar 22 09:13:30 2011
+++ libproxy/CMakeLists.txt Tue Mar 22 09:13:36 2011
@@ -6,7 +6,7 @@ set_project_version(0 4 6)
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)