c98.patch 430 B

12345678910111213
  1. --- exact-image-0.9.2/Makefile.orig 2016-12-12 09:23:11.937243882 +0000
  2. +++ exact-image-0.9.2/Makefile 2016-12-12 09:27:03.967245907 +0000
  3. @@ -48,7 +48,7 @@
  4. # we have some unimplemented colorspaces in the Image::iterator :-(
  5. CFLAGS += $(call cc-option,-Wno-switch -Wno-switch-enum,)
  6. -CXXFLAGS := $(CFLAGS) -Wno-sign-compare
  7. +CXXFLAGS := $(CFLAGS) -Wno-sign-compare -std=gnu++98
  8. ifeq "$(STATIC)" "1"
  9. X_EXEFLAGS += -static