PSARC 2016/025 Move evince, poppler, poppler-data and libspectre to Userland
22271989 Move evince and dependencies from Desktop to Userland
Patch taken from the Desktop consolidation.
See BugDB CR #15768012
SUNBT7132463-SOLARIS_11U1 [evince] garbled character is pasted when copy&paste t
for more details.
This patch will be sent upstream if the problem still exists in the latest
version of evince.
diff -urN evince-2.30.3/backend/pdf/ev-poppler.cc ../SUNWgnome-pdf-viewer-2.30.3.hacked/evince-2.30.3/backend/pdf/ev-poppler.cc
--- evince-2.30.3/backend/pdf/ev-poppler.cc 2010-06-24 09:19:28.000000000 +0100
+++ ../SUNWgnome-pdf-viewer-2.30.3.hacked/evince-2.30.3/backend/pdf/ev-poppler.cc 2012-02-27 20:58:49.148832384 +0000
@@ -1990,6 +1990,8 @@
(PopplerSelectionStyle)style,
&r);
+ if (retval[strlen(retval)-1] == '\n')
+ retval[strlen(retval)-1] = '\0';
return retval;
}