pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libnipper Fix const use with standard compliant C+...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1cb0560a2283
branches: trunk
changeset: 426068:1cb0560a2283
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Mar 26 02:28:58 2020 +0000
description:
Fix const use with standard compliant C++ string.h.
diffstat:
net/libnipper/distinfo | 3 ++-
net/libnipper/patches/patch-device_common_misc.cpp | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r d7d555fec7dc -r 1cb0560a2283 net/libnipper/distinfo
--- a/net/libnipper/distinfo Thu Mar 26 02:27:42 2020 +0000
+++ b/net/libnipper/distinfo Thu Mar 26 02:28:58 2020 +0000
@@ -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 @@
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 -r d7d555fec7dc -r 1cb0560a2283 net/libnipper/patches/patch-device_common_misc.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnipper/patches/patch-device_common_misc.cpp Thu Mar 26 02:28:58 2020 +0000
@@ -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;
+
Home |
Main Index |
Thread Index |
Old Index