diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-03 11:26:48 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-04-03 11:26:48 +0000 |
commit | 0438143249634ab5028e53cb468d99a894c62995 (patch) | |
tree | 204c01c7973e83331fc29d8b09e59b3e9f219bd6 /audio/schism/files/patch-modplug__snd_gm.c | |
parent | sysutils/jail-primer: update 0.1 -> 0.2 (diff) |
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).
Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.
Differential Revision: https://reviews.freebsd.org/D2209
Diffstat (limited to 'audio/schism/files/patch-modplug__snd_gm.c')
-rw-r--r-- | audio/schism/files/patch-modplug__snd_gm.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/schism/files/patch-modplug__snd_gm.c b/audio/schism/files/patch-modplug__snd_gm.c new file mode 100644 index 000000000000..73b22615aec1 --- /dev/null +++ b/audio/schism/files/patch-modplug__snd_gm.c @@ -0,0 +1,17 @@ +--- ./modplug/snd_gm.c.orig 2010-01-01 20:22:26.000000000 +0100 ++++ ./modplug/snd_gm.c 2011-12-09 21:50:22.000000000 +0100 +@@ -10,12 +10,14 @@ + #include "mplink.h" // for 'mp', which we shouldn't need + #include "snd_gm.h" + ++/* + #if !defined(HAVE_LOG2) && !defined(__USE_ISOC99) && !defined(log2) + static double log2(double d) + { + return log(d) / log(2.0); + } + #endif ++*/ + + + #define LinearMidivol 1 |