rpms/kdebase3/devel kdebase-3.5.8-glibc28-struct-ucred.diff, NONE, 1.1 kdebase3.spec, 1.38, 1.39

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


Author: kkofler

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

Modified Files:
	kdebase3.spec 
Added Files:
	kdebase-3.5.8-glibc28-struct-ucred.diff 
Log Message:
- fix detection of struct ucred with current glibc 2.7.90

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

--- NEW FILE kdebase-3.5.8-glibc28-struct-ucred.diff ---
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)


Index: kdebase3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebase3/devel/kdebase3.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- kdebase3.spec	9 Feb 2008 06:54:51 -0000	1.38
+++ kdebase3.spec	9 Feb 2008 07:24:21 -0000	1.39
@@ -86,6 +86,8 @@
 Patch32: kdebase-3.5.8-flash.patch
 Patch33: kdebase-3.5.8-klipper-firefox.patch
 Patch34: kdebase-3.5.8-kded-crash-logout.patch
+# fix check for struct ucred to work with current glibc 2.7.90
+Patch35: kdebase-3.5.8-glibc28-struct-ucred.patch
 
 # upstream patches
 # alternative to patch29, requires qt-copy 0078-argb-visual-hack.patch
@@ -311,6 +313,7 @@
 %patch32 -p1 -b .flash
 %patch33 -p1 -b .klipper-firefox
 %patch34 -p0 -b .kded-crash-logout
+%patch35 -p1 -b .ucred
 
 ## alternative to patch29, requires qt-copy 0078-argb-visual-hack.patch
 #patch200 -p4 -b .kde#83974
@@ -392,8 +395,6 @@
   %{?_with_hal} %{!?_with_hal:--without-hal} \
   %{?_with_samba} %{!?_with_samba:--without-samba}
 
-cat config.log
-
 make %{?_smp_mflags}
 
 # build mail setting tool
@@ -820,8 +821,9 @@
 %changelog
 * Sat Feb 09 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> - 3.5.8-37
 - sync from F8:
-- kdm: local DoS vulnerability, CVE-2007-5963 (Than Ngo, 3.5.8-31.fc8)
-- updated flash patch to support 64 bit platforms (Lukáš Tinkl, 3.5.8-32.fc8)
+  - kdm: local DoS vulnerability, CVE-2007-5963 (Than Ngo, 3.5.8-31.fc8)
+  - updated flash patch to support 64 bit platforms (Lukáš Tinkl, 3.5.8-32.fc8)
+- fix detection of struct ucred with current glibc 2.7.90
 
 * Wed Feb 06 2008 Than Ngo <than at redhat.com> 3.5.8-36
 - f9+: remove %%{_bindir}/kcontrol %%{_datadir}/applications/kde/Kcontrol*




More information about the fedora-extras-commits mailing list