aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-03-26 07:36:27 +0800
committerjkim <jkim@FreeBSD.org>2015-03-26 07:36:27 +0800
commite96e838357928c3252629caa5ea736d1ed92480c (patch)
tree84980e63b2a9a9e7a487e04701d5702945574dfb /net
parent0c8bec8d1565cd01e8fc1017de057d1986719d12 (diff)
downloadfreebsd-ports-graphics-e96e838357928c3252629caa5ea736d1ed92480c.tar.gz
freebsd-ports-graphics-e96e838357928c3252629caa5ea736d1ed92480c.tar.zst
freebsd-ports-graphics-e96e838357928c3252629caa5ea736d1ed92480c.zip
Fix build with recent opensslv.h.
Diffstat (limited to 'net')
-rw-r--r--net/freerdp/files/patch-cmake-FindOpenSSL.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/freerdp/files/patch-cmake-FindOpenSSL.cmake b/net/freerdp/files/patch-cmake-FindOpenSSL.cmake
new file mode 100644
index 00000000000..ab1f912cb91
--- /dev/null
+++ b/net/freerdp/files/patch-cmake-FindOpenSSL.cmake
@@ -0,0 +1,11 @@
+--- cmake/FindOpenSSL.cmake.orig 2013-07-10 04:00:21.000000000 -0400
++++ cmake/FindOpenSSL.cmake 2015-03-25 19:26:35.154024000 -0400
+@@ -270,7 +270,7 @@
+ set(OPENSSL_VERSION "${_OPENSSL_VERSION}")
+ elseif(OPENSSL_INCLUDE_DIR AND EXISTS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h")
+ file(STRINGS "${OPENSSL_INCLUDE_DIR}/openssl/opensslv.h" openssl_version_str
+- REGEX "^#define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*")
++ REGEX "^#[\t ]+define[\t ]+OPENSSL_VERSION_NUMBER[\t ]+0x([0-9a-fA-F])+.*")
+
+ # The version number is encoded as 0xMNNFFPPS: major minor fix patch status
+ # The status gives if this is a developer or prerelease and is ignored here.