diff options
author | joerg <joerg@pkgsrc.org> | 2020-05-14 19:20:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-05-14 19:20:32 +0000 |
commit | d8888110d467e48e6082e12861326b837effc9e9 (patch) | |
tree | 759b3afbfb33f240dabc8fb6f01267b36814f6af /misc | |
parent | c135e13b27fb8cef3a42758d1fd6881204f7fa84 (diff) | |
download | pkgsrc-d8888110d467e48e6082e12861326b837effc9e9.tar.gz |
Fix const use.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/vfu/distinfo | 4 | ||||
-rw-r--r-- | misc/vfu/patches/patch-vslib_getopt2.cpp | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/misc/vfu/distinfo b/misc/vfu/distinfo index 5e89d9a99da..ac71fc0a7e1 100644 --- a/misc/vfu/distinfo +++ b/misc/vfu/distinfo @@ -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) = d64d243deff488fad9c46fb022f20b303d80bd03 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 --git a/misc/vfu/patches/patch-vslib_getopt2.cpp b/misc/vfu/patches/patch-vslib_getopt2.cpp index 471b3c80430..3d3bd97e1a9 100644 --- a/misc/vfu/patches/patch-vslib_getopt2.cpp +++ b/misc/vfu/patches/patch-vslib_getopt2.cpp @@ -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++ compilers happier. /* * AU: Auswertung der Kommandozeile +@@ -83,7 +83,7 @@ int getopt2(int argc, char *argv[], char + */ + + { +- char *search; ++ const char *search; + + optarg = NULL; + |