diff -r 233620acc9da -r 3c9262a98d5d components/gnome/evince/patches/evince-05-remove-newline.patch --- a/components/gnome/evince/patches/evince-05-remove-newline.patch Wed Jul 13 09:59:57 2016 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -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; - } -