rpms/kdebase3/devel kdebase-3.5.8-glibc28-struct-ucred.patch, NONE, 1.1 kdebase-3.5.8-glibc28-struct-ucred.diff, 1.1, NONE

Kevin Kofler (kkofler) fedora-extras-commits at redhat.com
Sat Feb 9 07:27:04 UTC 2008


Author: kkofler

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

Added Files:
	kdebase-3.5.8-glibc28-struct-ucred.patch 
Removed Files:
	kdebase-3.5.8-glibc28-struct-ucred.diff 
Log Message:
Rename patch for:
- fix detection of struct ucred with current glibc 2.7.90
to match the specfile.

kdebase-3.5.8-glibc28-struct-ucred.patch:

--- NEW FILE kdebase-3.5.8-glibc28-struct-ucred.patch ---
diff -ur kdebase-3.5.8/kdesu/configure.in.in kdebase-3.5.8-glibc28/kdesu/configure.in.in
--- kdebase-3.5.8/kdesu/configure.in.in	2006-10-05 18:24:50.000000000 +0200
+++ kdebase-3.5.8-glibc28/kdesu/configure.in.in	2008-02-09 08:20:31.000000000 +0100
@@ -1,6 +1,9 @@
 dnl Check for "struct ucred"
 AC_MSG_CHECKING("struct ucred")
-AC_EGREP_HEADER([struct ucred], [sys/socket.h], have_ucred=yes)
+AC_EGREP_CPP([struct ucred], [
+    #define _GNU_SOURCE
+    #include <sys/socket.h>
+], have_ucred=yes)
 if test "$have_ucred" = "yes"; then
     AC_DEFINE(HAVE_STRUCT_UCRED, 1, [Define if you have the struct ucred])
     AC_MSG_RESULT(yes)


--- kdebase-3.5.8-glibc28-struct-ucred.diff DELETED ---




More information about the fedora-extras-commits mailing list