summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:11:35 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:11:35 +0200
commit01d4b602ce624d96a0d9574e8e5f6fba53f2d9d9 (patch)
tree44a49e67fe0e2b487938d3af116a8804950c8ca7 /redhat/applications/kio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch
parent4a5605e233305678da64153c9664a0d06f00bcbe (diff)
downloadtde-packaging-01d4b602ce624d96a0d9574e8e5f6fba53f2d9d9.tar.gz
tde-packaging-01d4b602ce624d96a0d9574e8e5f6fba53f2d9d9.zip
RHEL/Fedora: more application fixes ...
Diffstat (limited to 'redhat/applications/kio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch')
-rw-r--r--redhat/applications/kio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/redhat/applications/kio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch b/redhat/applications/kio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch
new file mode 100644
index 000000000..2f08804da
--- /dev/null
+++ b/redhat/applications/kio-locate/kio-locate-3.5.13-fix_gcc47_compilation.patch
@@ -0,0 +1,22 @@
+--- kio-locate/src/SConscript.ORI 2012-05-02 00:23:36.637608539 +0200
++++ kio-locate/src/SConscript 2012-05-02 00:23:44.142459165 +0200
+@@ -28,7 +28,7 @@
+ pattern.cpp
+ """
+ obj.libs='tqt kio'
+-obj.linkflags='-module' # add more link flags
++#obj.linkflags='-module' # add more link flags
+ obj.execute()
+
+ # Install the protocol files
+--- kio-locate/admin/kde.py.ORI 2012-05-02 00:37:55.095993387 +0200
++++ kio-locate/admin/kde.py 2012-05-02 00:38:34.615142101 +0200
+@@ -781,7 +781,7 @@
+ lenv.KDEinstall( 'KDEDOC', lenv.join(lang,destination), lenv.join(folder,'index.cache.bz2') )
+
+ if env['_INSTALL']:
+- dir=lenv.join(lenv.getInstDirForResType('KDEDOC'), lang, destination)
++ dir=lenv.join(env['DESTDIR'], lenv.getInstDirForResType('KDEDOC'), lang, destination)
+ comp='mkdir -p %s && cd %s && rm -f common && ln -s ../common common' % (dir, dir)
+ lenv.Execute(comp)
+