Index: head/comms/soundmodem/files/patch-newqpsk_complex.h =================================================================== --- head/comms/soundmodem/files/patch-newqpsk_complex.h (nonexistent) +++ head/comms/soundmodem/files/patch-newqpsk_complex.h (revision 409438) @@ -0,0 +1,18 @@ +--- newqpsk/complex.h.orig 2015-05-04 17:51:16 UTC ++++ newqpsk/complex.h +@@ -10,11 +10,15 @@ typedef struct { + #endif + } complex; + ++#if __clang__ > 0 ++#define only_inline inline ++#else + #if __GNUC__ < 5 + #define only_inline extern inline + #else + #define only_inline inline + #endif ++#endif + + /* + * Complex multiplication. Property changes on: head/comms/soundmodem/files/patch-newqpsk_complex.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/soundmodem/files/patch-newqpsk_fec.h =================================================================== --- head/comms/soundmodem/files/patch-newqpsk_fec.h (nonexistent) +++ head/comms/soundmodem/files/patch-newqpsk_fec.h (revision 409438) @@ -0,0 +1,18 @@ +--- newqpsk/fec.h.orig 2015-05-04 17:49:44 UTC ++++ newqpsk/fec.h +@@ -3,11 +3,15 @@ + + /* --------------------------------------------------------------------- */ + ++#if __clang__ > 0 ++#define only_inline inline ++#else + #if __GNUC__ < 5 + #define only_inline extern inline + #else + #define only_inline inline + #endif ++#endif + + struct fecstate { + int feclevel; Property changes on: head/comms/soundmodem/files/patch-newqpsk_fec.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/soundmodem/files/patch-newqpsk_misc.h =================================================================== --- head/comms/soundmodem/files/patch-newqpsk_misc.h (nonexistent) +++ head/comms/soundmodem/files/patch-newqpsk_misc.h (revision 409438) @@ -0,0 +1,18 @@ +--- newqpsk/misc.h.orig 2015-05-04 17:50:51 UTC ++++ newqpsk/misc.h +@@ -5,11 +5,15 @@ + #define M_PI 3.14159265358979323846 + #endif + ++#if __clang__ > 0 ++#define only_inline inline ++#else + #if __GNUC__ < 5 + #define only_inline extern inline + #else + #define only_inline inline + #endif ++#endif + + /* ---------------------------------------------------------------------- */ + Property changes on: head/comms/soundmodem/files/patch-newqpsk_misc.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/soundmodem/files/patch-soundcard_modem.h =================================================================== --- head/comms/soundmodem/files/patch-soundcard_modem.h (nonexistent) +++ head/comms/soundmodem/files/patch-soundcard_modem.h (revision 409438) @@ -0,0 +1,18 @@ +--- soundcard/modem.h.orig 2015-05-04 17:48:03 UTC ++++ soundcard/modem.h +@@ -79,11 +79,15 @@ typedef unsigned long long /* deduced */ + + /* ---------------------------------------------------------------------- */ + ++#if __clang__ > 0 ++#define only_inline inline ++#else + #if __GNUC__ < 5 + #define only_inline extern inline + #else + #define only_inline inline + #endif ++#endif + + struct modemchannel; + Property changes on: head/comms/soundmodem/files/patch-soundcard_modem.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/soundmodem/files/patch-soundcard_simd.h =================================================================== --- head/comms/soundmodem/files/patch-soundcard_simd.h (nonexistent) +++ head/comms/soundmodem/files/patch-soundcard_simd.h (revision 409438) @@ -0,0 +1,13 @@ +--- soundcard/simd.h.orig 2015-05-04 17:48:55 UTC ++++ soundcard/simd.h +@@ -54,6 +54,10 @@ + + #if !defined(USEMMX) && !defined(USEVIS) + ++#if __clang__ > 0 ++#define only_inline inline ++#endif ++ + only_inline void initsimd(int enable) + { + } Property changes on: head/comms/soundmodem/files/patch-soundcard_simd.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +1 \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property