rpms/dbus/devel ucred-and-limits.patch, NONE, 1.1 dbus.spec, 1.136, 1.137
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Mon Feb 4 17:13:29 UTC 2008
Author: mclasen
Update of /cvs/pkgs/rpms/dbus/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9742
Modified Files:
dbus.spec
Added Files:
ucred-and-limits.patch
Log Message:
fix the build
ucred-and-limits.patch:
--- NEW FILE ucred-and-limits.patch ---
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 <errno.h>
#endif
+#include <limits.h>
#include <pthread.h>
#include <syslog.h>
#include <selinux/selinux.h>
Index: dbus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dbus/devel/dbus.spec,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -r1.136 -r1.137
--- dbus.spec 17 Jan 2008 20:26:30 -0000 1.136
+++ dbus.spec 4 Feb 2008 17:12:47 -0000 1.137
@@ -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 @@
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 @@
%patch0 -p1 -b .start-early
%patch1 -p1 -b .generate-xml-docs
+%patch2 -p1 -b .ucred-and-limits
autoreconf -f -i
@@ -217,6 +219,9 @@
%{_includedir}/*
%changelog
+* Mon Feb 4 2008 Matthias Clasen <mclasen at redhat.com> - 1.1.4-2
+- Make it build against the latest gcc/glibc
+
* Thu Jan 17 2008 John (J5) Palmieri <johnp at redhat.com> - 1.1.4-1
- new upstream version
- fixes inotify patch which was consuming 100% cpu and memory
More information about the fedora-extras-commits
mailing list