openbsd-ports/x11/freerdp/patches/patch-CMakeLists_txt
landry 1b33ef2e47 Update to FreeRDP 2.0.0rc1, original diff from semarie@
Don't update to 2.0.0rc2, as it now requires POSIX timers that we lack
(ie timer_create(), cf #4592)
Switch to real releases instead of github
Fixes a bunch of vulns, cf
https://blog.talosintelligence.com/2017/07/vulnerbility-spotlight-freerdp-multiple.html

tested by denis@ giovanni@ ajacoutot@ sthen@, thanks!
ok ajacoutot@ sthen@
2018-04-28 19:20:17 +00:00

19 lines
497 B
Plaintext

$OpenBSD: patch-CMakeLists_txt,v 1.6 2018/04/28 19:20:17 landry Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -953,9 +953,9 @@ if(WAYLAND_FOUND)
endif()
if(BSD)
- if(IS_DIRECTORY /usr/local/include)
- include_directories(/usr/local/include)
- link_directories(/usr/local/lib)
+ if(IS_DIRECTORY ${LOCALBASE}/include)
+ include_directories(${LOCALBASE}/include)
+ link_directories(${LOCALBASE}/lib)
endif()
if(OPENBSD)
if(IS_DIRECTORY /usr/X11R6/include)