Source: norm
Version: 1.5r6+dfsg1-1
Severity: important
Tags: patch
https://buildd.debian.org/status/package.php?p=norm&suite=sid
...
In file included from ../protolib/src/common/protoSpace.cpp:11:0:
/<<BUILDDIR>>/norm-1.5r6+dfsg1/protolib/include/protoSpace.h: In member
function 'virtual ProtoTree::Endian ProtoSpace::Ordinate::GetEndian() const':
/<<BUILDDIR>>/norm-1.5r6+dfsg1/protolib/include/protoSpace.h:92:25: error:
named return values are no longer supported
return ProtoTree::ENDIAN_BIG;
^~~~~~
/<<BUILDDIR>>/norm-1.5r6+dfsg1/protolib/include/protoSpace.h:92:43: error:
expected '{' at end of input
return ProtoTree::ENDIAN_BIG;
^~~~~~~~~~
Fix is attached.
Description: Fix FTBFS on big endian
Author: Adrian Bunk <[email protected]>
Bug-Debian: https://bugs.debian.org/878821
--- norm-1.5r6+dfsg1.orig/protolib/include/protoSpace.h
+++ norm-1.5r6+dfsg1/protolib/include/protoSpace.h
@@ -89,7 +89,7 @@ class ProtoSpace
}
#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