aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/audio/friture/factorial.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/friture/factorial.patch')
-rw-r--r--nixpkgs/pkgs/applications/audio/friture/factorial.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/friture/factorial.patch b/nixpkgs/pkgs/applications/audio/friture/factorial.patch
new file mode 100644
index 00000000000..de053802932
--- /dev/null
+++ b/nixpkgs/pkgs/applications/audio/friture/factorial.patch
@@ -0,0 +1,13 @@
+diff --git a/friture/filter_design.py b/friture/filter_design.py
+index 9876c43..1cc749a 100644
+--- a/friture/filter_design.py
++++ b/friture/filter_design.py
+@@ -2,7 +2,7 @@
+ from numpy import pi, exp, arange, cos, sin, sqrt, zeros, ones, log, arange, set_printoptions
+ # the three following lines are a workaround for a bug with scipy and py2exe
+ # together. See http://www.pyinstaller.org/ticket/83 for reference.
+-from scipy.misc import factorial
++from scipy.special import factorial
+ import scipy
+ scipy.factorial = factorial
+