summaryrefslogtreecommitdiff
path: root/debian/patches/mpdecimal-version.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/mpdecimal-version.diff')
-rw-r--r--debian/patches/mpdecimal-version.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/mpdecimal-version.diff b/debian/patches/mpdecimal-version.diff
new file mode 100644
index 0000000..e31c90b
--- /dev/null
+++ b/debian/patches/mpdecimal-version.diff
@@ -0,0 +1,17 @@
+# DP: Relax the mpdecimal version check
+
+Index: b/Modules/_decimal/_decimal.c
+===================================================================
+--- a/Modules/_decimal/_decimal.c
++++ b/Modules/_decimal/_decimal.c
+@@ -39,10 +39,6 @@
+ #include "memory.h"
+
+
+-#if !defined(MPD_VERSION_HEX) || MPD_VERSION_HEX < 0x02040100
+- #error "libmpdec version >= 2.4.1 required"
+-#endif
+-
+
+ /*
+ * Type sizes with assertions in mpdecimal.h and pyport.h: