diff options
author | joerg <joerg@pkgsrc.org> | 2020-03-26 02:28:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-03-26 02:28:58 +0000 |
commit | c6bad2198699a71ba442278c97882f523e41ab62 (patch) | |
tree | e138b1aac028b1430d823242b8aaba626a80eba0 /net | |
parent | 8ee9a046ac3a91a2cc762cfaeebe204ed26aec9a (diff) | |
download | pkgsrc-c6bad2198699a71ba442278c97882f523e41ab62.tar.gz |
Fix const use with standard compliant C++ string.h.
Diffstat (limited to 'net')
-rw-r--r-- | net/libnipper/distinfo | 3 | ||||
-rw-r--r-- | net/libnipper/patches/patch-device_common_misc.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/libnipper/distinfo b/net/libnipper/distinfo index 21dfa75b6c0..942c96f9bf6 100644 --- a/net/libnipper/distinfo +++ b/net/libnipper/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2015/12/29 04:04:29 dholland Exp $ +$NetBSD: distinfo,v 1.6 2020/03/26 02:28:58 joerg Exp $ SHA1 (libnipper-0.12.1.tgz) = 0999540d127588d1be1b9f3baecb25603511e448 RMD160 (libnipper-0.12.1.tgz) = 3ff9bdae5e41a1b1549103c6bea030f662d0d19c @@ -6,4 +6,5 @@ SHA512 (libnipper-0.12.1.tgz) = ba1c53c6c90781e8fb200129e7dabe07a6e8245c24b07dc8 Size (libnipper-0.12.1.tgz) = 450651 bytes SHA1 (patch-aa) = c4d245196cd901b9f11826bd163df701e1b447a2 SHA1 (patch-ab) = 02fe2e79e77a4da0513091610726d1aa655f7637 +SHA1 (patch-device_common_misc.cpp) = cb1b3947fdeb1c962b786f1345b430a7f2fcbbef SHA1 (patch-report_report-text.cpp) = e686920acc8fa665eb65e69977421e7d50b459df diff --git a/net/libnipper/patches/patch-device_common_misc.cpp b/net/libnipper/patches/patch-device_common_misc.cpp new file mode 100644 index 00000000000..e6975661ed2 --- /dev/null +++ b/net/libnipper/patches/patch-device_common_misc.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-device_common_misc.cpp,v 1.1 2020/03/26 02:28:58 joerg Exp $ + +--- device/common/misc.cpp.orig 2020-03-25 13:09:41.814154865 +0000 ++++ device/common/misc.cpp +@@ -198,7 +198,7 @@ const char *Device::cidrToNetmask(const + unsigned int Device::ipAddressToNum(const char *address) + { + // Variables... +- char *addressPointer = 0; ++ const char *addressPointer = 0; + unsigned int returnAddress = 0; + int tempInt = 0; + |