aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2023-12-29 07:26:16 -0800
committerorbea <orbea@riseup.net>2023-12-29 07:26:16 -0800
commit07c056d8058ecd858e16fd4e7eedf570aac449d2 (patch)
tree173833166217434efaa8a313a4b521a897fbab05 /net-analyzer
parentdev-qt/qtbase: drop 6.5.3-r1, 6.6.0-r1 (diff)
downloadlibressl-07c056d8058ecd858e16fd4e7eedf570aac449d2.tar.gz
libressl-07c056d8058ecd858e16fd4e7eedf570aac449d2.tar.bz2
libressl-07c056d8058ecd858e16fd4e7eedf570aac449d2.zip
net-analyzer/nmap: sync ::gentoo
Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nmap/files/nmap-7.94-autoconf-2.72.patch31
-rw-r--r--net-analyzer/nmap/nmap-7.94.ebuild1
2 files changed, 32 insertions, 0 deletions
diff --git a/net-analyzer/nmap/files/nmap-7.94-autoconf-2.72.patch b/net-analyzer/nmap/files/nmap-7.94-autoconf-2.72.patch
new file mode 100644
index 0000000..7a17ce1
--- /dev/null
+++ b/net-analyzer/nmap/files/nmap-7.94-autoconf-2.72.patch
@@ -0,0 +1,31 @@
+--- a/libdnet-stripped/config/acinclude.m4
++++ b/libdnet-stripped/config/acinclude.m4
+@@ -201,6 +201,8 @@
+ dnl
+ AC_DEFUN(AC_DNET_IOCTL_ARP,
+ [AC_MSG_CHECKING(for arp(7) ioctls)
++ AC_PROG_EGREP
++ AC_PROG_CPP
+ AC_CACHE_VAL(ac_cv_dnet_ioctl_arp,
+ AC_EGREP_CPP(werd, [
+ # include <sys/types.h>
+--- a/libdnet-stripped/configure.in
++++ b/libdnet-stripped/configure.in
+@@ -211,7 +211,7 @@
+ AC_REPLACE_FUNCS(err strlcpy strsep)
+
+ dnl Checks for other system-specific jonks.
+-if test "$CYGWIN" != yes ; then
++AS_IF([test "$CYGWIN" != yes], [
+ AC_DNET_BSD_BPF
+ AC_DNET_LINUX_PROCFS
+ AC_DNET_LINUX_PF_PACKET
+@@ -221,7 +221,7 @@
+ AC_DNET_RAWIP_HOST_OFFLEN
+ AC_DNET_RAWIP_COOKED
+ AC_DNET_GETKERNINFO
+-fi
++])
+
+ dnl Check for arp interface.
+ if test "$ac_cv_header_Iphlpapi_h" = yes ; then
diff --git a/net-analyzer/nmap/nmap-7.94.ebuild b/net-analyzer/nmap/nmap-7.94.ebuild
index ab88789..9971b2a 100644
--- a/net-analyzer/nmap/nmap-7.94.ebuild
+++ b/net-analyzer/nmap/nmap-7.94.ebuild
@@ -81,6 +81,7 @@ fi
PATCHES=(
"${WORKDIR}"/${PN}-7.94-patches
+ "${FILESDIR}"/${PN}-7.94-autoconf-2.72.patch
"${FILESDIR}"/${PN}-7.92-libressl.patch
)