From: | "Andreas HAttel (dilfridge)" <dilfridge@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/poppler/files: poppler-0.18.4-newline.patch |
Date: | Thu, 05 Apr 2012 20:01:30 |
Message-Id: | 20120405200106.083B12004F@flycatcher.gentoo.org |
1 | dilfridge 12/04/05 20:01:06 |
2 | |
3 | Added: poppler-0.18.4-newline.patch |
4 | Log: |
5 | Do not add a newline at file end on copy, bug 402071 |
6 | |
7 | (Portage version: 2.1.10.55/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-text/poppler/files/poppler-0.18.4-newline.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/files/poppler-0.18.4-newline.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/poppler/files/poppler-0.18.4-newline.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: poppler-0.18.4-newline.patch |
16 | =================================================================== |
17 | diff -ruN poppler-0.18.4.orig/poppler/TextOutputDev.cc poppler-0.18.4/poppler/TextOutputDev.cc |
18 | --- poppler-0.18.4.orig/poppler/TextOutputDev.cc 2011-11-22 22:33:16.000000000 +0100 |
19 | +++ poppler-0.18.4/poppler/TextOutputDev.cc 2012-04-05 21:57:45.000000000 +0200 |
20 | @@ -4009,7 +4009,9 @@ |
21 | // not a table |
22 | else { |
23 | page->dumpFragment (frag->line->text + frag->start, frag->len, uMap, s); |
24 | - s->append (eol, eolLen); |
25 | + if (i < nFrags -1) { |
26 | + s->append (eol, eolLen); |
27 | + } |
28 | } |
29 | } |