diff options
author | Steven Allen | 2021-04-29 09:01:09 -0700 |
---|---|---|
committer | Steven Allen | 2021-04-29 09:01:09 -0700 |
commit | aec9ea16fabc4ec9bc7406083a4fddc75e7e4b0a (patch) | |
tree | ca18cc7a3cbc90c8c2951fbb2c1ed63ac56b2ae1 | |
parent | e3340c570a87486c071fa51e8f235542a8ba3c52 (diff) | |
download | aur-aec9ea16fabc4ec9bc7406083a4fddc75e7e4b0a.tar.gz |
fix build with latest makepkg flags
The format security issue is really a non-issue, it's just printing
newlines.
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ sha256sums=('6c492d0c7b4a40e7674d088191d3aa11f373bb1da60762e098b8ee2dda96ef22' build() { cd "$srcdir/WordNet-$_srcver" ./configure --prefix=/usr --mandir=/usr/share/man \ - CFLAGS="${CFLAGS} -fPIC -DUSE_INTERP_RESULT" \ + CFLAGS="${CFLAGS} -fPIC -DUSE_INTERP_RESULT -Wno-error=format-security" \ CXXFLAGS="${CXXFLAGS} -fPIC" sed 's:#define DEFAULTPATH "/usr/dict":#define DEFAULTPATH "/usr/share/wordnet/dict":' -i config.h sed 's:"/usr/local/WordNet-3.0/lib/wnres":"/usr/share/wordnet/wnres":' -i src/wnb |