diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2019-07-11 04:11:31 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2019-07-11 04:11:31 +0000 |
commit | 99d295f20790323f3f3946805469605989d07e0d (patch) | |
tree | bcd0c067a510b0bce7b71cc820f6afe8d633933b /graphics/poppler | |
parent | c8b3df1495754b6e9598e96614c030c669d25cc1 (diff) |
graphics/poppler: add upstream bugfix
Approved by: gnome (kwm, implicit)
Notes
Notes:
svn path=/head/; revision=506396
Diffstat (limited to 'graphics/poppler')
-rw-r--r-- | graphics/poppler/Makefile | 1 | ||||
-rw-r--r-- | graphics/poppler/files/patch-git_2d191b | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index b041795956b9..84241ec1e2bd 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -3,6 +3,7 @@ PORTNAME= poppler DISTVERSION= 0.78.0 +PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= https://poppler.freedesktop.org/ diff --git a/graphics/poppler/files/patch-git_2d191b b/graphics/poppler/files/patch-git_2d191b new file mode 100644 index 000000000000..acb1e4c76139 --- /dev/null +++ b/graphics/poppler/files/patch-git_2d191b @@ -0,0 +1,29 @@ +From 2d191b49ea074cc69ba4c68a572f26c8bdb55abd Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid <aacid@kde.org> +Date: Wed, 10 Jul 2019 01:10:22 +0200 +Subject: Fix mistake on 093531cd0d0878b892d92ebc56c26936e5de3712 + +These i should have been j too +--- + poppler/TextOutputDev.cc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc +index e62e088..645e38f 100644 +--- poppler/TextOutputDev.cc ++++ poppler/TextOutputDev.cc +@@ -4791,8 +4791,8 @@ void TextSelectionPainter::endPage() + if (j != begin && sel->word->charPos[j] == sel->word->charPos[j - 1]) + continue; + +- out->drawChar(state, sel->word->textMat[i].m[4], sel->word->textMat[i].m[5], 0, 0, 0, 0, +- sel->word->charcode[i], 1, nullptr, 0); ++ out->drawChar(state, sel->word->textMat[j].m[4], sel->word->textMat[j].m[5], 0, 0, 0, 0, ++ sel->word->charcode[j], 1, nullptr, 0); + } + out->endString(state); + delete string; +-- +cgit v1.1 + + |