]> git.pld-linux.org Git - packages/cups.git/commitdiff
- fix compilation auto/aidath/cups-1_4_1-5
authorjpc <jpc@pld-linux.org>
Tue, 22 Sep 2009 10:30:38 +0000 (10:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups-side_cb.patch -> 1.1
    cups.spec -> 1.271

cups-side_cb.patch [new file with mode: 0644]
cups.spec

diff --git a/cups-side_cb.patch b/cups-side_cb.patch
new file mode 100644 (file)
index 0000000..3953d92
--- /dev/null
@@ -0,0 +1,25 @@
+From 484851e02cc5a9b702e0f226f20a0d33325d9dee Mon Sep 17 00:00:00 2001
+From: Tim Waugh <twaugh@redhat.com>
+Date: Mon, 14 Sep 2009 17:34:36 +0100
+Subject: [PATCH] Fixed side_cb function declaration in usb-unix.c.
+
+---
+ backend/usb-unix.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/backend/usb-unix.c b/backend/usb-unix.c
+index c47910d..a00f1ad 100644
+--- a/backend/usb-unix.c
++++ b/backend/usb-unix.c
+@@ -560,7 +560,7 @@ open_device(const char *uri,               /* I - Device URI */
+  * 'side_cb()' - Handle side-channel requests...
+  */
+-static void
++static int
+ side_cb(int         print_fd,         /* I - Print file */
+         int         device_fd,                /* I - Device file */
+         int         snmp_fd,          /* I - SNMP socket (unused) */
+-- 
+1.6.4.2
+
index e37c4a74cf4155cff0724c93df90180f83011c51..580cc7bf6a30d1eda2ad21020cb8acdcb3cef4c3 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -38,6 +38,7 @@ Patch6:               %{name}-direct_usb.patch
 Patch7:                %{name}-no-polluted-krb5config.patch
 Patch9:                %{name}-verbose-compilation.patch
 Patch10:       %{name}-peercred.patch
+Patch11:       %{name}-side_cb.patch
 URL:           http://www.cups.org/
 BuildRequires: acl-devel
 BuildRequires: autoconf
@@ -339,6 +340,7 @@ Wsparcie dla LPD w serwerze wydruków CUPS.
 %patch7 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 %build
 %{__aclocal} -I config-scripts
This page took 0.037197 seconds and 4 git commands to generate.