openbsd-ports/net/libproxy/patches/patch-libproxy_cmake_pxmodule_cmk
sthen d449cdab9c SECURITY update to libproxy 0.4.9; CVE-2012-4504, buffer overflow in PAC
processing.

While there, remove unnecessary patches (some fixed upstream, some workarounds
for header problems which have since been cleaned up, and change the "Build the
pacrunner into libproxy" patch into -DBIPR:BOOL=OFF in CONFIGURE_ARGS instead).

ok ajacoutot@
2012-10-12 13:01:15 +00:00

13 lines
692 B
Plaintext

$OpenBSD: patch-libproxy_cmake_pxmodule_cmk,v 1.2 2012/10/12 13:01:15 sthen Exp $
--- libproxy/cmake/pxmodule.cmk.orig Fri Oct 12 13:43:24 2012
+++ libproxy/cmake/pxmodule.cmk Fri Oct 12 13:43:32 2012
@@ -18,7 +18,7 @@ function(px_module name build builtin)
set(built "m")
set_property(SOURCE modules/${name}.cpp PROPERTY COMPILE_DEFINITIONS LIBEXECDIR="${LIBEXECDIR}")
add_library(${name} MODULE modules/${name}.cpp)
- target_link_libraries(${name} libproxy)
+ target_link_libraries(${name} proxy)
set_target_properties(${name} PROPERTIES PREFIX "")
install(TARGETS ${name} LIBRARY DESTINATION ${MODULE_INSTALL_DIR})
if(${ARGC} GREATER 3)