diff --git a/audio/schism/Makefile b/audio/schism/Makefile index cda88e196462..3905ab096a9e 100644 --- a/audio/schism/Makefile +++ b/audio/schism/Makefile @@ -15,6 +15,8 @@ DISTNAME= schismtracker-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= A module tracker editor/player resembling impulse tracker +LICENSE= GPLv2 + ONLY_FOR_ARCHS= i386 amd64 USE_SDL= yes @@ -22,7 +24,6 @@ USE_BZIP2= yes GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes -LICENSE= GPLv2 PLIST_FILES= bin/${PORTNAME} WRKSRC= ${WRKDIR}/${DISTNAME} @@ -36,7 +37,7 @@ do-install: .include .if ${OSVERSION} >= 900027 -BROKEN= does not build +EXTRA_PATCHES= ${FILESDIR}/extrapatch-modplug__snd_gm.c .endif .include diff --git a/audio/schism/files/extrapatch-modplug__snd_gm.c b/audio/schism/files/extrapatch-modplug__snd_gm.c new file mode 100644 index 000000000000..73b22615aec1 --- /dev/null +++ b/audio/schism/files/extrapatch-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 diff --git a/audio/schism/pkg-descr b/audio/schism/pkg-descr index 0ebc6076dc17..a363b0e49858 100644 --- a/audio/schism/pkg-descr +++ b/audio/schism/pkg-descr @@ -3,4 +3,3 @@ Impulse Tracker as closely as possible. The player code is based on Modplug, so it supports a wide variety of module formats. WWW: http://rigelseven.com/schism/ -