From 6e6f33eddb5215f605c0cb51d382d16572894db7 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 14 Nov 2020 22:44:17 -0500 Subject: [PATCH] nsjail: revbump for protobuf --- srcpkgs/nsjail/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/nsjail/template b/srcpkgs/nsjail/template index 067460be92a..056bc8a2d15 100644 --- a/srcpkgs/nsjail/template +++ b/srcpkgs/nsjail/template @@ -1,7 +1,7 @@ # Template file for 'nsjail' pkgname=nsjail version=3.0 -revision=2 +revision=3 build_style=gnu-makefile hostmakedepends="bison flex pkg-config protobuf which" makedepends="libnl3-devel protobuf-devel" @@ -22,10 +22,10 @@ fi post_extract() { rmdir kafel - ln -s ../kafel-* kafel + mv ../kafel-* kafel } -pre_build() { +post_patch() { sed -i -e 's/-Werror\b//g' -e 's/\b\(\(C\(XX\)\?\|LD\)FLAGS\s*+=\)/override \1/g' Makefile kafel/build/Makefile.mk kafel/src/Makefile }