From 12fa8979935994b5eb6d8a96f56526f108bc3b74 Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 4 Nov 2010 15:28:53 +0100 Subject: fltk, port nettoyé MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extra/fltk/Pkgfile | 2 +- extra/fltk/libpng14.patch | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 extra/fltk/libpng14.patch (limited to 'extra/fltk') 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 - } - -- cgit v1.2.3-70-g09d2