summaryrefslogtreecommitdiff
path: root/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt
diff options
context:
space:
mode:
authorFrank Scholl <maintainer.freebsd@xpoundit.com>2021-08-07 17:40:42 -0400
committerGuangyuan Yang <ygy@FreeBSD.org>2021-08-07 17:40:42 -0400
commitb660b9f923286590d1bfb59406f3c263f8f9620d (patch)
treee35255f1c0330ca3586261822d146e2a9dc6e80a /science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt
parentdevel/py-ciso8601: Update to 2.2.0 (diff)
science/orthanc-postgresql: Revive port
Orthanc plugin to use PostgreSQL for indexing or storage. PR: 242548
Diffstat (limited to 'science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt')
-rw-r--r--science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt b/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt
new file mode 100644
index 000000000000..389ee26f4b28
--- /dev/null
+++ b/science/orthanc-postgresql/files/patch-PostgreSQL_CMakeLists.txt
@@ -0,0 +1,12 @@
+--- PostgreSQL/CMakeLists.txt.orig 2021-05-17 12:24:06 UTC
++++ PostgreSQL/CMakeLists.txt
+@@ -23,6 +23,9 @@ set(OPENSSL_STATIC_VERSION "1.1.1" CACHE STRING "Force
+
+ include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesPluginConfiguration.cmake)
+
++set(CMAKE_CXX_STANDARD 11)
++set(CMAKE_CXX_STANDARD_REQUIRED ON)
++set(CMAKE_CXX_EXTENSIONS OFF)
+
+ if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
+ execute_process(