wok-undigest rev 192

Up: weechat v0.3.3
author Liu Peng <rocky@slitaz.org>
date Mon Dec 27 16:50:59 2010 +0000 (2010-12-27)
parents 356f0149004b
children c27f3606b453
files weechat/receipt weechat/stuff/weechat-implicit-function-declaration.patch
line diff
     1.1 --- a/weechat/receipt	Mon Dec 20 23:03:07 2010 +0000
     1.2 +++ b/weechat/receipt	Mon Dec 27 16:50:59 2010 +0000
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="weechat"
     1.7 -VERSION="0.3.2"
     1.8 +VERSION="0.3.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="a fast, light and extensible chat client."
    1.11  MAINTAINER="rocky@slitaz.org"
    1.12 -DEPENDS="ncursesw libgcrypt libgnutls ncursesw libtasn1 python perl ruby"
    1.13 -BUILD_DEPENDS="ncurses ncurses-dev libgcrypt-dev gnutls-dev libtasn1-dev perl python python-dev ruby ruby-dev slitaz-toolchain"
    1.14 +DEPENDS="ncursesw libgcrypt libgnutls ncursesw libtasn1 python perl"
    1.15 +BUILD_DEPENDS="ncurses ncurses-dev libgcrypt-dev gnutls-dev libtasn1-dev perl python python-dev pkg-config slitaz-toolchain"
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WEB_SITE="http://weechat.org/"
    1.18  WGET_URL="http://weechat.org/files/src/$TARBALL"
    1.19 @@ -16,6 +16,14 @@
    1.20  compile_rules()
    1.21  {	
    1.22  	cd $src
    1.23 +	while read file; do
    1.24 +		[ -f done.$file ] && continue
    1.25 +		echo "Apply $file..."
    1.26 +		patch -p1 < ../stuff/$file || return 1
    1.27 +		touch done.$file
    1.28 +	done <<EOT
    1.29 +weechat-implicit-function-declaration.patch
    1.30 +EOT
    1.31  	./configure \
    1.32  		--prefix=/usr \
    1.33  		--enable-ncurses \
    1.34 @@ -23,7 +31,7 @@
    1.35  		--enable-gnutls \
    1.36  		--enable-python \
    1.37  		--enable-perl \
    1.38 -		--enable-ruby \
    1.39 +		--disable-ruby \
    1.40  		--disable-doc \
    1.41  		--with-debug=0 \
    1.42  		$CONFIGURE_ARGS &&
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/weechat/stuff/weechat-implicit-function-declaration.patch	Mon Dec 27 16:50:59 2010 +0000
     2.3 @@ -0,0 +1,11 @@
     2.4 +--- weechat-0.3.3/configure.orig
     2.5 ++++ weechat-0.3.3/configure
     2.6 +@@ -18828,7 +18828,7 @@
     2.7 + weechat_libdir=${libdir}/weechat
     2.8 + 
     2.9 + 
    2.10 +-COMMON_CFLAGS="-Wall -W -Werror-implicit-function-declaration"
    2.11 ++COMMON_CFLAGS="-Wall -W"
    2.12 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have GNU assembler" >&5
    2.13 + $as_echo_n "checking whether we have GNU assembler... " >&6; }
    2.14 + GAS=`as --version < /dev/null 2>/dev/null | grep GNU`