wok-current rev 8638

Up: fltk-2.0.x to r7725.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 15 03:33:42 2011 +0000 (2011-02-15)
parents b155db5655e0
children 56b11364c6c3
files fltk-2.0.x-dev/receipt fltk-2.0.x-fluid2/receipt fltk-2.0.x-gl/receipt fltk-2.0.x/receipt fltk-2.0.x/stuff/filename_list-dirent.patch
line diff
     1.1 --- a/fltk-2.0.x-dev/receipt	Tue Feb 15 03:24:34 2011 +0000
     1.2 +++ b/fltk-2.0.x-dev/receipt	Tue Feb 15 03:33:42 2011 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fltk-2.0.x-dev"
     1.7 -VERSION="r6671"
     1.8 +VERSION="r7725"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Fast Light Tool Kit devel files (FLZK 2.0)."
    1.11  WANTED="fltk-2.0.x"
     2.1 --- a/fltk-2.0.x-fluid2/receipt	Tue Feb 15 03:24:34 2011 +0000
     2.2 +++ b/fltk-2.0.x-fluid2/receipt	Tue Feb 15 03:33:42 2011 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="fltk-2.0.x-fluid2"
     2.7 -VERSION="r6671"
     2.8 +VERSION="r7725"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Fast Light Tool Kit designer 2.0 serie."
    2.11  WANTED="fltk-2.0.x"
     3.1 --- a/fltk-2.0.x-gl/receipt	Tue Feb 15 03:24:34 2011 +0000
     3.2 +++ b/fltk-2.0.x-gl/receipt	Tue Feb 15 03:33:42 2011 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="fltk-2.0.x-gl"
     3.7 -VERSION="r6671"
     3.8 +VERSION="r7725"
     3.9  CATEGORY="x-window"
    3.10  SHORT_DESC="Fast Light Tool Kit GL library."
    3.11  WANTED="fltk-2.0.x"
     4.1 --- a/fltk-2.0.x/receipt	Tue Feb 15 03:24:34 2011 +0000
     4.2 +++ b/fltk-2.0.x/receipt	Tue Feb 15 03:33:42 2011 +0000
     4.3 @@ -1,14 +1,14 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="fltk-2.0.x"
     4.7 -VERSION="r6671"
     4.8 +VERSION="r7725"
     4.9  CATEGORY="system-tools"
    4.10  SHORT_DESC="Fast Light Tool Kit (provide fluid)."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12  DEPENDS="expat fontconfig freetype jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
    4.13  xorg-libXext xorg-libXft xorg-libXrender zlib libpng xorg-libXi \
    4.14  xorg-libXinerama gcc-lib-base"
    4.15 -BUILD_DEPENDS="xorg-dev xorg-libXft-dev mesa mesa-dev"
    4.16 +BUILD_DEPENDS="xorg-dev xorg-libXft-dev libglu-mesa mesa mesa-dev"
    4.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.18  WEB_SITE="http://www.fltk.org/"
    4.19  WGET_URL="http://ftp.easysw.com/pub/fltk/snapshots/$TARBALL"
    4.20 @@ -17,7 +17,13 @@
    4.21  compile_rules()
    4.22  {
    4.23  	cd $src
    4.24 -	patch -p 0 < ../stuff/filename_list-dirent.patch || exit 1
    4.25 +	  patch -p0 src/filename_list.cxx <<EOF
    4.26 +66c66
    4.27 +<   int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
    4.28 +---
    4.29 +>   int n = scandir(d, list, 0, (int(*)(const dirent64**,const dirent64**))sort);
    4.30 +EOF
    4.31 +
    4.32  	./configure \
    4.33  		--prefix=/usr \
    4.34  		--mandir=/usr/share/man \
     5.1 --- a/fltk-2.0.x/stuff/filename_list-dirent.patch	Tue Feb 15 03:24:34 2011 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,11 +0,0 @@
     5.4 ---- src/filename_list.cxx	2009-09-24 21:22:26.000000000 +0200
     5.5 -+++ src/filename_list.cxx	2009-09-24 21:28:12.000000000 +0200
     5.6 -@@ -63,7 +63,7 @@
     5.7 -   // some Unix systems):
     5.8 -   int n = scandir(d, list, 0, sort);
     5.9 - #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
    5.10 --  int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
    5.11 -+  int n = scandir(d, list, 0, (int(*)(const dirent **,const dirent **))sort);
    5.12 - #elif defined(__hpux) || defined(__CYGWIN__)
    5.13 -   // HP-UX, Cygwin define the comparison function like this:
    5.14 -   int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);