summarylogtreecommitdiffstats
path: root/port-to-gcc-7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'port-to-gcc-7.patch')
-rw-r--r--port-to-gcc-7.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/port-to-gcc-7.patch b/port-to-gcc-7.patch
new file mode 100644
index 000000000000..d44425a07f12
--- /dev/null
+++ b/port-to-gcc-7.patch
@@ -0,0 +1,9 @@
+--- a/src/pipe.cpp
++++ b/src/pipe.cpp
+@@ -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, nullptr, 1);
+ }