diff options
author | wiz <wiz@pkgsrc.org> | 2019-06-06 05:37:53 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-06-06 05:37:53 +0000 |
commit | 8e5d1ba6b8163296ba2f3694f3f2d573aa2965c7 (patch) | |
tree | 9763c82ebeb888940d5e583651e914760433abf0 /databases | |
parent | d2f5262d5177d7abc03612286c06649b7e017ed8 (diff) | |
download | pkgsrc-8e5d1ba6b8163296ba2f3694f3f2d573aa2965c7.tar.gz |
rrdtool: remove patch after update
This patch was removed from the distinfo in the 1.7.2 update
Diffstat (limited to 'databases')
-rw-r--r-- | databases/rrdtool/patches/patch-src_rrd__xport.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/databases/rrdtool/patches/patch-src_rrd__xport.c b/databases/rrdtool/patches/patch-src_rrd__xport.c deleted file mode 100644 index e7e208ab6bf..00000000000 --- a/databases/rrdtool/patches/patch-src_rrd__xport.c +++ /dev/null @@ -1,33 +0,0 @@ -$NetBSD: patch-src_rrd__xport.c,v 1.2 2017/07/27 18:31:20 adam Exp $ - -Use <ctype.h> correctly. - ---- src/rrd_xport.c.orig 2017-05-16 12:26:46.000000000 +0000 -+++ src/rrd_xport.c -@@ -537,7 +537,7 @@ static int rrd_xport_format_sv(char sep, - if (addToBuffer(buffer,"\"time\"",6)) { return 1; } - for(unsigned long i=0;i<col_cnt;i++) { - /* strip leading spaces */ -- char *t=legend_v[i]; while (isspace(*t)) { t++;} -+ char *t=legend_v[i]; while (isspace((unsigned char)*t)) { t++;} - /* and print it */ - snprintf(buf,255,"%c\"%s\"",sep,t); - if (addToBuffer(buffer,buf,0)) { return 1;} -@@ -680,7 +680,7 @@ static int rrd_xport_format_xmljson(int - for (unsigned long j = 0; j < col_cnt; j++) { - char *entry = legend_v[j]; - /* I do not know why the legend is "spaced", but let us skip it */ -- while(isspace(*entry)){entry++;} -+ while(isspace((unsigned char)*entry)){entry++;} - /* now output it */ - if (json){ - snprintf(buf,sizeof(buf)," \"%s\"", entry); -@@ -970,7 +970,7 @@ static int rrd_xport_format_addprints(in - case GF_LINE: - entry = im->gdes[i].legend; - /* I do not know why the legend is "spaced", but let us skip it */ -- while(isspace(*entry)){entry++;} -+ while(isspace((unsigned char)*entry)){entry++;} - if (json) { - snprintf(buf,sizeof(buf),",\n { \"line\": \"%s\" }",entry); - } else { |