From b5ad9dcf776cdf8cfdb5590cda4ee3de452fcb52 Mon Sep 17 00:00:00 2001 From: Stephen Hurd Date: Mon, 1 Dec 2014 09:52:14 +0000 Subject: [PATCH] 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. --- comms/soundmodem/files/patch-newqpsk_genfilt.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 comms/soundmodem/files/patch-newqpsk_genfilt.c diff --git a/comms/soundmodem/files/patch-newqpsk_genfilt.c b/comms/soundmodem/files/patch-newqpsk_genfilt.c new file mode 100644 index 000000000000..13ac4a1bbe19 --- /dev/null +++ b/comms/soundmodem/files/patch-newqpsk_genfilt.c @@ -0,0 +1,11 @@ +--- 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 (");