From 92fc1687c1654aa06b30a48ead984578f6cc1e4e Mon Sep 17 00:00:00 2001 From: Etienne CHAMPETIER Date: Tue, 1 Jul 2014 18:26:24 +0200 Subject: protobuf: make it compile with __MIPSEB__ (ar71xx) it's only compile tested Signed-off-by: Etienne CHAMPETIER --- libs/protobuf/patches/001-mipseb-compile.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/protobuf/patches/001-mipseb-compile.patch (limited to 'libs/protobuf/patches') diff --git a/libs/protobuf/patches/001-mipseb-compile.patch b/libs/protobuf/patches/001-mipseb-compile.patch new file mode 100644 index 000000000..6eb059000 --- /dev/null +++ b/libs/protobuf/patches/001-mipseb-compile.patch @@ -0,0 +1,11 @@ +--- a/src/google/protobuf/stubs/platform_macros.h ++++ b/src/google/protobuf/stubs/platform_macros.h +@@ -49,7 +49,7 @@ + #elif defined(__ARMEL__) + #define GOOGLE_PROTOBUF_ARCH_ARM 1 + #define GOOGLE_PROTOBUF_ARCH_32_BIT 1 +-#elif defined(__MIPSEL__) ++#elif defined(__MIPSEL__) || defined(__MIPSEB__) + #define GOOGLE_PROTOBUF_ARCH_MIPS 1 + #define GOOGLE_PROTOBUF_ARCH_32_BIT 1 + #elif defined(__pnacl__) -- cgit v1.2.3