wok-next rev 20130

xget, zsnes: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 13:23:41 2017 +0100 (2017-10-31)
parents 064e844c047a
children 4f615ac29298
files bullet/receipt xget/receipt zsnes/receipt
line diff
     1.1 --- a/bullet/receipt	Tue Oct 31 13:11:53 2017 +0200
     1.2 +++ b/bullet/receipt	Tue Oct 31 13:23:41 2017 +0100
     1.3 @@ -10,12 +10,13 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tgz"
     1.5  WGET_URL="http://bullet.googlecode.com/files/$TARBALL"
     1.6  
     1.7 -BUILD_DEPENDS="cmake mesa-dev freeglut-dev libglu-mesa-dev"
     1.8 +BUILD_DEPENDS="cmake mesa-dev freeglut-dev libglu-mesa-dev python-dev"
     1.9  SPLIT="bullet bullet-dev"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14 +	mkdir build
    1.15  	cd build
    1.16  	cmake .. \
    1.17  		-DBUILD_CPU_DEMOS=OFF \
     2.1 --- a/xget/receipt	Tue Oct 31 13:11:53 2017 +0200
     2.2 +++ b/xget/receipt	Tue Oct 31 13:23:41 2017 +0100
     2.3 @@ -12,12 +12,12 @@
     2.4  WGET_URL="$SF_MIRROR/xcpu/$VERSION/$TARBALL"
     2.5  
     2.6  DEPENDS=""
     2.7 -BUILD_DEPENDS="openssl openssl-dev elfutils-dev"
     2.8 +BUILD_DEPENDS="openssl openssl-dev elfutils-dev zlib-dev"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12  {
    2.13 -	cd $src
    2.14 +	sed -i 's|<stdio.h>|&\n#include <sys/resource.h>|' xcpufs/xcpufs.c
    2.15  	make -j 1 &&
    2.16  	make INSTALLPREFIX=$DESTDIR/usr install
    2.17  }
     3.1 --- a/zsnes/receipt	Tue Oct 31 13:11:53 2017 +0200
     3.2 +++ b/zsnes/receipt	Tue Oct 31 13:23:41 2017 +0100
     3.3 @@ -19,6 +19,9 @@
     3.4  
     3.5  compile_rules()
     3.6  {
     3.7 +	sed -i -e '/info_ptr->color_type = /d' \
     3.8 +	  -e 's/info_ptr->color_type/png_get_color_type(png_ptr, info_ptr)/' \
     3.9 +		src/zip/zpng.c
    3.10  	sed -i 's/cstdio.*/&\n#include <unistd.h>/' src/tools/depbuild.cpp
    3.11  	patch -p1 -i $stuff/zsnes.patch 
    3.12  	cd $src/src