openbsd-ports/emulators/fuse/patches/patch-screenshot_c
naddy eed7c62887 Fix build with png-1.5.
All fixes by yours truly.
2011-07-08 20:38:00 +00:00

12 lines
345 B
Plaintext

$OpenBSD: patch-screenshot_c,v 1.1 2011/07/08 20:38:01 naddy Exp $
--- screenshot.c.orig Tue Jul 5 23:21:29 2011
+++ screenshot.c Tue Jul 5 23:21:41 2011
@@ -49,6 +49,7 @@
#ifdef USE_LIBPNG
#include <png.h>
+#include <zlib.h>
static int get_rgb32_data( libspectrum_byte *rgb32_data, size_t stride,
size_t height, size_t width );