aboutsummaryrefslogtreecommitdiff
path: root/libs/protobuf/patches
diff options
context:
space:
mode:
authorEtienne CHAMPETIER <etienne.champetier@free.fr>2014-07-01 18:26:24 +0200
committerEtienne CHAMPETIER <etienne.champetier@free.fr>2014-07-01 18:36:53 +0200
commit92fc1687c1654aa06b30a48ead984578f6cc1e4e (patch)
treebbc63be16e91a73fde5cbe65334fceda096f9985 /libs/protobuf/patches
parentccda02e4fa237f2d75bd9685b171cd7bd1cabab5 (diff)
protobuf: make it compile with __MIPSEB__ (ar71xx)
it's only compile tested Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Diffstat (limited to 'libs/protobuf/patches')
-rw-r--r--libs/protobuf/patches/001-mipseb-compile.patch11
1 files changed, 11 insertions, 0 deletions
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__)