wok-next diff giac/receipt @ 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 6b09507225ec
children 20ef1ec27a64
line diff
     1.1 --- a/giac/receipt	Sat Jan 05 14:44:51 2013 +0100
     1.2 +++ b/giac/receipt	Sat Jan 26 22:09:47 2013 +0100
     1.3 @@ -12,14 +12,20 @@
     1.4  DEPENDS="gmp mpfr libpng gsl pari ntl readline cocoalib fltk gf2x"
     1.5  BUILD_DEPENDS="gmp-dev mpfr-dev libpng-dev gsl-dev pari-dev ntl readline-dev \
     1.6  cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev \
     1.7 -fltk-2.0.x-gl bison gfortran mesa-dev" # lapack
     1.8 +fltk-2.0.x-gl bison gfortran mesa-dev expat-dev" # lapack
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 +	cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
    1.14 +	cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
    1.15 +	sed -i '220,220s/protected/public/' /usr/include/FL/Fl_PostScript.H
    1.16 +	sed -i '266,266s/protected/public/' /usr/include/FL/Fl_Input.H
    1.17  	./configure $CONFIGURE_ARGS &&
    1.18  	make &&
    1.19  	make install
    1.20 +	mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
    1.21 +	mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.