diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-09-24 03:39:27 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-09-24 03:56:44 -0400 |
commit | 6edc7559f1ce4b88c930987f80ff8fa70d37b811 (patch) | |
tree | eb710a9ec20226b28b6af2bfe0583101bee7b607 /pcr | |
parent | a966ec85d78339311246e589b57f189bdd15741c (diff) | |
download | abslibre-6edc7559f1ce4b88c930987f80ff8fa70d37b811.tar.gz abslibre-6edc7559f1ce4b88c930987f80ff8fa70d37b811.tar.bz2 abslibre-6edc7559f1ce4b88c930987f80ff8fa70d37b811.zip |
[ucsniff-ace]: supress gcc10 compiler errors
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ucsniff-ace/PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pcr/ucsniff-ace/PKGBUILD b/pcr/ucsniff-ace/PKGBUILD index c2e488633..c7993e9ce 100644 --- a/pcr/ucsniff-ace/PKGBUILD +++ b/pcr/ucsniff-ace/PKGBUILD @@ -6,6 +6,7 @@ pkgrel=5 pkgdesc='A simple yet powerful VoIP Corporate Directory enumeration tool that mimics the behavior of an IP Phone in order to download the name and extension entries that a given phone can display on its screen interface.' url='http://ucsniff.sourceforge.net/ace.html' license=('GPL') +makedepends=('libtirpc') depends=('libpcap') arch=('i686' 'x86_64' 'armv7h') source=("http://downloads.sourceforge.net/ucsniff/ace-$pkgver.tar.gz") @@ -15,6 +16,10 @@ sha1sums=('747aee37f74e71101317809797cdaed7077dd29e') prepare() { cd "$srcdir/ace-$pkgver" + # FTBS with GCC10; bcause '-fno-common' is now the default + # this software appears to be unmaintained + export CFLAGS="${CFLAGS} -fcommon -I/usr/include/tirpc" + sed -i 's#linux/if_tr.h#netinet/if_tr.h#' client.h sed -i "s:gcc :gcc $CFLAGS :g" Makefile } |