diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-12-09 21:40:19 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-12-09 21:40:19 +0000 |
commit | 5a9b73e9c5adedf28cdd4554a8fc0e8a287eb45a (patch) | |
tree | 39028c5d2f71ce223576d56bbf9f16ed76649c83 /audio | |
parent | 0cce428b4d0402c0119055a22cf90ddb3c0a56dc (diff) | |
download | ports-5a9b73e9c5adedf28cdd4554a8fc0e8a287eb45a.tar.gz ports-5a9b73e9c5adedf28cdd4554a8fc0e8a287eb45a.zip |
- 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
Notes
Notes:
svn path=/head/; revision=287132
Diffstat (limited to 'audio')
-rw-r--r-- | audio/schism/Makefile | 5 | ||||
-rw-r--r-- | audio/schism/files/extrapatch-modplug__snd_gm.c | 17 | ||||
-rw-r--r-- | audio/schism/pkg-descr | 1 |
3 files changed, 20 insertions, 3 deletions
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 <bsd.port.pre.mk> .if ${OSVERSION} >= 900027 -BROKEN= does not build +EXTRA_PATCHES= ${FILESDIR}/extrapatch-modplug__snd_gm.c .endif .include <bsd.port.post.mk> 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/ - |