summaryrefslogtreecommitdiffstats
path: root/package/kodi-screensaver-rsxs/0002-fix-default-include-dir.patch
blob: a7e7c74b0f2286e5cbbe082003262e628ea97849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Fix X include path to prevent error during configure

Downloaded from
https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/mediacenter/kodi-binary-addons/screensavers.rsxs/patches/screensavers.rsxs-0002-fix-default-include-dir.patch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

diff -Naur screensavers.rsxs-3241d29.orig/CMakeLists.txt screensavers.rsxs-3241d29/CMakeLists.txt
--- screensavers.rsxs-3241d29.orig/CMakeLists.txt	2015-10-22 23:59:38.187280475 -0700
+++ screensavers.rsxs-3241d29/CMakeLists.txt	2015-10-23 00:00:27.228113829 -0700
@@ -17,7 +17,7 @@
 include_directories(${OpenGL_INCLUDE_DIR}
                     ${PNG_INCLUDE_DIR}
                     ${KODI_INCLUDE_DIR}
-                    ${X_INCLUDE_DIRS}
+                    ${X_INCLUDE_DIR}
                     ${CMAKE_BINARY_DIR}/rsxs-prefix/src/rsxs-build
                     ${PROJECT_SOURCE_DIR}/${rsxs_dir}/src
                     ${PROJECT_SOURCE_DIR}/${rsxs_dir}/lib
@@ -67,7 +67,7 @@
                                       --disable-skyrocket
                                       --disable-solarwinds
                                       --disable-sound
-                                      --x-includes=${X_INCLUDE_DIRS}
+                                      --x-includes=${X_INCLUDE_DIR}
                                       --x-libraries=${X_LIBRARIES}
                                       ${PNG_PATH}
                                       ${EXTRA_FLAGS}
OpenPOWER on IntegriCloud