wok-stable rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents 42dbbdbd65b2
children 6dc83d5fb812 f831ecb652a6
files accessx/receipt aircrack-ng/receipt bcrypt/receipt cdrkit/receipt compcache/receipt coreutils/receipt faac/receipt ffmpeg/receipt fltk/receipt gcc/receipt gtkdialog/receipt guile/receipt hal/receipt hardinfo/receipt id3lib/receipt le/receipt libnl/receipt lighttpd-ssl/receipt lighttpd/receipt linmodem-hsfmodem/receipt linux/receipt mingw32-gcc-c/receipt mingw32-gcc/receipt mingw32-runtime/receipt mingw32-w32api/receipt nagios-nrpe/receipt nagios/receipt notecase/receipt ocsinventory-agent/receipt ovz-web-panel/receipt pcmanfm/receipt sc/receipt seamonkey/receipt setserial/receipt slim/receipt squidguard/receipt synergy/receipt thunderbird/receipt valgrind/receipt vzctl/receipt vzquota/receipt wbar/receipt wine/receipt xfce4-dev-tools/receipt xfe/receipt yasr/receipt
line diff
     1.1 --- a/accessx/receipt	Mon Feb 14 18:33:51 2011 +0100
     1.2 +++ b/accessx/receipt	Mon Feb 14 19:09:46 2011 +0100
     1.3 @@ -17,7 +17,7 @@
     1.4  	mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null
     1.5  	cd $src
     1.6  	# Patch for deprecated <iostream.h>
     1.7 -	patch -p0 < ../stuff/accessx.diff || exit 1
     1.8 +	patch -p0 < ../stuff/accessx.diff || return 1
     1.9  	make
    1.10  }
    1.11  
     2.1 --- a/aircrack-ng/receipt	Mon Feb 14 18:33:51 2011 +0100
     2.2 +++ b/aircrack-ng/receipt	Mon Feb 14 19:09:46 2011 +0100
     2.3 @@ -15,11 +15,11 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 -	sed -i s#/usr/local#/usr#g common.mak || exit 1
     2.8 -	sed -i s#/man/man1#/share/man/man1# common.mak || exit 1
     2.9 +	sed -i s#/usr/local#/usr#g common.mak || return 1
    2.10 +	sed -i s#/man/man1#/share/man/man1# common.mak || return 1
    2.11  	
    2.12  	# fix build with gcc45
    2.13 -	sed -i s/-Werror// common.mak || exit 1
    2.14 +	sed -i s/-Werror// common.mak || return 1
    2.15  	
    2.16  	make &&
    2.17  	make DESTDIR=$PWD/_pkg install
     3.1 --- a/bcrypt/receipt	Mon Feb 14 18:33:51 2011 +0100
     3.2 +++ b/bcrypt/receipt	Mon Feb 14 19:09:46 2011 +0100
     3.3 @@ -16,7 +16,7 @@
     3.4  compile_rules()
     3.5  {
     3.6  	cd $src
     3.7 -	make || exit 1
     3.8 +	make
     3.9  }
    3.10  
    3.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/cdrkit/receipt	Mon Feb 14 18:33:51 2011 +0100
     4.2 +++ b/cdrkit/receipt	Mon Feb 14 19:09:46 2011 +0100
     4.3 @@ -17,7 +17,7 @@
     4.4  	cd $src
     4.5  	sed -i -e '/USE_MAGIC/d' -e '/(MAGICLIBS magic)/d' \
     4.6  		genisoimage/CMakeLists.txt
     4.7 -	#patch -p1 < ../stuff/$PACKAGE-1.1.9-glibc-2.10.patch || exit 1
     4.8 +	#patch -p1 < ../stuff/$PACKAGE-1.1.9-glibc-2.10.patch || return 1
     4.9  	#grep -qs 'define u8' libusal/scsi-linux-sg.c ||
    4.10  	#sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libusal/scsi-linux-sg.c
    4.11  	make &&
     5.1 --- a/compcache/receipt	Mon Feb 14 18:33:51 2011 +0100
     5.2 +++ b/compcache/receipt	Mon Feb 14 19:09:46 2011 +0100
     5.3 @@ -19,7 +19,7 @@
     5.4      cd $src
     5.5      
     5.6      # Fix build with kernel 2.6.34
     5.7 -    patch -p1 < ../stuff/compcache-0.6.2-linux-2.6.34.u || exit 1
     5.8 +    patch -p1 < ../stuff/compcache-0.6.2-linux-2.6.34.u || return 1
     5.9      
    5.10      find -name Makefile | xargs sed -i \
    5.11  		"s|/lib/modules/\$(shell uname -r)/build|/usr/src/linux|"
     6.1 --- a/coreutils/receipt	Mon Feb 14 18:33:51 2011 +0100
     6.2 +++ b/coreutils/receipt	Mon Feb 14 19:09:46 2011 +0100
     6.3 @@ -33,8 +33,8 @@
     6.4  uname.u
     6.5  EOT
     6.6  
     6.7 -	sed -i 's/1.10a/1.10.2/' configure.ac || exit 1
     6.8 -	sed -i 's/dist-xz/dist-lzma/' configure.ac || exit 1
     6.9 +	sed -i 's/1.10a/1.10.2/' configure.ac || return 1
    6.10 +	sed -i 's/dist-xz/dist-lzma/' configure.ac || return 1
    6.11  
    6.12  	./configure \
    6.13  		--prefix=/usr \
     7.1 --- a/faac/receipt	Mon Feb 14 18:33:51 2011 +0100
     7.2 +++ b/faac/receipt	Mon Feb 14 19:09:46 2011 +0100
     7.3 @@ -15,7 +15,7 @@
     7.4  compile_rules()
     7.5  {
     7.6  	cd $src/common/mp4v2
     7.7 -	patch -p0 < ../../../stuff/gcc44.patch || exit 1
     7.8 +	patch -p0 < ../../../stuff/gcc44.patch || return 1
     7.9  	cd ../..
    7.10  	./configure \
    7.11  		--prefix=/usr \
     8.1 --- a/ffmpeg/receipt	Mon Feb 14 18:33:51 2011 +0100
     8.2 +++ b/ffmpeg/receipt	Mon Feb 14 19:09:46 2011 +0100
     8.3 @@ -20,7 +20,7 @@
     8.4  	cd $src
     8.5  	
     8.6  	# Fix gcc45 build.
     8.7 -	patch -p1 < ../stuff/ffmpeg-0.5.1-gcc45.u || exit 1
     8.8 +	patch -p1 < ../stuff/ffmpeg-0.5.1-gcc45.u || return 1
     8.9  	
    8.10  	./configure \
    8.11  		--prefix=/usr \
     9.1 --- a/fltk/receipt	Mon Feb 14 18:33:51 2011 +0100
     9.2 +++ b/fltk/receipt	Mon Feb 14 19:09:46 2011 +0100
     9.3 @@ -16,7 +16,7 @@
     9.4  compile_rules()
     9.5  {
     9.6  	cd $src
     9.7 -	patch -p 0 < ../stuff/filename_list-dirent.patch || exit 1
     9.8 +	patch -p 0 < ../stuff/filename_list-dirent.patch || return 1
     9.9  	./configure \
    9.10  		--prefix=/usr \
    9.11  		--mandir=/usr/share/man \
    10.1 --- a/gcc/receipt	Mon Feb 14 18:33:51 2011 +0100
    10.2 +++ b/gcc/receipt	Mon Feb 14 19:09:46 2011 +0100
    10.3 @@ -106,7 +106,7 @@
    10.4  {
    10.5  	# Use libiberty.a from binutils.
    10.6  	sed -i 's/install_to_$(INSTALL_DEST) //' \
    10.7 -		$PACKAGE-$VERSION/libiberty/Makefile.in || exit 1
    10.8 +		$PACKAGE-$VERSION/libiberty/Makefile.in || return 1
    10.9  	mkdir -p gcc-build && cd gcc-build
   10.10  	$src/configure --enable-nls \
   10.11  	--enable-languages=c,c++,objc,fortran --enable-shared --with-system-zlib \
    11.1 --- a/gtkdialog/receipt	Mon Feb 14 18:33:51 2011 +0100
    11.2 +++ b/gtkdialog/receipt	Mon Feb 14 19:09:46 2011 +0100
    11.3 @@ -16,7 +16,7 @@
    11.4  {
    11.5  	cd $src
    11.6  	# Fix libgalde support
    11.7 -	patch -p 0 < ../stuff/glade_support.patch || exit 1
    11.8 +	patch -p 0 < ../stuff/glade_support.patch || return 1
    11.9  	./configure \
   11.10  		--prefix=/usr \
   11.11  		--infodir=/usr/share/info \
    12.1 --- a/guile/receipt	Mon Feb 14 18:33:51 2011 +0100
    12.2 +++ b/guile/receipt	Mon Feb 14 19:09:46 2011 +0100
    12.3 @@ -16,7 +16,7 @@
    12.4  	cd $src
    12.5  	
    12.6  	# http://bugs.gentoo.org/show_bug.cgi?id=317175 	
    12.7 -	patch -p1 < ../stuff/guile-1.8.7-gcc45.u || exit 1
    12.8 +	patch -p1 < ../stuff/guile-1.8.7-gcc45.u || return 1
    12.9  	
   12.10  	./configure \
   12.11  		--prefix=/usr \
    13.1 --- a/hal/receipt	Mon Feb 14 18:33:51 2011 +0100
    13.2 +++ b/hal/receipt	Mon Feb 14 19:09:46 2011 +0100
    13.3 @@ -27,8 +27,8 @@
    13.4  {
    13.5  	cd $src
    13.6  	zcat /usr/share/misc/pci.ids.gz > /usr/share/misc/pci.ids &&
    13.7 -	patch -p1 < ../stuff/hal-scripts.u || exit 1 &&
    13.8 -	#patch -p1 < ../stuff/hal-udev.patch || exit 1 &&
    13.9 +	patch -p1 < ../stuff/hal-scripts.u || return 1 &&
   13.10 +	#patch -p1 < ../stuff/hal-udev.patch || return 1 &&
   13.11  	grep -qs 'define u8' hald/linux/probing/linux_dvd_rw_utils.c ||
   13.12  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
   13.13  		hald/linux/probing/linux_dvd_rw_utils.c
    14.1 --- a/hardinfo/receipt	Mon Feb 14 18:33:51 2011 +0100
    14.2 +++ b/hardinfo/receipt	Mon Feb 14 19:09:46 2011 +0100
    14.3 @@ -17,7 +17,7 @@
    14.4  	cd $src
    14.5  	while read file; do
    14.6  		[ -f done.$file ] && continue
    14.7 -		patch -p0 < ../stuff/$file || exit 1
    14.8 +		patch -p0 < ../stuff/$file || return 1
    14.9  		touch done.$file
   14.10  	done <<EOT
   14.11  languages.patch
    15.1 --- a/id3lib/receipt	Mon Feb 14 18:33:51 2011 +0100
    15.2 +++ b/id3lib/receipt	Mon Feb 14 19:09:46 2011 +0100
    15.3 @@ -15,7 +15,7 @@
    15.4  compile_rules()
    15.5  {
    15.6  	cd $src
    15.7 -	patch -p1 -i ../stuff/id3lib-$VERSION-gcc-4.4.patch || exit 1
    15.8 +	patch -p1 -i ../stuff/id3lib-$VERSION-gcc-4.4.patch || return 1
    15.9  	./configure \
   15.10  		--prefix=/usr \
   15.11  		$CONFIGURE_ARGS &&
    16.1 --- a/le/receipt	Mon Feb 14 18:33:51 2011 +0100
    16.2 +++ b/le/receipt	Mon Feb 14 19:09:46 2011 +0100
    16.3 @@ -15,7 +15,7 @@
    16.4  compile_rules()
    16.5  {
    16.6  	cd $src
    16.7 -	patch -p 0 < ../stuff/gcc-4.patch || exit 1
    16.8 +	patch -p 0 < ../stuff/gcc-4.patch || return 1
    16.9  	./configure \
   16.10  		--prefix=/usr \
   16.11  		--infodir=/usr/share/info \
    17.1 --- a/libnl/receipt	Mon Feb 14 18:33:51 2011 +0100
    17.2 +++ b/libnl/receipt	Mon Feb 14 19:09:46 2011 +0100
    17.3 @@ -12,7 +12,7 @@
    17.4  # Rules to configure and make the package.
    17.5  compile_rules()
    17.6  {
    17.7 -	busybox patch -p0 -i stuff/libnl-1.1-ULONG_MAX.patch || exit 1
    17.8 +	busybox patch -p0 -i stuff/libnl-1.1-ULONG_MAX.patch || return 1
    17.9  	
   17.10  	cd $src
   17.11  	./configure --prefix=/usr --infodir=/usr/share/info \
    18.1 --- a/lighttpd-ssl/receipt	Mon Feb 14 18:33:51 2011 +0100
    18.2 +++ b/lighttpd-ssl/receipt	Mon Feb 14 19:09:46 2011 +0100
    18.3 @@ -32,7 +32,7 @@
    18.4  {
    18.5  	cd $src
    18.6  	if [ ! done.fastcgi_detach.patch ]; then
    18.7 -		patch -i ../stuff/fastcgi_detach.patch || exit 1
    18.8 +		patch -i ../stuff/fastcgi_detach.patch || return 1
    18.9  		touch done.fastcgi_detach.patch
   18.10  	fi
   18.11  	./configure \
    19.1 --- a/lighttpd/receipt	Mon Feb 14 18:33:51 2011 +0100
    19.2 +++ b/lighttpd/receipt	Mon Feb 14 19:09:46 2011 +0100
    19.3 @@ -29,7 +29,7 @@
    19.4  {
    19.5  	cd $src
    19.6  	if [ ! done.fastcgi_detach.patch ]; then
    19.7 -		patch -i ../stuff/fastcgi_detach.patch || exit 1
    19.8 +		patch -i ../stuff/fastcgi_detach.patch || return 1
    19.9  		touch done.fastcgi_detach.patch
   19.10  	fi
   19.11  	./configure \
    20.1 --- a/linmodem-hsfmodem/receipt	Mon Feb 14 18:33:51 2011 +0100
    20.2 +++ b/linmodem-hsfmodem/receipt	Mon Feb 14 19:09:46 2011 +0100
    20.3 @@ -18,7 +18,7 @@
    20.4  	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    20.5  	cd $src
    20.6  	echo "Apply $file..."
    20.7 -	patch -p1 < ../stuff/$SOURCE-$VERSION.diff || exit 1
    20.8 +	patch -p1 < ../stuff/$SOURCE-$VERSION.diff || return 1
    20.9  	grep -rl 'uname -r' . | xargs sed -i "s/uname -r/echo $KERNEL_VERSION/g"
   20.10  	# build driver
   20.11  	echo "Build driver"
    21.1 --- a/linux/receipt	Mon Feb 14 18:33:51 2011 +0100
    21.2 +++ b/linux/receipt	Mon Feb 14 19:09:46 2011 +0100
    21.3 @@ -44,7 +44,7 @@
    21.4  			continue
    21.5  		fi
    21.6  		echo "Apply $patch_file"
    21.7 -		patch -p1 < slitaz/$patch_file || exit 1
    21.8 +		patch -p1 < slitaz/$patch_file || return 1
    21.9  		touch done.$patch_file
   21.10  	done <<EOT
   21.11  $PACKAGE-diff-$VERSION.u
    22.1 --- a/mingw32-gcc-c/receipt	Mon Feb 14 18:33:51 2011 +0100
    22.2 +++ b/mingw32-gcc-c/receipt	Mon Feb 14 19:09:46 2011 +0100
    22.3 @@ -24,7 +24,7 @@
    22.4  {
    22.5  	if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then
    22.6  		echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string"
    22.7 -		exit 1
    22.8 +		return 1
    22.9  	fi
   22.10  
   22.11  	rm -f -r $src/binutils
    23.1 --- a/mingw32-gcc/receipt	Mon Feb 14 18:33:51 2011 +0100
    23.2 +++ b/mingw32-gcc/receipt	Mon Feb 14 19:09:46 2011 +0100
    23.3 @@ -25,7 +25,7 @@
    23.4  {
    23.5  	if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then
    23.6  		echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string"
    23.7 -		exit 1
    23.8 +		return 1
    23.9  	fi
   23.10  
   23.11  	MINGW32_DIR="$PWD"
   23.12 @@ -47,7 +47,7 @@
   23.13  		else
   23.14  			# Exit if file not found to avoid errors.
   23.15  			echo -e "\nDownload of $gcc_tgz failed, exiting. Please check the URL.\n"
   23.16 -			exit 1
   23.17 +			return 1
   23.18  		fi
   23.19  	done
   23.20  	
    24.1 --- a/mingw32-runtime/receipt	Mon Feb 14 18:33:51 2011 +0100
    24.2 +++ b/mingw32-runtime/receipt	Mon Feb 14 19:09:46 2011 +0100
    24.3 @@ -23,7 +23,7 @@
    24.4  {
    24.5  	if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then
    24.6  		echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string"
    24.7 -		exit 1
    24.8 +		return 1
    24.9  	fi
   24.10  
   24.11  	rm -f -r $src/binutils
    25.1 --- a/mingw32-w32api/receipt	Mon Feb 14 18:33:51 2011 +0100
    25.2 +++ b/mingw32-w32api/receipt	Mon Feb 14 19:09:46 2011 +0100
    25.3 @@ -23,7 +23,7 @@
    25.4  {
    25.5  	if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then
    25.6  		echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string"
    25.7 -		exit 1
    25.8 +		return 1
    25.9  	fi
   25.10  
   25.11  	rm -f -r $src/binutils
    26.1 --- a/nagios-nrpe/receipt	Mon Feb 14 18:33:51 2011 +0100
    26.2 +++ b/nagios-nrpe/receipt	Mon Feb 14 19:09:46 2011 +0100
    26.3 @@ -18,7 +18,7 @@
    26.4  	cd $src
    26.5  		while read patch_file; do
    26.6  		if [ ! -f done.$patch_file ]; then
    26.7 -			patch -p1 < ../stuff/$patch_file || exit 1
    26.8 +			patch -p1 < ../stuff/$patch_file || return 1
    26.9  			touch done.$patch_file
   26.10  		fi
   26.11  	done <<EOT
    27.1 --- a/nagios/receipt	Mon Feb 14 18:33:51 2011 +0100
    27.2 +++ b/nagios/receipt	Mon Feb 14 19:09:46 2011 +0100
    27.3 @@ -18,13 +18,13 @@
    27.4  	cd $src
    27.5  	while read patch_file; do
    27.6  		if [ ! -f done.$patch_file ]; then
    27.7 -			patch -p1 < ../stuff/$patch_file || exit 1
    27.8 +			patch -p1 < ../stuff/$patch_file || return 1
    27.9  			touch done.$patch_file
   27.10  		fi
   27.11  	done <<EOT
   27.12  $PACKAGE-$VERSION-Makefiles.u
   27.13  EOT
   27.14 -	#patch -p1 < ../stuff/nagios-3.2.1-Makefiles.u || exit 1
   27.15 +	#patch -p1 < ../stuff/nagios-3.2.1-Makefiles.u || return 1
   27.16  	./configure \
   27.17  		--prefix=/usr \
   27.18  		--infodir=/usr/share/info \
    28.1 --- a/notecase/receipt	Mon Feb 14 18:33:51 2011 +0100
    28.2 +++ b/notecase/receipt	Mon Feb 14 19:09:46 2011 +0100
    28.3 @@ -15,7 +15,7 @@
    28.4  # Rules to configure and make the package.
    28.5  compile_rules()
    28.6  {
    28.7 -	busybox patch -p0 -i stuff/notecase-1.9.8_gcc4.u || exit 1
    28.8 +	busybox patch -p0 -i stuff/notecase-1.9.8_gcc4.u || return 1
    28.9  	cd $src
   28.10  	# Disable gnome-vfs support
   28.11  	sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
    29.1 --- a/ocsinventory-agent/receipt	Mon Feb 14 18:33:51 2011 +0100
    29.2 +++ b/ocsinventory-agent/receipt	Mon Feb 14 19:09:46 2011 +0100
    29.3 @@ -28,7 +28,7 @@
    29.4  	for p in ../stuff/ocsinventory-agent-1.1.2.1.u
    29.5  	do
    29.6  		[ -f done.$(basename $p) ] && continue
    29.7 -		patch -p1 -i $p || exit
    29.8 +		patch -p1 -i $p || return 1
    29.9  		touch done.$(basename $p)
   29.10  	done
   29.11  	perl Makefile.PL 
    30.1 --- a/ovz-web-panel/receipt	Mon Feb 14 18:33:51 2011 +0100
    30.2 +++ b/ovz-web-panel/receipt	Mon Feb 14 19:09:46 2011 +0100
    30.3 @@ -22,7 +22,7 @@
    30.4  			continue
    30.5  		fi
    30.6  		echo "Apply $patch_file"
    30.7 -		patch -p1 < ../stuff/$patch_file || exit 1
    30.8 +		patch -p1 < ../stuff/$patch_file || return 1
    30.9  		touch done.$patch_file
   30.10  	done <<EOT
   30.11  owp-${VERSION}.u
    31.1 --- a/pcmanfm/receipt	Mon Feb 14 18:33:51 2011 +0100
    31.2 +++ b/pcmanfm/receipt	Mon Feb 14 19:09:46 2011 +0100
    31.3 @@ -25,7 +25,7 @@
    31.4  		if [ -f done.$(basename $i) ]; then
    31.5  			continue
    31.6  		else
    31.7 -			patch -p0 < $i && touch done.$(basename $i) || exit 1
    31.8 +			patch -p0 < $i && touch done.$(basename $i) || return 1
    31.9  		fi
   31.10  	done
   31.11  
    32.1 --- a/sc/receipt	Mon Feb 14 18:33:51 2011 +0100
    32.2 +++ b/sc/receipt	Mon Feb 14 19:09:46 2011 +0100
    32.3 @@ -15,7 +15,7 @@
    32.4  compile_rules()
    32.5  {
    32.6  	cd $src
    32.7 -	patch -p1 < ../stuff/7.16.patch || exit 1
    32.8 +	patch -p1 < ../stuff/7.16.patch || return 1
    32.9  	make
   32.10  }
   32.11  
    33.1 --- a/seamonkey/receipt	Mon Feb 14 18:33:51 2011 +0100
    33.2 +++ b/seamonkey/receipt	Mon Feb 14 19:09:46 2011 +0100
    33.3 @@ -14,11 +14,11 @@
    33.4  # Rules to configure and make the package.
    33.5  compile_rules()
    33.6  {
    33.7 -	#mv mozilla $PACKAGE-$VERSION   2>/dev/null    || exit 1
    33.8 +	#mv mozilla $PACKAGE-$VERSION   2>/dev/null    || return 1
    33.9  	mv comm-1.9.1 $PACKAGE-$VERSION   2>/dev/null 
   33.10  	cp -a stuff/seamonkey.mozconfig $src/.mozconfig
   33.11  	cd $src
   33.12 -	patch -p1 -i ../stuff/google-breakpad.u || exit 1
   33.13 +	patch -p1 -i ../stuff/google-breakpad.u || return 1
   33.14  	cat >> layout/build/Makefile.in << "EOF"
   33.15  ifdef MOZ_ENABLE_CANVAS
   33.16  EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
    34.1 --- a/setserial/receipt	Mon Feb 14 18:33:51 2011 +0100
    34.2 +++ b/setserial/receipt	Mon Feb 14 19:09:46 2011 +0100
    34.3 @@ -17,7 +17,7 @@
    34.4  	
    34.5  	# http://bugs.gentoo.org/309883
    34.6  	#  & remove warnings 
    34.7 -	patch -p1 < ../stuff/setserial-2.17.u || exit 1
    34.8 +	patch -p1 < ../stuff/setserial-2.17.u || return 1
    34.9  	
   34.10  	./configure --prefix=/usr --infodir=/usr/share/info \
   34.11  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    35.1 --- a/slim/receipt	Mon Feb 14 18:33:51 2011 +0100
    35.2 +++ b/slim/receipt	Mon Feb 14 19:09:46 2011 +0100
    35.3 @@ -21,7 +21,7 @@
    35.4  compile_rules()
    35.5  {
    35.6  	cd $src
    35.7 -	patch -p1 < ../stuff/NoPwdForCmd.patch || exit 1
    35.8 +	patch -p1 < ../stuff/NoPwdForCmd.patch || return 1
    35.9  	make &&
   35.10  	make DESTDIR=$src/_pkg install
   35.11  }
    36.1 --- a/squidguard/receipt	Mon Feb 14 18:33:51 2011 +0100
    36.2 +++ b/squidguard/receipt	Mon Feb 14 19:09:46 2011 +0100
    36.3 @@ -20,7 +20,7 @@
    36.4  	# Security patches 
    36.5  	while read patch_file; do
    36.6  		echo "Apply $patch_file"
    36.7 -		tar xvzf  ../stuff/$patch_file || exit 1
    36.8 +		tar xvzf  ../stuff/$patch_file || return 1
    36.9  		cp -a $(basename $patch_file .tar.gz)/* src
   36.10  	done <<EOT
   36.11  squidGuard-1.4-patch-20091015.tar.gz
    37.1 --- a/synergy/receipt	Mon Feb 14 18:33:51 2011 +0100
    37.2 +++ b/synergy/receipt	Mon Feb 14 19:09:46 2011 +0100
    37.3 @@ -14,7 +14,7 @@
    37.4  # Rules to configure and make the package.
    37.5  compile_rules()
    37.6  {
    37.7 -	busybox patch -p0 -i stuff/synergy-1.3.1_glibc-2.10.u || exit 1
    37.8 +	busybox patch -p0 -i stuff/synergy-1.3.1_glibc-2.10.u || return 1
    37.9  		
   37.10  	cd $src
   37.11  	./configure \
    38.1 --- a/thunderbird/receipt	Mon Feb 14 18:33:51 2011 +0100
    38.2 +++ b/thunderbird/receipt	Mon Feb 14 19:09:46 2011 +0100
    38.3 @@ -27,7 +27,7 @@
    38.4  	cd $WOK/$PACKAGE
    38.5  	echo -n "Checking source"
    38.6      [ -d comm-* ] && mv comm-* $PACKAGE-$VERSION 2>/dev/null
    38.7 -	[ -d $PACKAGE-$VERSION ] || (echo "src not found, exiting" ; exit 1)
    38.8 +	[ -d $PACKAGE-$VERSION ] || (echo "src not found, exiting" ; return 1)
    38.9  	status
   38.10  	# add config
   38.11      cp -a stuff/thunderbird.mozconfig.conf $src/.mozconfig
    39.1 --- a/valgrind/receipt	Mon Feb 14 18:33:51 2011 +0100
    39.2 +++ b/valgrind/receipt	Mon Feb 14 19:09:46 2011 +0100
    39.3 @@ -21,7 +21,7 @@
    39.4  	
    39.5  	# Fix build with glibc 2.11
    39.6  	#http://www.linuxfromscratch.org/patches/downloads/valgrind/valgrind-3.5.0-glibc-2.11.patch
    39.7 -	patch -p1 < ../stuff/valgrind-3.6.0-glibc211.u || exit 1
    39.8 +	patch -p1 < ../stuff/valgrind-3.6.0-glibc211.u || return 1
    39.9  	autoconf
   39.10  	
   39.11  	./configure \
    40.1 --- a/vzctl/receipt	Mon Feb 14 18:33:51 2011 +0100
    40.2 +++ b/vzctl/receipt	Mon Feb 14 19:09:46 2011 +0100
    40.3 @@ -23,7 +23,7 @@
    40.4  			continue
    40.5  		fi
    40.6  		echo "Apply $patch_file"
    40.7 -		patch -p1 < ../stuff/$patch_file || exit 1
    40.8 +		patch -p1 < ../stuff/$patch_file || return 1
    40.9  		touch done.$patch_file
   40.10  	done <<EOT
   40.11  vzctl-${VERSION}-Makefile.u
    41.1 --- a/vzquota/receipt	Mon Feb 14 18:33:51 2011 +0100
    41.2 +++ b/vzquota/receipt	Mon Feb 14 19:09:46 2011 +0100
    41.3 @@ -21,7 +21,7 @@
    41.4  			continue
    41.5  		fi
    41.6  		echo "Apply $patch_file"
    41.7 -		patch -p1 < ../stuff/$patch_file || exit 1
    41.8 +		patch -p1 < ../stuff/$patch_file || return 1
    41.9  		touch done.$patch_file
   41.10  	done <<EOT
   41.11  vzquota-${VERSION}.u
    42.1 --- a/wbar/receipt	Mon Feb 14 18:33:51 2011 +0100
    42.2 +++ b/wbar/receipt	Mon Feb 14 19:09:46 2011 +0100
    42.3 @@ -17,7 +17,7 @@
    42.4  compile_rules()
    42.5  {
    42.6  	cd $src
    42.7 -	patch -p0 < ../stuff/gcc43_fixes.diff || exit 1
    42.8 +	patch -p0 < ../stuff/gcc43_fixes.diff || return 1
    42.9  	make &&
   42.10  	mkdir -p _pkg/usr/share/wbar/iconpack _pkg/usr/bin &&
   42.11  	cp wbar _pkg/usr/bin &&
    43.1 --- a/wine/receipt	Mon Feb 14 18:33:51 2011 +0100
    43.2 +++ b/wine/receipt	Mon Feb 14 19:09:46 2011 +0100
    43.3 @@ -19,7 +19,7 @@
    43.4  {
    43.5  	cd $src
    43.6  
    43.7 -	patch -p1 < ../stuff/wine-1.2-cdrom.c.u || exit 1
    43.8 +	patch -p1 < ../stuff/wine-1.2-cdrom.c.u || return 1
    43.9  
   43.10  	./configure --prefix=/usr --infodir=/usr/share/info \
   43.11  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    44.1 --- a/xfce4-dev-tools/receipt	Mon Feb 14 18:33:51 2011 +0100
    44.2 +++ b/xfce4-dev-tools/receipt	Mon Feb 14 19:09:46 2011 +0100
    44.3 @@ -14,7 +14,7 @@
    44.4  compile_rules()
    44.5  {
    44.6  	cd $src
    44.7 -	#patch -p1 -i ../stuff/xdt-autogen-4.6.0.u || exit 1
    44.8 +	#patch -p1 -i ../stuff/xdt-autogen-4.6.0.u || return 1
    44.9  	./configure \
   44.10  		--prefix=/usr \
   44.11  		--infodir=/usr/share/info \
    45.1 --- a/xfe/receipt	Mon Feb 14 18:33:51 2011 +0100
    45.2 +++ b/xfe/receipt	Mon Feb 14 19:09:46 2011 +0100
    45.3 @@ -16,7 +16,7 @@
    45.4  compile_rules()
    45.5  {
    45.6  	cd $src
    45.7 -	patch -p 0 < ../stuff/gcc-4.patch || exit 1
    45.8 +	patch -p 0 < ../stuff/gcc-4.patch || return 1
    45.9  	./configure \
   45.10  		--prefix=/usr \
   45.11  		--mandir=/usr/share/man \
    46.1 --- a/yasr/receipt	Mon Feb 14 18:33:51 2011 +0100
    46.2 +++ b/yasr/receipt	Mon Feb 14 19:09:46 2011 +0100
    46.3 @@ -14,7 +14,7 @@
    46.4  compile_rules()
    46.5  {
    46.6  	cd $src/yasr
    46.7 -	patch -p0 < ../../stuff/yasr.patch || exit 1
    46.8 +	patch -p0 < ../../stuff/yasr.patch || return 1
    46.9  	cd ../
   46.10  	./configure \
   46.11  		--prefix=/usr