freebsd-ports/comms/soundmodem/files/patch-newqpsk_genfilt.c
Stephen Hurd b5ad9dcf77 Add patch to fix build for non-gcc i386 platforms
This may obsolete patch-newqpsk_filter-i386.h, but more
study is needed before deleting it.
2014-12-01 09:52:14 +00:00

11 lines
445 B
C

--- newqpsk/genfilt.c.orig 2014-12-01 09:43:37.000000000 +0000
+++ newqpsk/genfilt.c 2014-12-01 09:43:45.000000000 +0000
@@ -18,7 +18,7 @@
puts("#define _FILTER_I386_H");
puts("#define __HAVE_ARCH_MAC");
- puts("extern inline float mac(const float *a, const float *b, unsigned int size)");
+ puts("static inline float mac(const float *a, const float *b, unsigned int size)");
puts("{");
puts("\tfloat f;");
puts("\tasm volatile (");