summaryrefslogtreecommitdiff
path: root/development/kdesvn
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2011-03-30 16:38:58 +0100
committerRobby Workman <rworkman@slackbuilds.org>2011-03-30 22:52:25 -0500
commitaa4deace925e81a400393d2ec504adbdf89860d6 (patch)
treefb43c7f85db23c07b624da3174e095cd5239f7d4 /development/kdesvn
parent782b231b900c2e75f23378fe53e3aa0d4afe60d2 (diff)
downloadslackbuilds-aa4deace925e81a400393d2ec504adbdf89860d6.tar.gz
development/kdesvn: Added docbook patch to build on 13.37.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
Diffstat (limited to 'development/kdesvn')
-rw-r--r--development/kdesvn/kdesvn.SlackBuild8
-rw-r--r--development/kdesvn/kdesvn.info2
-rw-r--r--development/kdesvn/nl_docbook_dtd.patch10
3 files changed, 17 insertions, 3 deletions
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild
index 709e0da8d3..d9b4b336cc 100644
--- a/development/kdesvn/kdesvn.SlackBuild
+++ b/development/kdesvn/kdesvn.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for kdesvn
-# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,6 +31,7 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -69,7 +70,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir build
+# Patch for the right docbook version.
+patch -p1 < $CWD/nl_docbook_dtd.patch
+
+mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
diff --git a/development/kdesvn/kdesvn.info b/development/kdesvn/kdesvn.info
index 8ee3ed1abc..764b8b0105 100644
--- a/development/kdesvn/kdesvn.info
+++ b/development/kdesvn/kdesvn.info
@@ -2,7 +2,7 @@ PRGNAM="kdesvn"
VERSION="1.5.5"
HOMEPAGE="http://www.alwins-world.de/wiki/programs/kdesvn"
DOWNLOAD="http://kdesvn.alwins-world.de/downloads/kdesvn-1.5.5.tar.bz2"
-MD5SUM="8f11d31cc55fba408b7971541ee261d0"
+MD5SUM=""
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Michiel van Wessem"
diff --git a/development/kdesvn/nl_docbook_dtd.patch b/development/kdesvn/nl_docbook_dtd.patch
new file mode 100644
index 0000000000..7af798f953
--- /dev/null
+++ b/development/kdesvn/nl_docbook_dtd.patch
@@ -0,0 +1,10 @@
+diff -Naur kdesvn-1.5.5/doc/nl/index.docbook kdesvn-1.5.5_patched/doc/nl/index.docbook
+--- kdesvn-1.5.5/doc/nl/index.docbook 2008-05-31 10:02:54.000000000 +0000
++++ kdesvn-1.5.5_patched/doc/nl/index.docbook 2011-03-30 14:55:51.570351181 +0000
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+ <!ENTITY kdesvn "<application>kdesvn</application>">
+ <!ENTITY kappname "&kdesvn;"><!-- Do *not* replace kappname-->
+ <!ENTITY package "kde-module"><!-- kdebase, kdeadmin, etc -->