From e9261aad1cfe49e3dabc3456168b6bcb52f877d2 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 21 Apr 2009 13:02:58 +0000 Subject: [PATCH] - bah, remember to actually add the find-lang patch --- rpm-4.7.0-findlang-kde3.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 rpm-4.7.0-findlang-kde3.patch diff --git a/rpm-4.7.0-findlang-kde3.patch b/rpm-4.7.0-findlang-kde3.patch new file mode 100644 index 0000000..d74a21d --- /dev/null +++ b/rpm-4.7.0-findlang-kde3.patch @@ -0,0 +1,19 @@ +commit acfe923bf21a4402a48b6e357a53a398b107f0b3 +Author: Ville Skyttä +Date: Sun Apr 12 21:39:50 2009 +0300 + + Fix --with-kde with KDE3 (rhbz#466009). + +diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh +index 2dd9e0d..bb25b31 100755 +--- a/scripts/find-lang.sh ++++ b/scripts/find-lang.sh +@@ -138,7 +138,7 @@ if [ x"$KDE3_HTML" != x -a -d "$TOP_DIR$KDE3_HTML" ]; then + find $TOP_DIR$KDE3_HTML -type d|sed ' + s:'"$TOP_DIR"':: + '"$NO_ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/'"$NAME"'/\):: +-'"$NO_ALL_NAME$KDE"'s:\(.*/HTML\)\([^/_]\+\)\(.*/'"$NAME"'\)$:%lang(\2) \1\2\3: ++'"$NO_ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/'"$NAME"'\)$:%lang(\2) \1\2\3: + '"$ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/[a-zA-Z0-9.\_\-]\+/\):: + '"$ALL_NAME$KDE"'s:\(.*/HTML/\)\([^/_]\+\)\(.*/[a-zA-Z0-9.\_\-]\+$\):%lang(\2) \1\2\3: + s:^\([^%].*\)::