mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
bear: bump version
This commit is contained in:
53
dev-util/bear/patches/bear-3.1.2.patchset
Normal file
53
dev-util/bear/patches/bear-3.1.2.patchset
Normal file
@@ -0,0 +1,53 @@
|
||||
From ef3bea3e7fa9da72efb196a3debd754a38c9bd73 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Mon, 18 Oct 2021 11:19:05 +0200
|
||||
Subject: protobuf search path
|
||||
|
||||
|
||||
diff --git a/source/intercept/proto/CMakeLists.txt b/source/intercept/proto/CMakeLists.txt
|
||||
index e4fb8c1..8bbd58c 100644
|
||||
--- a/source/intercept/proto/CMakeLists.txt
|
||||
+++ b/source/intercept/proto/CMakeLists.txt
|
||||
@@ -11,6 +11,7 @@ add_custom_command(
|
||||
${_PROTOBUF_PROTOC}
|
||||
ARGS
|
||||
-I "${SUPERVISE_PROTO_PATH}"
|
||||
+ -I "/system/develop/headers"
|
||||
--grpc_out "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
--cpp_out "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
|
||||
@@ -34,6 +35,7 @@ add_custom_command(
|
||||
${_PROTOBUF_PROTOC}
|
||||
ARGS
|
||||
-I "${SUPERVISE_PROTO_PATH}"
|
||||
+ -I "/system/develop/headers"
|
||||
--grpc_out "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
--cpp_out "${CMAKE_CURRENT_BINARY_DIR}"
|
||||
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
|
||||
--
|
||||
2.30.2
|
||||
|
||||
|
||||
From 82d33658418af633de38d255157b6bc015d70e17 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Mon, 18 Oct 2021 15:22:06 +0200
|
||||
Subject: workaround gtest with Haiku error definition
|
||||
|
||||
|
||||
diff --git a/source/libsys/test/ErrorsTest.cc b/source/libsys/test/ErrorsTest.cc
|
||||
index 0ead223..9360cef 100644
|
||||
--- a/source/libsys/test/ErrorsTest.cc
|
||||
+++ b/source/libsys/test/ErrorsTest.cc
|
||||
@@ -23,6 +23,9 @@
|
||||
|
||||
#include <cerrno>
|
||||
|
||||
+#undef ENOENT
|
||||
+#define ENOENT 0x80006003
|
||||
+
|
||||
namespace {
|
||||
|
||||
TEST(errors, ENOENT)
|
||||
--
|
||||
2.30.2
|
||||
|
||||
Reference in New Issue
Block a user