wok rev 13939

giac: partial dirty fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 22:09:47 2013 +0100 (2013-01-26)
parents 7b91484bb68a
children e2362e98e9c0
files aufs/receipt giac/receipt
line diff
     1.1 --- a/aufs/receipt	Sat Jan 26 17:23:58 2013 +0000
     1.2 +++ b/aufs/receipt	Sat Jan 26 22:09:47 2013 +0100
     1.3 @@ -9,7 +9,7 @@
     1.4  PROVIDE="linux-aufs"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git"
     1.7 -BRANCH="${PACKAGE}3.2"
     1.8 +BRANCH="origin/${PACKAGE}3.2"
     1.9  COOK_OPT="!remove_src"
    1.10  
    1.11  DEPENDS="linux"
     2.1 --- a/giac/receipt	Sat Jan 26 17:23:58 2013 +0000
     2.2 +++ b/giac/receipt	Sat Jan 26 22:09:47 2013 +0100
     2.3 @@ -12,14 +12,20 @@
     2.4  DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
     2.5  BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \
     2.6  cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev \
     2.7 -fltk-2.0.x-gl bison gfortran mesa-dev" # lapack
     2.8 +fltk-2.0.x-gl bison gfortran mesa-dev expat-dev" # lapack
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12  {
    2.13 +	cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
    2.14 +	cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
    2.15 +	sed -i '220,220s/protected/public/' /usr/include/FL/Fl_PostScript.H
    2.16 +	sed -i '266,266s/protected/public/' /usr/include/FL/Fl_Input.H
    2.17  	./configure $CONFIGURE_ARGS &&
    2.18  	make &&
    2.19  	make install
    2.20 +	mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
    2.21 +	mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
    2.22  }
    2.23  
    2.24  # Rules to gen a SliTaz package suitable for Tazpkg.