1
0
forked from ports/contrib

ncrack: fix build against gcc 10

This commit is contained in:
Alexandr Savca 2020-12-10 19:48:11 +02:00
parent b5e84fbfa4
commit 41b489b8c4
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+NEVEcstL1h4EJLfmCqThhxknFDeEZ3B+XH1A0Q7D1mbZDm2S3wKaqqLno2hIYBR5clyqAcLXnGW92Qfde/iwQ=
SHA256 (Pkgfile) = 4844707b132f71d395288e092da83332167f533daf204b86ee1873f63064bb90
RWSagIOpLGJF30Nd7oYBeA4OLWL9Mtda2eo6ZrfY4dJLBk+VGnuV9GLvZpIJnewavCeycOFTyqGTK+cR70NuMY7/mtfZERVSaQM=
SHA256 (Pkgfile) = 1b64eb8987b215f01c6cda32b2c1c51df26c09f4e29ab0195bf0f99c712465cf
SHA256 (.footprint) = 6750b13f257789ef912611c76cf8b63915e5f8b624a6c0270a181810b93a7b56
SHA256 (ncrack-0.7.tar.gz) = f3f971cd677c4a0c0668cb369002c581d305050b3b0411e18dd3cb9cc270d14a
SHA256 (fix-spelling-errors.patch) = ab5345a0e619cea52837300c1f233c33509940eebc5576854bfee799b4bda195

View File

@ -14,6 +14,8 @@ build() {
patch -p1 -i $SRC/fix-spelling-errors.patch
export CFLAGS+=" -fcommon"
# remove default debug and optimization flags
sed -i \
-e '/CFLAGS\s*=\s*/s/-g//;s/-O2//' \