# HG changeset patch # User Pascal Bellard # Date 1495726723 -7200 # Node ID 2b28e510ed9a1b5e41af6be0b2aece138d61de1d # Parent 8463a96c1226b9c312fea8df271b5bdf01f377ae Up tcc (20170515) diff -r 8463a96c1226 -r 2b28e510ed9a tcc/receipt --- a/tcc/receipt Thu May 25 12:31:03 2017 +0200 +++ b/tcc/receipt Thu May 25 17:38:43 2017 +0200 @@ -1,14 +1,15 @@ # SliTaz package receipt. PACKAGE="tcc" -VERSION="0.9.26" +GITHASH="307b7b183d4ee56e74090b0e525d6a587840e31f" # 15/5/2017 +VERSION=${GITHASH:0:7} CATEGORY="development" SHORT_DESC="Fast Tiny C Compiler." MAINTAINER="pascal.bellard@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +TARBALL="$PACKAGE-$VERSION.tar.gz" LICENSE="LGPL2.1" WEB_SITE="http://bellard.org/tcc/" -WGET_URL="http://download.savannah.nongnu.org/releases/tinycc/$TARBALL" +WGET_URL="http://repo.or.cz/tinycc.git/snapshot/$GITHASH.tar.gz" TAGS="compiler C assembler" #HOST_ARCH="i486 arm" diff -r 8463a96c1226 -r 2b28e510ed9a transfig/receipt --- a/transfig/receipt Thu May 25 12:31:03 2017 +0200 +++ b/transfig/receipt Thu May 25 17:38:43 2017 +0200 @@ -16,9 +16,11 @@ # Rules to configure and make the package. compile_rules() { - cd $src - sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' ig2dev/dev/readpng.c sed -i 's|/usr/local|/usr|' */*akefile + # Update for libpng > 1.5 + sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' fig2dev/dev/readpng.c + sed -i 's|info_ptr->valid|png_get_valid(png_ptr,info_ptr,PNG_INFO_gAMA)|' fig2dev/dev/readpng.c + sed -i 's/png_ptr->gamma/png_gamma(png_ptr)/' fig2dev/dev/readpng.c xmkmf && make Makefiles && make &&