From 425f3099188723a9ab1030b4b6b017ef43e3104b Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 23 Apr 2017 21:45:58 +0000 Subject: [PATCH] Fix build with clang by passing -Wno-error=format-nonliteral to CFLAGS. breakage reported by espie@ ok jasper@ --- graphics/evince/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 96f4fa8d660..cd36e3a53ab 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.146 2017/04/17 11:42:20 jasper Exp $ +# $OpenBSD: Makefile,v 1.147 2017/04/23 21:45:58 ajacoutot Exp $ COMMENT= GNOME document viewer @@ -59,6 +59,9 @@ CONFIGURE_ARGS += --disable-browser-plugin # Not much point in installing systemd service files FAKE_FLAGS += systemd_user_in_files="" +# fix build with clang +CFLAGS += -Wno-error=format-nonliteral + FLAVORS= light FLAVOR?=