From c3afe7f0d2e32baf54510b72688ff6d81589b439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 16 Jan 2021 13:04:29 +0100 Subject: [PATCH] libknet1: fix build w/ gcc10 --- srcpkgs/libknet1/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/libknet1/template b/srcpkgs/libknet1/template index 05d916654a..4e073b09bd 100644 --- a/srcpkgs/libknet1/template +++ b/srcpkgs/libknet1/template @@ -19,6 +19,8 @@ checksum=c2ee20a9b5b0791ed5379b38b0b51d549603933925a839f045455553f03e6114 patch_args='-Np1' +CFLAGS="-Wno-format-truncation" + pre_configure() { autoreconf -fi }