Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/vfu Fix const use.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83e2265e43c3
branches:  trunk
changeset: 431585:83e2265e43c3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:20:32 2020 +0000

description:
Fix const use.

diffstat:

 misc/vfu/distinfo                        |   4 ++--
 misc/vfu/patches/patch-vslib_getopt2.cpp |  13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r d6271d090500 -r 83e2265e43c3 misc/vfu/distinfo
--- a/misc/vfu/distinfo Thu May 14 19:20:17 2020 +0000
+++ b/misc/vfu/distinfo Thu May 14 19:20:32 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2017/08/19 00:26:37 jlam Exp $
+$NetBSD: distinfo,v 1.15 2020/05/14 19:20:32 joerg Exp $
 
 SHA1 (vfu-3.04.src.tar.gz) = 75e87d102114dc08136420e7927e687f72a52dfd
 RMD160 (vfu-3.04.src.tar.gz) = a0d1ba84d9c66216b444226ceace190ada0e795a
@@ -21,7 +21,7 @@
 SHA1 (patch-vfu_vfusys.cpp) = 3a4f57f381d10c6d4f66d84d8c57338a0e17b77c
 SHA1 (patch-vfu_vfuview.cpp) = 573c1df0d515d328de300ed1e418f065ac43887e
 SHA1 (patch-vslib_conmenu.h) = 8fbfc954abb7d713ef66ab565d66ecb285cd86f0
-SHA1 (patch-vslib_getopt2.cpp) = b5cb783a8660a267c5dca03ff29e37415ad6fb2b
+SHA1 (patch-vslib_getopt2.cpp) = d4f106eabc2abff53c52e0008967324466e2762c
 SHA1 (patch-vslib_regexp3.cpp) = 48017429d1f10559f37cbdc901fa247e6cd8e600
 SHA1 (patch-vslib_vstring.cpp) = 56fc269b175405821533e11c86e1c6a12cc5d7e7
 SHA1 (patch-vslib_vstring.h) = d93cb8362ad11d0a62acaf8ab56e4aace0fd4f7f
diff -r d6271d090500 -r 83e2265e43c3 misc/vfu/patches/patch-vslib_getopt2.cpp
--- a/misc/vfu/patches/patch-vslib_getopt2.cpp  Thu May 14 19:20:17 2020 +0000
+++ b/misc/vfu/patches/patch-vslib_getopt2.cpp  Thu May 14 19:20:32 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-vslib_getopt2.cpp,v 1.1 2014/06/29 19:43:54 dholland Exp $
+$NetBSD: patch-vslib_getopt2.cpp,v 1.2 2020/05/14 19:20:32 joerg Exp $
 
 Sprinkle const to make more modern C++ compilers happier.
 
---- vslib/getopt2.cpp~ 2001-10-28 13:53:02.000000000 +0000
+--- vslib/getopt2.cpp.orig     2001-10-28 13:53:02.000000000 +0000
 +++ vslib/getopt2.cpp
 @@ -40,7 +40,7 @@ static char *nextarg = NULL;
  
@@ -13,3 +13,12 @@
  
  /*
   *  AU: Auswertung der Kommandozeile
+@@ -83,7 +83,7 @@ int getopt2(int argc, char *argv[], char
+  */
+ 
+ {
+-    char *search;
++    const char *search;
+ 
+     optarg = NULL;
+ 



Home | Main Index | Thread Index | Old Index