summaryrefslogtreecommitdiffstats
path: root/extra/fltk
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-11-04 15:28:53 +0100
committertnut <thierryn1 at hispeed dot ch>2010-11-04 15:28:53 +0100
commit12fa8979935994b5eb6d8a96f56526f108bc3b74 (patch)
treeb362471fdf5020fb27a3566be8d13ac8be63f94c /extra/fltk
parent952198f0df5840622ff136839be70e9bd2a6a7ff (diff)
downloadnutyx-pakxe-12fa8979935994b5eb6d8a96f56526f108bc3b74.tar.gz
nutyx-pakxe-12fa8979935994b5eb6d8a96f56526f108bc3b74.tar.bz2
nutyx-pakxe-12fa8979935994b5eb6d8a96f56526f108bc3b74.tar.xz
nutyx-pakxe-12fa8979935994b5eb6d8a96f56526f108bc3b74.zip
fltk, port nettoyé
Diffstat (limited to 'extra/fltk')
-rw-r--r--extra/fltk/Pkgfile2
-rw-r--r--extra/fltk/libpng14.patch12
2 files changed, 1 insertions, 13 deletions
diff --git a/extra/fltk/Pkgfile b/extra/fltk/Pkgfile
index 8d4ff9ed3..b15fee5f7 100644
--- a/extra/fltk/Pkgfile
+++ b/extra/fltk/Pkgfile
@@ -8,7 +8,7 @@ name=fltk
version=r7513
release=1
source=(http://ftp.easysw.com/pub/fltk/snapshots/fltk-2.0.x-$version.tar.bz2\
- libpng14.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/libpng14.patch)
build() {
cd $name-*
patch -Np1 -i ../libpng14.patch
diff --git a/extra/fltk/libpng14.patch b/extra/fltk/libpng14.patch
deleted file mode 100644
index f6c49228e..000000000
--- a/extra/fltk/libpng14.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -upr fltk-2.0.x-r6829.orig/images/fl_png.cxx fltk-2.0.x-r6829/images/fl_png.cxx
---- fltk-2.0.x-r6829.orig/images/fl_png.cxx 2010-01-23 04:42:12.000000000 +0200
-+++ fltk-2.0.x-r6829/images/fl_png.cxx 2010-01-23 04:58:31.000000000 +0200
-@@ -62,7 +62,7 @@ bool pngImage::test(const uchar* datas,
- #if !HAVE_LIBPNG
- return 0;
- #else
-- return png_check_sig((png_byte*)datas, (int)size)!=0;
-+ return png_sig_cmp((png_byte*)datas, 0, (int)size)==0;
- #endif
- }
-