summaryrefslogtreecommitdiff
path: root/multimedia/xbmc-pvr/files/patch-lib-cximage-6.0-CxImage-ximapng.h
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /multimedia/xbmc-pvr/files/patch-lib-cximage-6.0-CxImage-ximapng.h
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Diffstat (limited to 'multimedia/xbmc-pvr/files/patch-lib-cximage-6.0-CxImage-ximapng.h')
-rw-r--r--multimedia/xbmc-pvr/files/patch-lib-cximage-6.0-CxImage-ximapng.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/xbmc-pvr/files/patch-lib-cximage-6.0-CxImage-ximapng.h b/multimedia/xbmc-pvr/files/patch-lib-cximage-6.0-CxImage-ximapng.h
new file mode 100644
index 000000000000..136d212061ad
--- /dev/null
+++ b/multimedia/xbmc-pvr/files/patch-lib-cximage-6.0-CxImage-ximapng.h
@@ -0,0 +1,19 @@
+--- lib/cximage-6.0/CxImage/ximapng.h.orig 2012-03-16 00:33:05.000000000 +0100
++++ lib/cximage-6.0/CxImage/ximapng.h 2012-04-28 06:17:43.000000000 +0200
+@@ -25,6 +25,7 @@
+ #ifdef _LINUX
+ #undef _DLL
+ #include <png.h>
++#include <pngpriv.h>
+ #else
+ #include "../png/png.h"
+ #endif
+@@ -70,7 +71,7 @@
+ static void PNGAPI user_error_fn(png_structp png_ptr,png_const_charp error_msg)
+ {
+ strncpy((char*)png_ptr->error_ptr,error_msg,255);
+- longjmp(png_ptr->jmpbuf, 1);
++ longjmp(png_jmpbuf(png_ptr), 1);
+ }
+ };
+