From d466ef49f224a9347fe0375eac8126725e10a0a4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 23 Feb 2012 23:15:11 +0000 Subject: Thu Feb 23 23:15:11 UTC 2012 --- community/qtcurve-kde3/bypass-kde-config.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 community/qtcurve-kde3/bypass-kde-config.patch (limited to 'community/qtcurve-kde3/bypass-kde-config.patch') diff --git a/community/qtcurve-kde3/bypass-kde-config.patch b/community/qtcurve-kde3/bypass-kde-config.patch new file mode 100644 index 000000000..113fb93b8 --- /dev/null +++ b/community/qtcurve-kde3/bypass-kde-config.patch @@ -0,0 +1,24 @@ +--- QtCurve-KDE3-1.6.0/CMakeLists.txt~ 2010-09-14 16:19:36.543333337 +0200 ++++ QtCurve-KDE3-1.6.0/CMakeLists.txt 2010-09-14 16:22:18.160000003 +0200 +@@ -44,6 +44,12 @@ + endif (QT_PLUGINS_DIR MATCHES NOTFOUND) + endif (NOT QTC_QT_ONLY) + ++# Comment the kde3/kde4 prefix detection as a whole as it wants to run ++# kde-config and kde4-config, which in turn can create stuff in ~/.kde. ++# This cannot work on read-only homes. ++# So, the "fallback" prefixes ("/usr" for both) will be used. ++if (BRAINDEAD_DETECTION) ++ + if (NOT QTC_QT_ONLY) + exec_program(kde-config + ARGS --prefix --expandvars +@@ -71,6 +77,8 @@ + OUTPUT_VARIABLE KDE4PREFIX) + endif(KDE4_KDECONFIG_EXECUTABLE) + ++endif (BRAINDEAD_DETECTION) ++ + if(NOT KDE4PREFIX) + set(KDE4PREFIX ${KDE3PREFIX}) + endif(NOT KDE4PREFIX) -- cgit v1.2.3-54-g00ecf