Package: ergo
Version: 3.3.1-1
Severity: serious
Tags: sid
Justification: FTBFS

Package ergo failed to build from source on mips/mipsel because R3000 used
in integrals_hermite.cc is already defined.

Full build logs:
https://buildd.debian.org/status/fetch.php?pkg=ergo&arch=mips&ver=3.3.1-1&stamp=1380475129
https://buildd.debian.org/status/fetch.php?pkg=ergo&arch=mipsel&ver=3.3.1-1&stamp=1380477528

I have attached a patch resolving the issue.

Best regards,
Jurica

--- ergo-3.3.1.orig/source/integrals/integrals_hermite.cc
+++ ergo-3.3.1/source/integrals/integrals_hermite.cc
@@ -30,6 +30,9 @@
 #include <cmath>
 #include <stdio.h>
 
+#ifdef R3000
+ #undef R3000
+#endif
 
 int
 get_related_integrals_hermite(const IntegralInfo & integralInfo,

Reply via email to