Index: head/audio/schism/Makefile =================================================================== --- head/audio/schism/Makefile (revision 423232) +++ head/audio/schism/Makefile (revision 423233) @@ -1,34 +1,41 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= schism -PORTVERSION= 20100101 -PORTREVISION= 4 +PORTVERSION= 20160521 CATEGORIES= audio -MASTER_SITES= http://schismtracker.org/dl/ \ - LOCAL/ehaupt -DISTNAME= schismtracker-${PORTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Module tracker editor/player resembling impulse tracker LICENSE= GPLv2 ONLY_FOR_ARCHS= i386 amd64 -USES= tar:bzip2 -USE_SDL= yes +USES= autoreconf python compiler:c++11-lib +USE_SDL= sdl USE_XORG= x11 xext xv GNU_CONFIGURE= yes +USE_GITHUB= yes +GH_ACCOUNT= schismtracker +GH_PROJECT= schismtracker + PLIST_FILES= bin/${PORTNAME} -WRKSRC= ${WRKDIR}/${DISTNAME} +# if you touch these make sure configure finds X11/XKBlib.h presence +LDFLAGS+= `sdl-config --libs` +LIBS+= -lm -lX11 +CPPFLAGS+= -I${LOCALBASE}/include -# releases up to version 20120105 either segfault or don't run -PORTSCOUT= skipv:20100202,20101127,20101128,20110101,20120105 +post-patch: + @${REINPLACE_CMD} \ + -e "s|^\(AC_INIT.*\)\[last_git_commit\]|\1${PORTVERSION}|" \ + -e '/^m4_define.*last_git_commit.*git/d' \ + ${WRKSRC}/configure.ac + @${REINPLACE_CMD} -e '/^schismtracker_LDADD/d' ${WRKSRC}/Makefile.am do-install: ${INSTALL_PROGRAM} ${WRKSRC}/schismtracker ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/audio/schism/distinfo =================================================================== --- head/audio/schism/distinfo (revision 423232) +++ head/audio/schism/distinfo (revision 423233) @@ -1,2 +1,3 @@ -SHA256 (schismtracker-20100101.tar.bz2) = bbcd82f0ae9d97361ba21c75296de3481b84cfea2ed9e68a5bafb5364f2a3894 -SIZE (schismtracker-20100101.tar.bz2) = 1047576 +TIMESTAMP = 1475444087 +SHA256 (schismtracker-schismtracker-20160521_GH0.tar.gz) = 9f49028dbf7c90fd0a9f0c664b47e479c81e6d4f746a8624a98de6513911d930 +SIZE (schismtracker-schismtracker-20160521_GH0.tar.gz) = 1026780 Index: head/audio/schism/files/patch-modplug_snd__gm.c =================================================================== --- head/audio/schism/files/patch-modplug_snd__gm.c (revision 423232) +++ head/audio/schism/files/patch-modplug_snd__gm.c (nonexistent) @@ -1,17 +0,0 @@ ---- modplug/snd_gm.c.orig 2010-01-01 19:22:26 UTC -+++ modplug/snd_gm.c -@@ -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 Property changes on: head/audio/schism/files/patch-modplug_snd__gm.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/schism/files/patch-player_snd__gm.c =================================================================== --- head/audio/schism/files/patch-player_snd__gm.c (nonexistent) +++ head/audio/schism/files/patch-player_snd__gm.c (revision 423233) @@ -0,0 +1,10 @@ +--- player/snd_gm.c.orig 2016-10-03 07:37:10 UTC ++++ player/snd_gm.c +@@ -33,6 +33,7 @@ + #include "snd_gm.h" + + #include // for log and log2 ++#include + #if !defined(HAVE_LOG2) && !defined(__USE_ISOC99) && !defined(log2) + static double log2(double d) + { Property changes on: head/audio/schism/files/patch-player_snd__gm.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property