aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-28 18:49:20 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-28 18:49:20 +0000
commit5d8433a9b072514bb67410be98c28caa9a96b8bb (patch)
tree9b613eb74f8d27a584b3e781791933fa1b54854e /news
parentbb348639433f7b06faa78d1e0bcade2ea68f9251 (diff)
downloadports-5d8433a9b072514bb67410be98c28caa9a96b8bb.tar.gz
ports-5d8433a9b072514bb67410be98c28caa9a96b8bb.zip
news/diablo: fix build on recent current
Notes
Notes: svn path=/head/; revision=546797
Diffstat (limited to 'news')
-rw-r--r--news/diablo/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/news/diablo/Makefile b/news/diablo/Makefile
index b1fcfceeaa82..192f4d7a8a10 100644
--- a/news/diablo/Makefile
+++ b/news/diablo/Makefile
@@ -22,6 +22,9 @@ DES_DESC= DES encryption support
USES= tar:tgz
+# Fix build with clang11
+CFLAGS+= -fcommon
+
post-patch:
@${CP} ${FILESDIR}/diablo.in ${WRKDIR}/diablo
@${REINPLACE_CMD} -E 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g ;\