aboutsummaryrefslogtreecommitdiff
path: root/network/kadu
diff options
context:
space:
mode:
Diffstat (limited to 'network/kadu')
-rw-r--r--network/kadu/kadu.SlackBuild13
-rw-r--r--network/kadu/kadu.patch11
2 files changed, 18 insertions, 6 deletions
diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild
index a93cf6ae38e7b..0518f62b7ec68 100644
--- a/network/kadu/kadu.SlackBuild
+++ b/network/kadu/kadu.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=kadu
VERSION=${VERSION:-0.12.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -45,12 +45,13 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/kadu.patch
mkdir -p build
cd build
cmake .. \
diff --git a/network/kadu/kadu.patch b/network/kadu/kadu.patch
new file mode 100644
index 0000000000000..d47d9fa0aeac5
--- /dev/null
+++ b/network/kadu/kadu.patch
@@ -0,0 +1,11 @@
+--- kadu-0.12.3/plugins/jabber_protocol/3rdparty/CMakeLists.txt.orig 2013-11-17 07:23:54.186097640 +0700
++++ kadu-0.12.3/plugins/jabber_protocol/3rdparty/CMakeLists.txt 2013-11-17 07:24:32.686563005 +0700
+@@ -26,7 +26,7 @@
+ get_filename_component (_basename ${_current_MOC} NAME_WE)
+ set (_header ${_abs_FILE})
+ set (_moc ${_abs_PATH}/${_current_MOC})
+- QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "")
++ QT4_CREATE_MOC_COMMAND (${_header} ${_moc} "${_moc_INCS}" "" "${moc_target}")
+ MACRO_ADD_FILE_DEPENDENCIES (${_abs_FILE} ${_moc})
+ endforeach (_current_MOC_INC)
+ endif (_match)