summaryrefslogtreecommitdiff
path: root/games/ufoai/files/patch-images.c
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 /games/ufoai/files/patch-images.c
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Diffstat (limited to '')
-rw-r--r--games/ufoai/files/patch-images.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/ufoai/files/patch-images.c b/games/ufoai/files/patch-images.c
new file mode 100644
index 000000000000..b2983addf4ba
--- /dev/null
+++ b/games/ufoai/files/patch-images.c
@@ -0,0 +1,10 @@
+--- src/shared/images.c.orig 2010-11-29 17:46:35.000000000 +0100
++++ src/shared/images.c 2012-04-25 06:15:32.000000000 +0200
+@@ -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 };