From cc0cfeb3939487923509541e178c27711dfe1d56 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 5 Jul 2017 09:11:28 +0700 Subject: graphics/exact-image: Fix build on -current. Signed-off-by: Willy Sudiarto Raharjo --- graphics/exact-image/c98.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 graphics/exact-image/c98.patch (limited to 'graphics/exact-image/c98.patch') 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 + -- cgit v1.2.3-79-gdb01