openbsd-ports/games/ufoai/base/patches/patch-src_shared_images_c
naddy eed7c62887 Fix build with png-1.5.
All fixes by yours truly.
2011-07-08 20:38:00 +00:00

12 lines
362 B
Plaintext

$OpenBSD: patch-src_shared_images_c,v 1.1 2011/07/08 20:38:02 naddy Exp $
--- src/shared/images.c.orig Tue Jul 5 16:26:58 2011
+++ src/shared/images.c Tue Jul 5 16:27:19 2011
@@ -32,6 +32,7 @@
#include <jpeglib.h>
#include <png.h>
+#include <zlib.h>
/** image formats, tried in this order */
static char *IMAGE_TYPES[] = { "tga", "png", "jpg", NULL };