From ede27498c094a8b3a01e469c3a26ab07b775922c Mon Sep 17 00:00:00 2001
From: Benny Baumann <BenBE@geshi.org>
Date: Sun, 31 Mar 2019 16:29:09 +0200
Subject: [PATCH] cfg: Ignore sign conversion errors on FreeBSD for now, until
 fixed upstream in ncurses

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 88806a3..3de49d4 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,9 @@ ifeq "${OS}" "Linux"
 CFLAGS += -flto
 CXXFLAGS += -flto
 LFLAGS += -flto
+else ifeq "${OS}" "FreeBSD"
+CFLAGS += -Wno-error=sign-conversion
+CXXFLAGS += -Wno-error=sign-conversion
 endif
 
 CC ?= gcc
-- 
GitLab