Files
dvdisaster/debian/patches/libpng15
TANIGUCHI Takaki 86278fbab4 release
2012-03-19 11:09:13 +09:00

39 lines
1.3 KiB
Plaintext

Description: <short summary of the patch>
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.
.
dvdisaster (0.72.3-1+libpng151) unstable; urgency=low
.
* Build with libpng15.
Author: Nobuhiro Iwamatsu <iwamatsu@debian.org>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- dvdisaster-0.72.3.orig/tools/pngio.h
+++ dvdisaster-0.72.3/tools/pngio.h
@@ -21,6 +21,10 @@
#define PNGIO_H
#include <png.h>
+#if PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4
+ #include <zlib.h>
+#endif
+
typedef struct
{ char *name;