pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/nmap



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jul 14 11:50:38 UTC 2023

Modified Files:
        pkgsrc/net/nmap: distinfo
Added Files:
        pkgsrc/net/nmap/patches: patch-protocols.cc

Log Message:
nmap: Add missing climits header inclusion. Spotted in SunOS bulk build.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/net/nmap/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/nmap/patches/patch-protocols.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/nmap/distinfo
diff -u pkgsrc/net/nmap/distinfo:1.87 pkgsrc/net/nmap/distinfo:1.88
--- pkgsrc/net/nmap/distinfo:1.87       Fri Jun  9 12:53:14 2023
+++ pkgsrc/net/nmap/distinfo    Fri Jul 14 11:50:38 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.87 2023/06/09 12:53:14 adam Exp $
+$NetBSD: distinfo,v 1.88 2023/07/14 11:50:38 nia Exp $
 
 BLAKE2s (nmap-7.94.tar.bz2) = fb58b74eaf86ab57d253e947fc1dea5cfc6a418fba62001a767e37833399979f
 SHA512 (nmap-7.94.tar.bz2) = a55cddf9c1d9272243d01251eb3315b26f232d0596818857083222a385398618b428dc2bd8282c3e832527e135a74aeb020ca8609d83d8337342f5d8a04d7f2c
@@ -10,3 +10,4 @@ SHA1 (patch-libnetutil_netutil.cc) = 7bd
 SHA1 (patch-nping_EchoServer.cc) = e5b0213e3cfff8a32b5ae291c1921a86b9b17dd3
 SHA1 (patch-nping_NpingOps.cc) = 074766040fbf6dc16315b6313d6dad4ff514a91a
 SHA1 (patch-nsock_tests_run__tests.sh) = 88a7447f93dd3377e7e24e317c55528a73a17401
+SHA1 (patch-protocols.cc) = c3e2013a0c7016fbe1cabef5226685bd74377302

Added files:

Index: pkgsrc/net/nmap/patches/patch-protocols.cc
diff -u /dev/null pkgsrc/net/nmap/patches/patch-protocols.cc:1.1
--- /dev/null   Fri Jul 14 11:50:38 2023
+++ pkgsrc/net/nmap/patches/patch-protocols.cc  Fri Jul 14 11:50:38 2023
@@ -0,0 +1,19 @@
+$NetBSD: patch-protocols.cc,v 1.1 2023/07/14 11:50:38 nia Exp $
+
+protocols.cc:81:41: error: 'UCHAR_MAX' was not declared in this scope
+   81 | static struct nprotoent *protocol_table[UCHAR_MAX];
+      |                                         ^~~~~~~~~
+protocols.cc:68:1: note: 'UCHAR_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
+   67 | #include "utils.h"
+  +++ |+#include <climits>
+
+--- protocols.cc.orig  2023-04-14 17:11:46.000000000 +0000
++++ protocols.cc
+@@ -66,6 +66,7 @@
+ #include "nmap_error.h"
+ #include "utils.h"
+ 
++#include <climits>
+ #include <map>
+ 
+ extern NmapOps o;



Home | Main Index | Thread Index | Old Index