diff --git a/debian/patches/Declare-pow10.patch b/debian/patches/Declare-pow10.patch new file mode 100644 index 0000000000000000000000000000000000000000..073d9b782e700cdc6df163e4c571148a4c045c5c --- /dev/null +++ b/debian/patches/Declare-pow10.patch @@ -0,0 +1,28 @@ +Description: fix missing pow10 + +--- aoflagger-2.10.0.orig/src/quality/loghistogram.h ++++ aoflagger-2.10.0/src/quality/loghistogram.h +@@ -10,10 +10,7 @@ + + #include "../util/serializable.h" + +-//# pow10 seems to be undefined on OS-X +-#ifdef __APPLE__ + # define pow10(x) pow(10., (x)) +-#endif + + + class LogHistogram : public Serializable +--- aoflagger-2.10.0.orig/src/util/numberparser.h ++++ aoflagger-2.10.0/src/util/numberparser.h +@@ -2,10 +2,7 @@ + + #include + +-//# pow10 seems to be undefined on OS-X +-#ifdef __APPLE__ + # define pow10(x) pow(10., (x)) +-#endif + + + class NumberParsingException : public std::runtime_error diff --git a/debian/patches/series b/debian/patches/series index 1637e8cb41b525d262b303cd713b97c94e515d68..441c64b36072048f390fec9522b4b8a8893866c2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ Build-shared-lib-with-SONAME-and-SOVERSION.patch Disable-special-RPATH-handling.patch +Declare-pow10.patch #Support-Python-3.x.patch