Dave Plater 2012-03-19 17:48:23 +00:00 committed by Git OBS Bridge
parent b0c6954c84
commit 993119b31c
2 changed files with 18 additions and 4 deletions

12
libdbus-c++-gcc47.patch Normal file
View File

@ -0,0 +1,12 @@
Index: src/eventloop-integration.cpp
===================================================================
--- src/eventloop-integration.cpp.orig 2011-11-28 17:04:18.000000000 +0200
+++ src/eventloop-integration.cpp 2012-03-19 09:22:12.179566265 +0200
@@ -38,6 +38,7 @@
#include <cassert>
#include <sys/poll.h>
#include <fcntl.h>
+#include <unistd.h>
using namespace DBus;
using namespace std;

View File

@ -16,14 +16,13 @@
#
Name: libdbus-c++
Version: 0.9.0
Release: 1
License: LGPL-2.1+
Release: 0
Summary: C++ Interface for DBus
Url: http://dbus-cplusplus.sourceforge.net/index.html
License: LGPL-2.1+
Group: System/Libraries
Url: http://dbus-cplusplus.sourceforge.net/index.html
Source0: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
# Fix no return from function
@ -32,6 +31,8 @@ Patch0: libdbus-c++-noreturn.patch
Patch1: libdbus-c++-pthread.patch
# No current date / time allowed in docs?
Patch2: libdbus-c++-nodocdatetime.patch
# Fix gcc47 build errors
Patch3: libdbus-c++-gcc47.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: dos2unix
@ -93,6 +94,7 @@ optional own main loop. Files for building against libdbus-c++
%patch0
%patch1
%patch2
%patch3
%build
#./autogen.sh