dbus-c++ fix dep

This commit is contained in:
Poyraz76
2015-08-20 21:18:49 +03:00
parent ef9555247f
commit 4d7a316829
6 changed files with 155 additions and 0 deletions
@@ -0,0 +1,11 @@
diff -upNr dbus-c++.orign/src/Makefile.am dbus-c++/src/Makefile.am
--- dbus-c++.orign/src/Makefile.am 2009-01-08 21:58:42.000000000 +0100
+++ dbus-c++/src/Makefile.am 2009-07-31 11:29:22.871072420 +0200
@@ -24,7 +24,6 @@ HEADER_FILES = \
$(HEADER_DIR)/object.h \
$(HEADER_DIR)/pendingcall.h \
$(HEADER_DIR)/server.h \
- $(HEADER_DIR)/debug.h \
$(HEADER_DIR)/util.h \
$(HEADER_DIR)/refptr_impl.h \
$(HEADER_DIR)/introspection.h \
@@ -0,0 +1,12 @@
diff -upNr dbus-c++.orign/src/Makefile.am dbus-c++/src/Makefile.am
--- dbus-c++.orign/src/Makefile.am 2009-01-08 21:58:42.000000000 +0100
+++ dbus-c++/src/Makefile.am 2010-02-13 19:33:37.090109108 +0100
@@ -38,7 +38,7 @@ lib_include_HEADERS = $(HEADER_FILES)
lib_LTLIBRARIES = libdbus-c++-1.la
libdbus_c___1_la_SOURCES = $(HEADER_FILES) interface.cpp object.cpp introspection.cpp debug.cpp types.cpp connection.cpp connection_p.h property.cpp dispatcher.cpp dispatcher_p.h pendingcall.cpp pendingcall_p.h error.cpp internalerror.h message.cpp message_p.h server.cpp server_p.h eventloop.cpp eventloop-integration.cpp $(GLIB_CPP)
-libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS)
+libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS) $(xml_LIBS)
MAINTAINERCLEANFILES = \
Makefile.in
@@ -0,0 +1,24 @@
diff --git a/examples/echo/echo-client.h b/examples/echo/echo-client.h
index 54401ec..3511cc0 100644
--- a/examples/echo/echo-client.h
+++ b/examples/echo/echo-client.h
@@ -3,6 +3,7 @@
#include <dbus-c++/dbus.h>
#include "echo-client-glue.h"
+#include <cstdio>
class EchoClient
: public org::freedesktop::DBus::EchoDemo_proxy,
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