pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/fix-mime-charset Fix const correctness with C++ c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce8c7c9bd8b2
branches: trunk
changeset: 414330:ce8c7c9bd8b2
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Mar 26 02:30:49 2020 +0000
description:
Fix const correctness with C++ compliant string.h
diffstat:
mail/fix-mime-charset/distinfo | 4 ++--
mail/fix-mime-charset/patches/patch-src_argp-local.h | 13 +++++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r 678fb66652c3 -r ce8c7c9bd8b2 mail/fix-mime-charset/distinfo
--- a/mail/fix-mime-charset/distinfo Thu Mar 26 02:30:26 2020 +0000
+++ b/mail/fix-mime-charset/distinfo Thu Mar 26 02:30:49 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 23:27:05 agc Exp $
+$NetBSD: distinfo,v 1.9 2020/03/26 02:30:49 joerg Exp $
SHA1 (fix-mime-charset-0.5.3.tar.gz) = e331d21ba71460041958b8d4eeb61757e9f52182
RMD160 (fix-mime-charset-0.5.3.tar.gz) = 7a456f8e40c017b9f3f06db79c7cfcd2d2d15149
SHA512 (fix-mime-charset-0.5.3.tar.gz) = e3a15a26eb8202b8ff4c7c9367de840183ac4db9071666073a3aa4d8d9f208f94e8b82e5e1568c15ed3762def1ec6ecdb8e61e632bf5bdb0ed24e345195416c9
Size (fix-mime-charset-0.5.3.tar.gz) = 115465 bytes
-SHA1 (patch-src_argp-local.h) = 4fc9bdc2279a1bd7e6d79b0fe9dde92edecf1d3d
+SHA1 (patch-src_argp-local.h) = b4c209a8e23c4c54a91a5bd41666c975b56856f1
SHA1 (patch-src_decoder.cc) = 24fe88fbf000a6770b6c601b8f1c113d6283f787
SHA1 (patch-src_input.cc) = 1ffbf69735e010f4ca516fa4a9b2d4f784f545af
diff -r 678fb66652c3 -r ce8c7c9bd8b2 mail/fix-mime-charset/patches/patch-src_argp-local.h
--- a/mail/fix-mime-charset/patches/patch-src_argp-local.h Thu Mar 26 02:30:26 2020 +0000
+++ b/mail/fix-mime-charset/patches/patch-src_argp-local.h Thu Mar 26 02:30:49 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_argp-local.h,v 1.2 2011/12/16 16:55:25 hans Exp $
+$NetBSD: patch-src_argp-local.h,v 1.3 2020/03/26 02:30:49 joerg Exp $
---- src/argp-local.h.orig 2011-11-24 00:53:41.000000000 +0000
+--- src/argp-local.h.orig 2003-11-25 23:51:41.000000000 +0000
+++ src/argp-local.h
@@ -10,6 +10,7 @@
//
@@ -10,6 +10,15 @@
#include <string.h>
#include <iostream>
+@@ -65,7 +66,7 @@ const argp_option _argp_default_options[
+
+ string _argp_progname(const char *arg)
+ {
+-char *p=strrchr(arg,'/');
++const char *p=strrchr(arg,'/');
+ return p==NULL ? arg : p+1;
+ }
+
@@ -196,7 +197,11 @@ for(p=_argp->options;p!=_argp_default_op
if(!p->name && !p->key)
p=_argp_default_options;
Home |
Main Index |
Thread Index |
Old Index