summaryrefslogtreecommitdiffstats
path: root/graphics/exact-image/c98.patch
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/exact-image/c98.patch')
-rw-r--r--graphics/exact-image/c98.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/exact-image/c98.patch b/graphics/exact-image/c98.patch
new file mode 100644
index 0000000000..2c8d42a285
--- /dev/null
+++ b/graphics/exact-image/c98.patch
@@ -0,0 +1,12 @@
+--- exact-image-0.9.2/Makefile.orig 2016-12-12 09:23:11.937243882 +0000
++++ exact-image-0.9.2/Makefile 2016-12-12 09:27:03.967245907 +0000
+@@ -48,7 +48,7 @@
+ # we have some unimplemented colorspaces in the Image::iterator :-(
+ CFLAGS += $(call cc-option,-Wno-switch -Wno-switch-enum,)
+
+-CXXFLAGS := $(CFLAGS) -Wno-sign-compare
++CXXFLAGS := $(CFLAGS) -Wno-sign-compare -std=gnu++98
+
+ ifeq "$(STATIC)" "1"
+ X_EXEFLAGS += -static
+