summaryrefslogtreecommitdiffstats
path: root/graphics/exact-image/c98.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2017-07-05 04:11:28 +0200
committer Willy Sudiarto Raharjo2017-07-05 04:11:28 +0200
commitcc0cfeb3939487923509541e178c27711dfe1d56 (patch)
tree54cbaa208127049756e88126f533e23bbb0e3ff3 /graphics/exact-image/c98.patch
parent11872f9f213da332718dd9a948ef855bd6ffcfeb (diff)
downloadslackbuilds-cc0cfeb3939487923509541e178c27711dfe1d56.tar.gz
graphics/exact-image: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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
+