ports/math/sfft/files/patch-src_simulation.cc
Robert Clausecker 9804638940 math/sfft: port to armv7/aarch64, touch up
- replace complex.h hack with less crude hack
 - use sse2neon to build on armv7/aarch64
 - armv7 should work, but falls to an unrelated issue
 - touch up CFLAGS slightly
 - rework do-test
2024-10-21 11:36:01 +02:00

11 lines
300 B
C++

--- src/simulation.cc.orig 2024-10-15 16:05:30 UTC
+++ src/simulation.cc
@@ -50,7 +50,7 @@ void simulation::setup(int argc, char **argv)
int version = 1;
int fftw_opt = FFTW_ESTIMATE;
- char ch;
+ int ch;
while ((ch = getopt(argc, argv, "hton:k:r:v:")) != EOF)
{
switch (ch)