gnu: gnucash: Disable the stress-options-test using a phase.
[jackhill/guix/guix.git] / gnu / packages / patches / libutils-remove-damaging-includes.patch
CommitLineData
be906ad1
DM
1--- a/include/utils/StrongPointer.h 2018-04-25 18:42:34.321003602 +0200
2+++ b/include/utils/StrongPointer.h 2018-04-25 18:42:42.180912201 +0200
3@@ -17,8 +17,6 @@
4 #ifndef ANDROID_STRONG_POINTER_H
5 #define ANDROID_STRONG_POINTER_H
6
7-#include <cutils/atomic.h>
8-
9 #include <stdint.h>
10 #include <sys/types.h>
11 #include <stdlib.h>
12--- a/libutils/Trace.cpp 2018-04-25 20:41:48.775049786 +0200
13+++ b/libutils/Trace.cpp 2018-04-25 20:42:13.674744182 +0200
14@@ -21,5 +21,7 @@
15
16 static void traceInit()
17 {
18+#if defined(__ANDROID__)
19 ::android::add_sysprop_change_callback(atrace_update_tags, 0);
20+#endif
21 }