summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-08-05 10:53:12 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-08-05 10:53:12 +0000
commitd4b54a91f8cc34397a6365e1ffe531cc3aef990e (patch)
tree9829a712f1d12b0c624fe01a36943f678d736dcc /kde-base/kghostview/files
parentAdd patch to fix regression in kpdf (#101119). (diff)
downloadhistorical-d4b54a91f8cc34397a6365e1ffe531cc3aef990e.tar.gz
historical-d4b54a91f8cc34397a6365e1ffe531cc3aef990e.tar.bz2
historical-d4b54a91f8cc34397a6365e1ffe531cc3aef990e.zip
Add patch to fix compilation with gcc4 (#101384).
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'kde-base/kghostview/files')
-rw-r--r--kde-base/kghostview/files/kdegraphics-3.4-gcc4.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/kde-base/kghostview/files/kdegraphics-3.4-gcc4.patch b/kde-base/kghostview/files/kdegraphics-3.4-gcc4.patch
new file mode 100644
index 000000000000..d9bb7a101acd
--- /dev/null
+++ b/kde-base/kghostview/files/kdegraphics-3.4-gcc4.patch
@@ -0,0 +1,26 @@
+diff -Nur kdegraphics-3.4.2.orig/kghostview/displayoptions.cpp kdegraphics-3.4.2/kghostview/displayoptions.cpp
+--- kdegraphics-3.4.2.orig/kghostview/displayoptions.cpp 2005-07-20 12:00:39.000000000 +0200
++++ kdegraphics-3.4.2/kghostview/displayoptions.cpp 2005-08-05 12:02:27.000000000 +0200
+@@ -56,7 +56,7 @@
+ res.setMagnification( args->getOption( "scale" ).toFloat() );
+ res.setPage( args->getOption( "page" ).toInt() - 1 ); // transform from 1-based into 0-based
+ //res._overridePageMedia = args->getOption( "paper" );
+- kdDebug(4500 ) << "Parsed options: " << res << endl;
++ kdDebug(4500 ) << "Parsed options: " << DisplayOptions::toString( res ) << endl;
+ return res;
+ }
+
+diff -Nur kdegraphics-3.4.2.orig/kghostview/displayoptions.h kdegraphics-3.4.2/kghostview/displayoptions.h
+--- kdegraphics-3.4.2.orig/kghostview/displayoptions.h 2005-05-23 14:06:10.000000000 +0200
++++ kdegraphics-3.4.2/kghostview/displayoptions.h 2005-08-05 12:02:27.000000000 +0200
+@@ -109,10 +109,4 @@
+ setMagnification( 1.0 );
+ }
+
+-template <typename OutStream>
+-OutStream& operator << ( OutStream& out, const DisplayOptions& obj ) {
+- out << DisplayOptions::toString( obj ).utf8().data();
+- return out;
+-}
+-
+ #endif // DISPLAYOPTIONS_H