summaryrefslogtreecommitdiff
path: root/network/kadu
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-17 07:52:53 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 22:56:43 -0600
commitb3f24bc9e58791b510ecb5e85139cd4459941005 (patch)
tree6757b0d75de18616fad6cfe2ed56213646daf128 /network/kadu
parent7affed8d1f710983c045bd4f750bf164f0d95e23 (diff)
downloadslackbuilds-b3f24bc9e58791b510ecb5e85139cd4459941005.tar.gz
network/kadu: Included patch for qt4
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 a93cf6ae38..0518f62b7e 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 0000000000..d47d9fa0ae
--- /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)