audio/wildmidi: Update to 0.4.2

Patch removed was incorporated upstream.

Changes:	https://github.com/Mindwerks/wildmidi/releases/tag/wildmidi-0.4.2

PR:		223925
Submitted by:	SimaMoto,RyoTa <liangtai.s16@gmail.com> (maintainer)
This commit is contained in:
Danilo G. Baio 2017-11-28 00:07:16 +00:00
parent 63fd10fc30
commit a9ee4450bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455007
3 changed files with 4 additions and 19 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= wildmidi
PORTVERSION= 0.4.1
PORTVERSION= 0.4.2
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= audio
@ -47,11 +47,6 @@ LIB_DEPENDS+= libasound.so:audio/alsa-lib
. endif
.endif
# base: r318780, r319651, r319653
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1200031 || (${OSVERSION} >= 1100514 && ${OSVERSION} < 1200000) || (${OSVERSION} >= 1003514 && ${OSVERSION} < 1100000))
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_wm__tty.c
.endif
post-patch:
${REINPLACE_CMD} -e "/^dir \/usr\/share\//{" \
-e "s|/usr/share/midi/freepats|${LOCALBASE}/share/freepats|;" \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1491656038
SHA256 (Mindwerks-wildmidi-wildmidi-0.4.1_GH0.tar.gz) = 880f1cb5bf68589915a82a8e603ff561bdda7ddb5864c15ad28b5428d4abf9ea
SIZE (Mindwerks-wildmidi-wildmidi-0.4.1_GH0.tar.gz) = 191368
TIMESTAMP = 1511827036
SHA256 (Mindwerks-wildmidi-wildmidi-0.4.2_GH0.tar.gz) = 551d43cb6de6019885f933a20b6f3205a92814f50da8b0d8bceac002b9a8109d
SIZE (Mindwerks-wildmidi-wildmidi-0.4.2_GH0.tar.gz) = 192441

View file

@ -1,10 +0,0 @@
--- src/wm_tty.c.orig 2017-02-26 17:30:45 UTC
+++ src/wm_tty.c
@@ -27,6 +27,7 @@
#if !(defined(_WIN32) || defined(__DJGPP__) || defined(WILDMIDI_AMIGA) || defined(__OS2__) || defined(__EMX__))
#define _XOPEN_SOURCE 600 /* for ONLCR */
+#define __BSD_VISIBLE 1 /* for ONLCR in *BSD */
#include <unistd.h>
#include <termios.h>