rpms/dbus-c++/devel gcc-44.patch,NONE,1.1 dbus-c++.spec,1.3,1.4

Adel Gadllah drago01 at fedoraproject.org
Wed Feb 18 17:53:23 UTC 2009


Author: drago01

Update of /cvs/pkgs/rpms/dbus-c++/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20847

Modified Files:
	dbus-c++.spec 
Added Files:
	gcc-44.patch 
Log Message:
fix build with gcc-44

gcc-44.patch:

--- NEW FILE gcc-44.patch ---
diff --git a/examples/echo/echo-server.h b/examples/echo/echo-server.h
index 3f0be58..9dfbaec 100644
--- a/examples/echo/echo-server.h
+++ b/examples/echo/echo-server.h
@@ -2,6 +2,7 @@
 #define __DEMO_ECHO_SERVER_H
 
 #include <dbus-c++/dbus.h>
+#include <cstdio>
 #include "echo-server-glue.h"
 
 class EchoServer


Index: dbus-c++.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dbus-c++/devel/dbus-c++.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- dbus-c++.spec	18 Feb 2009 17:31:58 -0000	1.3
+++ dbus-c++.spec	18 Feb 2009 17:52:53 -0000	1.4
@@ -2,7 +2,7 @@
 %define git_version 13281b3
 Name:		dbus-c++
 Version:	0.5.0
-Release:	0.5.%{git_date}git%{git_version}%{?dist}
+Release:	0.6.%{git_date}git%{git_version}%{?dist}
 Summary:	Native C++ bindings for D-Bus
 
 Group:		System Environment/Libraries
@@ -15,6 +15,7 @@
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Patch1:	dbus-c++-get-uid-api.patch
+Patch2: gcc-44.patch
 
 BuildRequires:	dbus-devel
 BuildRequires:	glib2-devel
@@ -39,6 +40,8 @@
 %setup -q -n %{name}
 %{__sed} -i 's/\r//' AUTHORS
 %{__sed} -i 's/-O3//' configure.ac
+%patch1 -p1 -b .uid
+%patch2 -p1 -b .gcc44
 
 %build
 ./autogen.sh
@@ -77,6 +80,9 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Wed Feb 18 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.5.0-0.6.20090203git13281b3
+- Fix build with new gcc
+
 * Wed Feb 18 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.5.0-0.5.20090203git13281b3
 - Add the ability to get the senders unix userid (Patch by Jiri Moskovcak)
 




More information about the fedora-extras-commits mailing list