From owner-svn-ports-head@freebsd.org Thu Aug 3 18:36:53 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C179DCCD0D; Thu, 3 Aug 2017 18:36:53 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED72866035; Thu, 3 Aug 2017 18:36:52 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v73IaqXl075292; Thu, 3 Aug 2017 18:36:52 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v73IappC075290; Thu, 3 Aug 2017 18:36:51 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201708031836.v73IappC075290@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Thu, 3 Aug 2017 18:36:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447274 - in head/audio/wildmidi: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: in head/audio/wildmidi: . files X-SVN-Commit-Revision: 447274 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2017 18:36:53 -0000 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 (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 + #include