Blame view

buildroot/buildroot-2016.08.1/package/norm/0001-fix-bigendian-build.patch 793 Bytes
6b13f685e   김민수   BSP 최초 추가
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