- 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
This commit is contained in:
parent
0cce428b4d
commit
5a9b73e9c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287132
@ -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>
|
||||
|
17
audio/schism/files/extrapatch-modplug__snd_gm.c
Normal file
17
audio/schism/files/extrapatch-modplug__snd_gm.c
Normal file
@ -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
|
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user