kumquat-buildroot/package/norm/0001-fix-bigendian-build.patch
Gustavo Zacarias 63807d2e8a norm: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas:
 - remove useless parenthesis enclosing waf calls
 - move the header copying outside of the 'cd $(@D)'.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-20 22:56:00 +01:00

18 lines
793 B
Diff

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