rpms/cups/devel cups-peercred.patch,1.1,1.2

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Tue Feb 5 18:20:55 UTC 2008


Author: twaugh

Update of /cvs/pkgs/rpms/cups/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25448

Modified Files:
	cups-peercred.patch 
Log Message:
* Tue Feb  5 2008 Tim Waugh <twaugh at redhat.com> 1:1.3.5-4
- Fix compilation of SO_PEERCRED support.


cups-peercred.patch:

Index: cups-peercred.patch
===================================================================
RCS file: /cvs/pkgs/rpms/cups/devel/cups-peercred.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cups-peercred.patch	5 Feb 2008 16:58:04 -0000	1.1
+++ cups-peercred.patch	5 Feb 2008 18:20:46 -0000	1.2
@@ -1,22 +1,11 @@
-diff -up cups-1.3.5/cups/auth.c.peercred cups-1.3.5/cups/auth.c
---- cups-1.3.5/cups/auth.c.peercred	2008-02-05 16:50:17.000000000 +0000
-+++ cups-1.3.5/cups/auth.c	2008-02-05 16:50:22.000000000 +0000
-@@ -36,6 +36,7 @@
- #include <ctype.h>
- #include <errno.h>
- #include <fcntl.h>
-+#include <sys/socket.h>
- #include <sys/stat.h>
- #if defined(WIN32) || defined(__EMX__)
- #  include <io.h>
 diff -up cups-1.3.5/scheduler/auth.c.peercred cups-1.3.5/scheduler/auth.c
---- cups-1.3.5/scheduler/auth.c.peercred	2008-02-05 15:44:57.000000000 +0000
-+++ cups-1.3.5/scheduler/auth.c	2008-02-05 16:50:36.000000000 +0000
-@@ -86,6 +86,7 @@ extern const char *cssmErrorString(int e
- #ifdef HAVE_SYS_PARAM_H
- #  include <sys/param.h>
- #endif /* HAVE_SYS_PARAM_H */
-+#include <sys/socket.h>
- #ifdef HAVE_SYS_UCRED_H
- #  include <sys/ucred.h>
- typedef struct xucred cupsd_ucred_t;
+--- cups-1.3.5/scheduler/auth.c.peercred	2008-02-05 16:52:20.000000000 +0000
++++ cups-1.3.5/scheduler/auth.c	2008-02-05 18:20:06.000000000 +0000
+@@ -54,6 +54,7 @@
+  * Include necessary headers...
+  */
+ 
++#define _GNU_SOURCE
+ #include "cupsd.h"
+ #include <grp.h>
+ #ifdef HAVE_SHADOW_H




More information about the fedora-extras-commits mailing list