fftw: fix path to WISDOM_DIR
This commit is contained in:
parent
ee2158978a
commit
6fcbcb9619
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://www.fftw.org/
|
||||
TERMUX_PKG_DESCRIPTION="Library for computing the Discrete Fourier Transform (DFT) in one or more dimensions"
|
||||
TERMUX_PKG_VERSION=3.3.6
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=http://www.fftw.org/fftw-${TERMUX_PKG_VERSION}-pl1.tar.gz
|
||||
TERMUX_PKG_SHA256=1ef4aa8427d9785839bc767f3eb6a84fcb5e9a37c31ed77a04e7e047519a183d
|
||||
# ac_cv_func_clock_gettime=no avoids having clock_gettime(CLOCK_SGI_CYCLE, &t)
|
||||
|
12
packages/fftw/fix-wisdom_dir.patch
Normal file
12
packages/fftw/fix-wisdom_dir.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr fftw-3.3.6-pl1/api/import-system-wisdom.c fftw-3.3.6-pl1.mod/api/import-system-wisdom.c
|
||||
--- fftw-3.3.6-pl1/api/import-system-wisdom.c 2017-01-15 14:03:24.000000000 +0200
|
||||
+++ fftw-3.3.6-pl1.mod/api/import-system-wisdom.c 2017-09-12 11:20:08.432992283 +0300
|
||||
@@ -32,7 +32,7 @@
|
||||
#if defined(__DJGPP__)
|
||||
# define WISDOM_DIR "/dev/env/DJDIR/etc/fftw/"
|
||||
#else
|
||||
-# define WISDOM_DIR "/etc/fftw/"
|
||||
+# define WISDOM_DIR "@TERMUX_PREFIX@/etc/fftw/"
|
||||
#endif
|
||||
|
||||
int X(import_system_wisdom)(void)
|
Loading…
x
Reference in New Issue
Block a user