1
0
forked from ports/contrib

nsjail: fix build fail on warning

This commit is contained in:
John Vogel 2020-03-09 11:24:39 -04:00
parent 64caf6b5f2
commit 382b0c81d9
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37B8gslkLqFA7oLYxgRmTikvRgAQkM8v4EmL55gxr87WJUiAyWkA8hXxG7vTYMw8J/EhA5RQDrJkigVrzdTRVwo=
SHA256 (Pkgfile) = 6b3355971a02e8e7a2f15a4b628f55eef008493713ce29447a53f52bb1a0aa9d
RWSagIOpLGJF3wc2WkbH6xu1P4yPv2sNJho/FVgRGRa1JL1DOH2eSnIxSg7tRdyBx1L7G7WcIulh8qKhR+KLrT2Yg5OybZEDDgk=
SHA256 (Pkgfile) = 1119952fed0b053217e71069eab48ef6351a3ae0780f5e1c781a324b134827fc
SHA256 (.footprint) = 3c18bdb06b6e8fa93bcf59210bd1d1f12e2ff0fbaba6a03dfab830383812d9b4
SHA256 (nsjail-2.9.tar.gz) = f8578a48330d3d089c9234a2b562be08043f8fe77453c322724acdf403d0afc3
SHA256 (kafel-722b93a.tar.gz) = 49d2327c794c90aca50a9933c00d453705534b16e5f42d8c8e19c3d274f5e5f8

View File

@ -6,12 +6,15 @@
name=nsjail
version=2.9
kafel_version=722b93a
release=1
release=2
source=(https://github.com/google/$name/archive/$version/$name-$version.tar.gz
https://github.com/google/kafel/archive/$kafel_version/kafel-$kafel_version.tar.gz)
build() {
cd $name-$version*
cd $name-$version
# Fix build fail on deprecated-declarartions warning (config.proto/config.pb.cc)
CXXFLAGS="$CXXFLAGS -Wno-deprecated-declarations"
# workaround to avoid using `git submodule update --init`
rm -rf kafel