nixpkgs/pkgs/misc/cups/drivers/splix/splix-2.0.0-gcc45.patch
Yury G. Kudryashov 35fe5dadb1 splix-2.0.0: fix compilation with gcc-4.5
svn path=/nixpkgs/branches/stdenv-updates/; revision=25312
2010-12-28 18:47:41 +00:00

18 lines
514 B
Diff

Fixing build with gcc 4.5
http://bugs.gentoo.org/show_bug.cgi?id=318581
downloaded from
http://gentoo-overlays.zugaina.org/gentoo/portage/net-print/splix/files/splix-2.0.0-gcc45.patch
--- splix-old/src/ppdfile.cpp
+++ splix-new/src/ppdfile.cpp
@@ -282,7 +282,7 @@
* Opérateur d'assignation
* Assignment operator
*/
-void PPDFile::Value::operator = (const PPDFile::Value::Value &val)
+void PPDFile::Value::operator = (const PPDFile::Value &val)
{
if (_preformatted)
delete[] _preformatted;