Date: Thu, 3 Aug 2017 18:36:51 +0000 (UTC) From: Richard Gallamore <ultima@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447274 - in head/audio/wildmidi: . files Message-ID: <201708031836.v73IappC075290@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ultima Date: Thu Aug 3 18:36:51 2017 New Revision: 447274 URL: https://svnweb.freebsd.org/changeset/ports/447274 Log: This change will fix BROKEN status on several latest FreeBSD branches that will be upcoming releases. PR: 220843 Submitted by: SimaMoto,RyōTa <liangtai.s16@gmail.com> (maintainer) Reviewed by: matthew (mentor) Approved by: matthew (mentor) MFH: 2017Q3 Differential Revision: https://reviews.freebsd.org/D11829 Added: head/audio/wildmidi/files/ head/audio/wildmidi/files/extra-patch-src_wm__tty.c (contents, props changed) Modified: head/audio/wildmidi/Makefile Modified: head/audio/wildmidi/Makefile ============================================================================== --- head/audio/wildmidi/Makefile Thu Aug 3 18:09:23 2017 (r447273) +++ head/audio/wildmidi/Makefile Thu Aug 3 18:36:51 2017 (r447274) @@ -53,6 +53,11 @@ 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: @${GREP} -L ${LOCALBASE} ${WRKSRC}/cfg/wildmidi.cfg | ${XARGS} \ ${REINPLACE_CMD} -e "/^dir \/usr\/share\//{" \ Added: head/audio/wildmidi/files/extra-patch-src_wm__tty.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/wildmidi/files/extra-patch-src_wm__tty.c Thu Aug 3 18:36:51 2017 (r447274) @@ -0,0 +1,10 @@ +--- 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708031836.v73IappC075290>