aboutsummaryrefslogtreecommitdiff
path: root/converters/fix-mime-charset
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-02-01 20:21:01 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-02-01 20:21:01 +0000
commitefec6e852f3a5144c081e78ff4e813a603f7f058 (patch)
treebc2e60418eb63b2361b141203f61bd9ac4ccfb67 /converters/fix-mime-charset
parent267a48c2404fe3fc2a1909eca98651bc8d7f9a2c (diff)
downloadports-efec6e852f3a5144c081e78ff4e813a603f7f058.tar.gz
ports-efec6e852f3a5144c081e78ff4e813a603f7f058.zip
Notes
Diffstat (limited to 'converters/fix-mime-charset')
-rw-r--r--converters/fix-mime-charset/files/patch-src_argp-local.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/converters/fix-mime-charset/files/patch-src_argp-local.h b/converters/fix-mime-charset/files/patch-src_argp-local.h
index be5ae8c795c4..6742fac1a1f9 100644
--- a/converters/fix-mime-charset/files/patch-src_argp-local.h
+++ b/converters/fix-mime-charset/files/patch-src_argp-local.h
@@ -8,3 +8,12 @@
#define __need_error_t
#include <errno.h>
+@@ -65,7 +65,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;
+ }
+