diff --git a/dbus.spec b/dbus.spec index f6fe8a1..283b8c1 100644 --- a/dbus.spec +++ b/dbus.spec @@ -8,7 +8,7 @@ Summary: D-BUS message bus Name: dbus Version: 1.1.4 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.freedesktop.org/software/dbus/ Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz Source1: doxygen_to_devhelp.xsl @@ -38,6 +38,7 @@ Conflicts: cups < 1:1.1.20-4 Patch0: dbus-0.60-start-early.patch Patch1: dbus-1.0.1-generate-xml-docs.patch +Patch2: ucred-and-limits.patch %description @@ -93,6 +94,7 @@ in this separate package so server systems need not install X. %patch0 -p1 -b .start-early %patch1 -p1 -b .generate-xml-docs +%patch2 -p1 -b .ucred-and-limits autoreconf -f -i @@ -217,6 +219,9 @@ fi %{_includedir}/* %changelog +* Mon Feb 4 2008 Matthias Clasen - 1.1.4-2 +- Make it build against the latest gcc/glibc + * Thu Jan 17 2008 John (J5) Palmieri - 1.1.4-1 - new upstream version - fixes inotify patch which was consuming 100% cpu and memory diff --git a/ucred-and-limits.patch b/ucred-and-limits.patch new file mode 100644 index 0000000..12433d0 --- /dev/null +++ b/ucred-and-limits.patch @@ -0,0 +1,23 @@ +diff -up dbus-1.1.4/dbus/dbus-sysdeps-unix.c.ucred dbus-1.1.4/dbus/dbus-sysdeps-unix.c +--- dbus-1.1.4/dbus/dbus-sysdeps-unix.c.ucred 2008-01-15 14:33:48.000000000 -0500 ++++ dbus-1.1.4/dbus/dbus-sysdeps-unix.c 2008-02-04 12:02:57.000000000 -0500 +@@ -22,6 +22,8 @@ + * + */ + ++#define _GNU_SOURCE ++ + #include "dbus-internals.h" + #include "dbus-sysdeps.h" + #include "dbus-sysdeps-unix.h" +diff -up dbus-1.1.4/bus/selinux.c.ucred dbus-1.1.4/bus/selinux.c +--- dbus-1.1.4/bus/selinux.c.ucred 2008-02-04 12:08:31.000000000 -0500 ++++ dbus-1.1.4/bus/selinux.c 2008-02-04 12:07:37.000000000 -0500 +@@ -34,6 +34,7 @@ + #ifdef HAVE_ERRNO_H + #include + #endif ++#include + #include + #include + #include