[packages/dbus-c++] - added write patch (fix write buffer argument)

qboosh qboosh at pld-linux.org
Mon Apr 23 21:34:50 CEST 2018


commit 539237cc8e497dd2f43515ab2277db1ef88ae429
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 23 21:35:08 2018 +0200

    - added write patch (fix write buffer argument)

 dbus-c++-write.patch | 9 +++++++++
 dbus-c++.spec        | 2 ++
 2 files changed, 11 insertions(+)
---
diff --git a/dbus-c++.spec b/dbus-c++.spec
index 33d8e70..33fb85e 100644
--- a/dbus-c++.spec
+++ b/dbus-c++.spec
@@ -15,6 +15,7 @@ Patch0:		%{name}-macros.patch
 Patch1:		%{name}-gcc4.7.patch
 Patch2:		%{name}-linkfix.patch
 Patch3:		%{name}-threading.patch
+Patch4:		%{name}-write.patch
 URL:		http://sourceforge.net/projects/dbus-cplusplus/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
@@ -146,6 +147,7 @@ Statyczna biblioteka dbus-c++-ecore.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
diff --git a/dbus-c++-write.patch b/dbus-c++-write.patch
new file mode 100644
index 0000000..870c44b
--- /dev/null
+++ b/dbus-c++-write.patch
@@ -0,0 +1,9 @@
+--- libdbus-c++-0.9.0/src/pipe.cpp.orig	2011-11-29 23:16:31.000000000 +0100
++++ libdbus-c++-0.9.0/src/pipe.cpp	2018-04-23 21:28:46.612510662 +0200
+@@ -83,5 +83,5 @@
+ void Pipe::signal()
+ {
+   // TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work...
+-  ::write(_fd_write, '\0', 1);
++  ::write(_fd_write, "\0", 1);
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dbus-c++.git/commitdiff/539237cc8e497dd2f43515ab2277db1ef88ae429



More information about the pld-cvs-commit mailing list