aboutsummaryrefslogtreecommitdiff
path: root/graphics/imlib2
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-28 14:28:04 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-28 14:28:04 +0000
commit074547cbbae894473fce597a0a1fefc5b173fcaa (patch)
tree00ddfc9934fee3244687148ec9b7f945c9f1a3f9 /graphics/imlib2
parent49b35c1ae08a6394671127c62dad003f799230bc (diff)
downloadports-074547cbbae894473fce597a0a1fefc5b173fcaa.tar.gz
ports-074547cbbae894473fce597a0a1fefc5b173fcaa.zip
Notes
Diffstat (limited to 'graphics/imlib2')
-rw-r--r--graphics/imlib2/Makefile2
-rw-r--r--graphics/imlib2/files/patch-loader_png.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index 00019a8d5c67..a156483483ec 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= imlib2
PORTVERSION= 1.4.1.000
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.springdaemons.com/pub/snapshots/e17/ \
diff --git a/graphics/imlib2/files/patch-loader_png.c b/graphics/imlib2/files/patch-loader_png.c
new file mode 100644
index 000000000000..124961969439
--- /dev/null
+++ b/graphics/imlib2/files/patch-loader_png.c
@@ -0,0 +1,11 @@
+--- src/modules/loaders/loader_png.c.orig 2007-08-25 04:33:10.000000000 +0200
++++ src/modules/loaders/loader_png.c 2010-03-28 16:18:53.000000000 +0200
+@@ -38,7 +38,7 @@
+
+ /* if we haven't read the header before, set the header data */
+ fread(buf, 1, PNG_BYTES_TO_CHECK, f);
+- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
++ if (png_check_sig(buf, 0, PNG_BYTES_TO_CHECK))
+ {
+ fclose(f);
+ return 0;