openbsd-ports/x11/gnome/libgnomecups/patches/patch-libgnomecups_gnome-cups-request_c
ajacoutot 110ceac445 - unbreak, this works fine now
- set GPL version, regen WANTLIB and PLIST
- add some comments in the patches (from FreeBSD)
2009-04-10 16:17:49 +00:00

16 lines
657 B
Plaintext

$OpenBSD: patch-libgnomecups_gnome-cups-request_c,v 1.3 2009/04/10 16:17:49 ajacoutot Exp $
Do not warn on stderr in case of IPP_NOT_FOUND.
--- libgnomecups/gnome-cups-request.c.orig Tue Jan 29 23:51:24 2008
+++ libgnomecups/gnome-cups-request.c Tue Jan 29 23:51:59 2008
@@ -349,7 +349,7 @@ request_thread_main (GnomeCupsRequest *request,
if (request->response == NULL)
status = IPP_INTERNAL_ERROR;
- if (status > IPP_OK_CONFLICT) {
+ if (status > IPP_OK_CONFLICT && status != IPP_NOT_FOUND) {
g_warning ("IPP request failed with status %d", status);
if (request->error != NULL)
*(request->error) = g_error_new (GNOME_CUPS_ERROR,