gnupg: fix build failure on MIPS64
PATCH 1/1 gnupg: fix build failure on MIPS64
Fixes:
http://autobuild.buildroot.org/results/49d5891dcecf2cce8de9f2bdb16a76ff86579f45/build-end.log
Signed-off-by Thomas Petazzoni <[email protected]>
--- package/gnupg/gnupg-mips64-build-fix.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/gnupg/gnupg-mips64-build-fix.patch
package/gnupg/gnupg-mips64-build-fix.patch new file +20 -0
@@ -0,0 +1,20 @@ +Fix build issue on MIPS64 + +On MIPS64, there is a syntax problem in the preprocessor +conditions. Fix that to avoid a build failure. + +Signed-off-by: Thomas Petazzoni <[email protected]> + +Index: b/mpi/longlong.h +=================================================================== +--- a/mpi/longlong.h ++++ b/mpi/longlong.h +@@ -752,7 +752,7 @@ + (w1) = _r >> 64; \ + (w0) = (UDItype) _r; \ + } while (0) +-# elif if __GNUC__ > 2 || __GNUC_MINOR__ >= 7 ++# elif __GNUC__ > 2 || __GNUC_MINOR__ >= 7 + # define umul_ppmm(w1, w0, u, v) \ + __asm__ ("dmultu %2,%3" \ + : "=l" ((UDItype)(w0)), \
Signature · 1 line
1.7.9.5
PATCH 1/1 gnupg: fix build failure on MIPS64
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Fixes:
Thomas> http://autobuild.buildroot.org/results/49d5891dcecf2cce8de9f2bdb16a76ff86579f45/build-end.log
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard