slackbuilds_ponce/graphics/exact-image/c98.patch
Willy Sudiarto Raharjo cc0cfeb393 graphics/exact-image: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-07-05 09:11:28 +07:00

12 lines
430 B
Diff

--- 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