OK, as a quick fix, I have effectively replaced backend/ipp.c with the 1.4.x version (branches/1.4.x/backend/ipp.c, r8950), with the patch included below. One line was changed in order to get the code to compile as part of 1.5:
---------------------------- --- ipp-1.4x.c 2011-10-27 16:50:04.000000000 +0100 +++ ipp.c 2011-10-27 16:37:46.000000000 +0100 @@ -428,7 +428,7 @@
if ((fd = cupsTempFd(tmpfilename, sizeof(tmpfilename))) < 0) { - _cupsLangPrintError(_("ERROR: Unable to create temporary file")); + _cupsLangPrintError("ERROR", _("Unable to create temporary file")); return (CUPS_BACKEND_FAILED); }
----------------------------
I would not trust this without a lot more testing, but this worked for me just now.
OK, as a quick fix, I have effectively replaced backend/ipp.c with the 1.4.x version (branches/ 1.4.x/backend/ ipp.c, r8950), with the patch included below. One line was changed in order to get the code to compile as part of 1.5:
------- ------- ------- -------
--- ipp-1.4x.c 2011-10-27 16:50:04.000000000 +0100
+++ ipp.c 2011-10-27 16:37:46.000000000 +0100
@@ -428,7 +428,7 @@
if ((fd = cupsTempFd( tmpfilename, sizeof( tmpfilename) )) < 0) rror(_( "ERROR: Unable to create temporary file")); rror("ERROR" , _("Unable to create temporary file")); FAILED) ;
{
- _cupsLangPrintE
+ _cupsLangPrintE
return (CUPS_BACKEND_
}
------- ------- ------- -------
I would not trust this without a lot more testing, but this worked for me just now.