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

12 lines
357 B
Plaintext

$OpenBSD: patch-src_graphic_surface_cpp,v 1.1 2011/07/08 20:38:01 naddy Exp $
--- src/graphic/surface.cpp.orig Tue Jul 5 16:31:24 2011
+++ src/graphic/surface.cpp Tue Jul 5 16:31:36 2011
@@ -25,6 +25,7 @@
#include <SDL_image.h>
#include <SDL_rotozoom.h>
#include <png.h>
+#include <zlib.h>
#include "graphic/surface.h"
#include "tool/math_tools.h"