flex: Patch Makefile.in instead of Makefile.am
[termux-packages] / packages / libprotobuf / remove-android-logging.patch
1 diff -u -r ../protobuf-3.2.0/src/google/protobuf/stubs/common.cc ./src/google/protobuf/stubs/common.cc
2 --- ../protobuf-3.2.0/src/google/protobuf/stubs/common.cc 2017-01-28 00:49:29.000000000 +0100
3 +++ ./src/google/protobuf/stubs/common.cc 2017-01-29 14:43:35.021889040 +0100
4 @@ -116,7 +116,7 @@
5
6 namespace internal {
7
8 -#if defined(__ANDROID__)
9 +#if defined(__ANDROID__) && 0
10 inline void DefaultLogHandler(LogLevel level, const char* filename, int line,
11 const string& message) {
12 if (level < GOOGLE_PROTOBUF_MIN_LOG_LEVEL) {