freebsd-ports/audio/schism/files/extrapatch-modplug__snd_gm.c
Emanuel Haupt 5a9b73e9c5 - Fix build after the addition of log2 to libm
- Move LICENSE
- Remove trailing newline from pkg-descr after eadler's batch removal of the
  maintainer tags

Feature safe:	yes
2011-12-09 21:40:19 +00:00

17 lines
409 B
C

--- ./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