aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-01-17 21:44:42 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-01-17 21:44:42 +0000
commit1b8cef9b66c94479ee087e7f78baaabf3772e346 (patch)
tree027d19b501e0ef674568e3f3d14b089ae300e155 /graphics/exact-image
parent9b2c72d37471e4a348c152dcd3cb230e97eebdf7 (diff)
Fix build with giflib 5.0.6
Notes
Notes: svn path=/head/; revision=377259
Diffstat (limited to 'graphics/exact-image')
-rw-r--r--graphics/exact-image/files/patch-codecs__gif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/exact-image/files/patch-codecs__gif.cc b/graphics/exact-image/files/patch-codecs__gif.cc
index 17701a13c1c1..361e891e3c69 100644
--- a/graphics/exact-image/files/patch-codecs__gif.cc
+++ b/graphics/exact-image/files/patch-codecs__gif.cc
@@ -11,7 +11,7 @@
+#endif
+{
+#if GIFLIB_MAJOR >= 5
-+ char *Err = GifErrorString(ErrorCode);
++ const char *Err = GifErrorString(ErrorCode);
+#else
+ char *Err = GifErrorString();
+ int ErrorCode = GifError();