aboutsummaryrefslogtreecommitdiff
path: root/libs/libgd/patches
diff options
context:
space:
mode:
authorAlexander Ryzhov <github@ryzhov-al.ru>2019-09-26 13:39:53 +0300
committerAlexander Ryzhov <github@ryzhov-al.ru>2019-09-26 13:42:11 +0300
commit7a17805b6df2877cd30c9fdff79637ef13bbcd56 (patch)
treea2567541a0444efabb4e6c133942ed25361133e0 /libs/libgd/patches
parent47b59867501803162a5bea22b3bdc85df8d7ecb2 (diff)
ibgd: avoid using host headers
Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
Diffstat (limited to 'libs/libgd/patches')
-rw-r--r--libs/libgd/patches/220-exclude_host_headers.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/libgd/patches/220-exclude_host_headers.patch b/libs/libgd/patches/220-exclude_host_headers.patch
new file mode 100644
index 000000000..a1571ddaa
--- /dev/null
+++ b/libs/libgd/patches/220-exclude_host_headers.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -89,8 +89,6 @@
+ GV_LT(VERSION GDLIB_LIB_VERSION)
+ MESSAGE(STATUS "gd shared lib version ${GDLIB_LIB_SOVERSION} (${GDLIB_LIB_VERSION})")
+
+- SET(CMAKE_REQUIRED_INCLUDES "/usr/include" "/usr/local/include")
+-
+ include(CheckIncludeFiles)
+ include(CheckIncludeFile)
+