aboutsummaryrefslogtreecommitdiff
path: root/graphics/xv
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-01-01 20:53:40 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-01-01 20:53:40 +0000
commit1421cc1eaf0d6f6c8a5fc1aebdf41369887fc92c (patch)
treea4ed23eaf7ba844cb7e7bfc907cefa0c394a045c /graphics/xv
parentcb24bd26f82a89678bcbe6d52d72c67a43dd913d (diff)
downloadports-1421cc1eaf0d6f6c8a5fc1aebdf41369887fc92c.tar.gz
ports-1421cc1eaf0d6f6c8a5fc1aebdf41369887fc92c.zip
- update to 3.1
Notes
Notes: svn path=/head/; revision=521771
Diffstat (limited to 'graphics/xv')
-rw-r--r--graphics/xv/files/patch-xvpng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/xv/files/patch-xvpng.c b/graphics/xv/files/patch-xvpng.c
index 5a67f9a6f858..82076f94ced5 100644
--- a/graphics/xv/files/patch-xvpng.c
+++ b/graphics/xv/files/patch-xvpng.c
@@ -480,8 +480,8 @@
- commentsize += strlen(info_ptr->text[i].key) + 1 +
- info_ptr->text[i].text_length + 2;
+ for (i = 0; i < _num_text; i++)
-+ commentsize += strlen(_text[i].key) + 1 +
-+ _text[i].text_length + 2;
++ commentsize += strlen(_text[i].key) + 2 +
++ _text[i].text_length + _text[i].itxt_length + 1;
if ((pinfo->comment = malloc(commentsize)) == NULL) {
png_warning(png_ptr,"can't allocate comment string");