wok diff fltk-2.0.x/receipt @ rev 8680

up stoq/stoqlib 0.9.12 & add some fix
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 01:45:49 2011 +0100 (2011-02-17)
parents b3a4d3cb8228
children 14855891b705
line diff
     1.1 --- a/fltk-2.0.x/receipt	Mon Feb 14 05:47:23 2011 +0100
     1.2 +++ b/fltk-2.0.x/receipt	Thu Feb 17 01:45:49 2011 +0100
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fltk-2.0.x"
     1.7 -VERSION="r6671"
     1.8 +VERSION="r7725"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Fast Light Tool Kit (provide fluid)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  DEPENDS="expat fontconfig freetype jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.13  xorg-libXext xorg-libXft xorg-libXrender zlib libpng xorg-libXi \
    1.14  xorg-libXinerama gcc-lib-base"
    1.15 -BUILD_DEPENDS="xorg-dev xorg-libXft-dev mesa mesa-dev"
    1.16 +BUILD_DEPENDS="xorg-dev xorg-libXft-dev libglu-mesa mesa mesa-dev"
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WEB_SITE="http://www.fltk.org/"
    1.19  WGET_URL="http://ftp.easysw.com/pub/fltk/snapshots/$TARBALL"
    1.20 @@ -17,7 +17,13 @@
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24 -	patch -p 0 < ../stuff/filename_list-dirent.patch || exit 1
    1.25 +	  patch -p0 src/filename_list.cxx <<EOF
    1.26 +66c66
    1.27 +<   int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
    1.28 +---
    1.29 +>   int n = scandir(d, list, 0, (int(*)(const dirent64**,const dirent64**))sort);
    1.30 +EOF
    1.31 +
    1.32  	./configure \
    1.33  		--prefix=/usr \
    1.34  		--mandir=/usr/share/man \