aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/exact-image
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-01-18 05:44:42 +0800
committerantoine <antoine@FreeBSD.org>2015-01-18 05:44:42 +0800
commitaaa71c49067fc589d3a9566e68e6c61ec80416e7 (patch)
tree027d19b501e0ef674568e3f3d14b089ae300e155 /graphics/exact-image
parent1f31c15cda653c5b2841b6de62c76ed9030fd1ae (diff)
downloadfreebsd-ports-gnome-aaa71c49067fc589d3a9566e68e6c61ec80416e7.tar.gz
freebsd-ports-gnome-aaa71c49067fc589d3a9566e68e6c61ec80416e7.tar.zst
freebsd-ports-gnome-aaa71c49067fc589d3a9566e68e6c61ec80416e7.zip
Fix build with giflib 5.0.6
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();