network/kadu: Included patch for qt4

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-17 07:52:53 +07:00 committed by Robby Workman
parent 7affed8d1f
commit b3f24bc9e5
2 changed files with 18 additions and 6 deletions

View file

@ -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 .. \

11
network/kadu/kadu.patch Normal file
View file

@ -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)