File 0001-Add-cross-compile-support-for-meinproc.patch of Package mingw32-kdelibs4

From 899145d743e10f4fca97e3f241735fad6d735948 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@sag.eu>
Date: Mon, 20 Jul 2015 16:54:29 +0200
Subject: [PATCH] Add cross compile support for meinproc.

---
 cmake/modules/FindKDE4Internal.cmake | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cmake/modules/FindKDE4Internal.cmake b/cmake/modules/FindKDE4Internal.cmake
index 2731ce2..e2e9ef2 100644
--- a/cmake/modules/FindKDE4Internal.cmake
+++ b/cmake/modules/FindKDE4Internal.cmake
@@ -512,7 +512,9 @@ if (_kdeBootStrapping)
         if (NOT KDE4_KCFGC_EXECUTABLE)
           set(KDE4_KCFGC_EXECUTABLE             ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/kconfig_compiler )
         endif()
-        set(KDE4_MEINPROC_EXECUTABLE          ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/meinproc4 )
+        if (NOT KDE4_MEINPROC_EXECUTABLE)
+          set(KDE4_MEINPROC_EXECUTABLE          ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/meinproc4 )
+        endif()
       else (NOT WINCE)
         set(KDE4_KCFGC_EXECUTABLE             ${HOST_BINDIR}/${CMAKE_CFG_INTDIR}/kconfig_compiler )
         set(KDE4_MEINPROC_EXECUTABLE          ${HOST_BINDIR}/${CMAKE_CFG_INTDIR}/meinproc4 )
-- 
1.8.4.5

openSUSE Build Service is sponsored by