]> git.pld-linux.org Git - packages/cups.git/commitdiff
- default to IPP/1.1 for now (RHBZ#977813)
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 12 Nov 2013 07:21:37 +0000 (08:21 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 12 Nov 2013 07:21:37 +0000 (08:21 +0100)
cups-use-ipp1.1.patch [new file with mode: 0644]
cups.spec

diff --git a/cups-use-ipp1.1.patch b/cups-use-ipp1.1.patch
new file mode 100644 (file)
index 0000000..41855fc
--- /dev/null
@@ -0,0 +1,12 @@
+diff -up cups-1.6.3/cups/usersys.c.use-ipp1.1 cups-1.6.3/cups/usersys.c
+--- cups-1.6.3/cups/usersys.c.use-ipp1.1       2013-07-12 11:41:45.368837618 +0200
++++ cups-1.6.3/cups/usersys.c  2013-07-12 11:41:45.391837299 +0200
+@@ -366,7 +366,7 @@ cupsSetServer(const char *server)  /* I -
+         cg->server_version = 22;
+     }
+     else
+-      cg->server_version = 20;
++      cg->server_version = 11;
+     if (cg->server[0] != '/' && (port = strrchr(cg->server, ':')) != NULL &&
+         !strchr(port, ']') && isdigit(port[1] & 255))
index 50b39e98891670c3b985df0ebe0bcfa11a6016bd..c6d54ee8f678464b223a1c3f6caf42474383f2d5 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -44,6 +44,7 @@ Patch13:      %{name}-systemd-socket.patch
 Patch14:       add-ipp-backend-of-cups-1.4.patch
 Patch15:       reactivate_recommended_driver.patch
 Patch16:       read-embedded-options-from-incoming-postscript-and-add-to-ipp-attrs.patch
+Patch17:       %{name}-use-ipp1.1.patch
 # avahi patches from fedora
 Patch100:      %{name}-avahi-address.patch
 Patch101:      %{name}-avahi-no-threaded.patch
@@ -265,6 +266,7 @@ Wsparcie dla LPD w serwerze wydruków CUPS.
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 
 %if %{with avahi}
 %patch100 -p1
This page took 0.089465 seconds and 4 git commands to generate.