summaryrefslogtreecommitdiffstats
path: root/package/norm/0001-fix-bigendian-build.patch
blob: cf999c27cf4a3089cda27ec1b468743c4c201e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Fix big-endian build breakage in protolib.
Patch status: submitted to author via email.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura norm-1.5r6.orig/protolib/include/protoSpace.h norm-1.5r6/protolib/include/protoSpace.h
--- norm-1.5r6.orig/protolib/include/protoSpace.h	2016-03-08 19:48:21.326357963 -0300
+++ norm-1.5r6/protolib/include/protoSpace.h	2016-03-08 19:48:46.647234075 -0300
@@ -89,7 +89,7 @@
                 }
 #else               
                 ProtoTree::Endian GetEndian() const
-                        return ProtoTree::ENDIAN_BIG;
+                    {return ProtoTree::ENDIAN_BIG;}
                 void SetNode(Node* theNode)
                     {memcpy(key+sizeof(double), &theNode, sizeof(Node*));}
                 Node* GetNode() const
OpenPOWER on IntegriCloud