summaryrefslogtreecommitdiffstats
path: root/extra/fltk
diff options
context:
space:
mode:
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
- }
-