File: 06_fix_gcc-7_ftbfs.patch

package info (click to toggle)
dbus-c%2B%2B 0.9.0-8.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,764 kB
  • sloc: sh: 10,179; cpp: 7,696; makefile: 355; xml: 335; ansic: 109
file content (13 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Fix FTBFS with gcc-7
Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Last-Update: 2018-01-26

--- dbus-c++-0.9.0.orig/src/pipe.cpp
+++ dbus-c++-0.9.0/src/pipe.cpp
@@ -83,5 +83,5 @@ ssize_t Pipe::read(void *buffer, unsigne
 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);
 }