summaryrefslogtreecommitdiff
path: root/comms/soundmodem/files/patch-soundcard_modem.h
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2016-02-23 18:39:57 +0000
committerDiane Bruce <db@FreeBSD.org>2016-02-23 18:39:57 +0000
commitd83b1317312f494c4422dd28e5e4c33aee4fb0ba (patch)
tree5ca283daff01034c72114bb7c75c2e75ded526b3 /comms/soundmodem/files/patch-soundcard_modem.h
parentfinance/R-cran-timeSeries: update to 3022.101.2 (diff)
oops I didn't. I did. I forgot to add some patches.
I'll just go sit in the corner with the pointy hat then.
Notes
Notes: svn path=/head/; revision=409438
Diffstat (limited to 'comms/soundmodem/files/patch-soundcard_modem.h')
-rw-r--r--comms/soundmodem/files/patch-soundcard_modem.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/comms/soundmodem/files/patch-soundcard_modem.h b/comms/soundmodem/files/patch-soundcard_modem.h
new file mode 100644
index 000000000000..8e5b1334e71c
--- /dev/null
+++ b/comms/soundmodem/files/patch-soundcard_modem.h
@@ -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;
+