From 81fefca6c39b2e04a32db5574084681fe6482024 Mon Sep 17 00:00:00 2001
From: Dylan Araps <dylan.araps@gmail.com>
Date: Wed, 12 Feb 2020 01:29:13 +0200
Subject: [PATCH] mandoc: Fix build with GCC 10

---
 core/mandoc/build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/mandoc/build b/core/mandoc/build
index 594d912e..bcde25ce 100755
--- a/core/mandoc/build
+++ b/core/mandoc/build
@@ -2,6 +2,7 @@
 
 patch -p1 < mandoc-no-warn.patch
 
+sed -i '/int dummy/d' compat_err.c
 sed -i 's,"more -s","less",g' main.c
 sed -i "s/CC=.*/CC='$CC'/"    configure