diff --git a/dev-libs/protobuf/patches/protobuf_x86-2.4.1.patchset b/dev-libs/protobuf/patches/protobuf_x86-2.4.1.patchset new file mode 100644 index 000000000..87ede6cf9 --- /dev/null +++ b/dev-libs/protobuf/patches/protobuf_x86-2.4.1.patchset @@ -0,0 +1,40 @@ +From 09a61c1c5843c5513563767126a4a9d574758bf0 Mon Sep 17 00:00:00 2001 +From: Humdinger +Date: Wed, 22 Jul 2015 19:53:18 +0200 +Subject: Add GTEST_OS_HAIKU. + + +diff --git a/gtest/include/gtest/internal/gtest-port.h b/gtest/include/gtest/internal/gtest-port.h +index ee97881..16c70ea 100644 +--- a/gtest/include/gtest/internal/gtest-port.h ++++ b/gtest/include/gtest/internal/gtest-port.h +@@ -198,6 +198,8 @@ + #define GTEST_OS_MAC 1 + #elif defined __linux__ + #define GTEST_OS_LINUX 1 ++#elif defined __HAIKU__ ++#define GTEST_OS_HAIKU 1 + #elif defined __MVS__ + #define GTEST_OS_ZOS 1 + #elif defined(__sun) && defined(__SVR4) +@@ -205,7 +207,7 @@ + #endif // __CYGWIN__ + + #if GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || GTEST_OS_SYMBIAN || \ +- GTEST_OS_SOLARIS ++ GTEST_OS_SOLARIS || GTEST_OS_HAIKU + + // On some platforms, needs someone to define size_t, and + // won't compile otherwise. We can #include it here as we already +@@ -236,7 +238,7 @@ + #define GTEST_USES_SIMPLE_RE 1 + + #endif // GTEST_OS_CYGWIN || GTEST_OS_LINUX || GTEST_OS_MAC || +- // GTEST_OS_SYMBIAN || GTEST_OS_SOLARIS ++ // GTEST_OS_SYMBIAN || GTEST_OS_SOLARIS || GTEST_OS_HAIKU + + // Defines GTEST_HAS_EXCEPTIONS to 1 if exceptions are enabled, or 0 + // otherwise. +-- +2.2.2 +