pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/vfu



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu May 14 19:20:32 UTC 2020

Modified Files:
        pkgsrc/misc/vfu: distinfo
        pkgsrc/misc/vfu/patches: patch-vslib_getopt2.cpp

Log Message:
Fix const use.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/misc/vfu/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/misc/vfu/patches/patch-vslib_getopt2.cpp

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

Modified files:

Index: pkgsrc/misc/vfu/distinfo
diff -u pkgsrc/misc/vfu/distinfo:1.14 pkgsrc/misc/vfu/distinfo:1.15
--- pkgsrc/misc/vfu/distinfo:1.14       Sat Aug 19 00:26:37 2017
+++ pkgsrc/misc/vfu/distinfo    Thu May 14 19:20:32 2020
@@ -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_vfuopt.h) = d64d243deff4
 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

Index: pkgsrc/misc/vfu/patches/patch-vslib_getopt2.cpp
diff -u pkgsrc/misc/vfu/patches/patch-vslib_getopt2.cpp:1.1 pkgsrc/misc/vfu/patches/patch-vslib_getopt2.cpp:1.2
--- pkgsrc/misc/vfu/patches/patch-vslib_getopt2.cpp:1.1 Sun Jun 29 19:43:54 2014
+++ pkgsrc/misc/vfu/patches/patch-vslib_getopt2.cpp     Thu May 14 19:20:32 2020
@@ -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 @@ Sprinkle const to make more modern C++ c
  
  /*
   *  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