Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 05:32:07 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423233 - in head/audio/schism: . files
Message-ID:  <201610040532.u945W78b099438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Oct  4 05:32:07 2016
New Revision: 423233
URL: https://svnweb.freebsd.org/changeset/ports/423233

Log:
  - Update to 20160521
  - 9.x needs a compiler understanding C++11 with a C++11 ready standard library
  - Relocate to github

Added:
  head/audio/schism/files/patch-player_snd__gm.c   (contents, props changed)
Deleted:
  head/audio/schism/files/patch-modplug_snd__gm.c
Modified:
  head/audio/schism/Makefile
  head/audio/schism/distinfo

Modified: head/audio/schism/Makefile
==============================================================================
--- head/audio/schism/Makefile	Tue Oct  4 00:48:53 2016	(r423232)
+++ head/audio/schism/Makefile	Tue Oct  4 05:32:07 2016	(r423233)
@@ -2,12 +2,8 @@
 # $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
@@ -16,17 +12,28 @@ 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
 
-PLIST_FILES=	bin/${PORTNAME}
+USE_GITHUB=	yes
+GH_ACCOUNT=	schismtracker
+GH_PROJECT=	schismtracker
 
-WRKSRC=		${WRKDIR}/${DISTNAME}
+PLIST_FILES=	bin/${PORTNAME}
 
-# releases up to version 20120105 either segfault or don't run
-PORTSCOUT=	skipv:20100202,20101127,20101128,20110101,20120105
+# if you touch these make sure configure finds X11/XKBlib.h presence
+LDFLAGS+=	`sdl-config --libs`
+LIBS+=		-lm -lX11
+CPPFLAGS+=	-I${LOCALBASE}/include
+
+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}

Modified: head/audio/schism/distinfo
==============================================================================
--- head/audio/schism/distinfo	Tue Oct  4 00:48:53 2016	(r423232)
+++ head/audio/schism/distinfo	Tue Oct  4 05:32:07 2016	(r423233)
@@ -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

Added: head/audio/schism/files/patch-player_snd__gm.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/schism/files/patch-player_snd__gm.c	Tue Oct  4 05:32:07 2016	(r423233)
@@ -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 <math.h> // for log and log2
++#include <tgmath.h>
+ #if !defined(HAVE_LOG2) && !defined(__USE_ISOC99) && !defined(log2)
+ static double log2(double d)
+ {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610040532.u945W78b099438>