View | Details | Raw Unified | Return to bug 220843 | Differences between
and this patch

Collapse All | Expand All

(-)audio/wildmidi/Makefile (+5 lines)
Lines 53-58 Link Here
53
.  endif
53
.  endif
54
.endif
54
.endif
55
55
56
# base: r318780, r319651, r319653
57
.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1200031 || (${OSVERSION} >= 1100514 && ${OSVERSION} < 1200000) || (${OSVERSION} >= 1003514 && ${OSVERSION} < 1100000))
58
EXTRA_PATCHES=	${FILESDIR}/extra-patch-src_wm__tty.c
59
.endif
60
56
post-patch:
61
post-patch:
57
	@${GREP} -L ${LOCALBASE} ${WRKSRC}/cfg/wildmidi.cfg | ${XARGS} \
62
	@${GREP} -L ${LOCALBASE} ${WRKSRC}/cfg/wildmidi.cfg | ${XARGS} \
58
		${REINPLACE_CMD} -e "/^dir \/usr\/share\//{" \
63
		${REINPLACE_CMD} -e "/^dir \/usr\/share\//{" \
(-)audio/wildmidi/files/extra-patch-src_wm__tty.c (+10 lines)
Line 0 Link Here
1
--- src/wm_tty.c.orig	2017-02-26 17:30:45 UTC
2
+++ src/wm_tty.c
3
@@ -27,6 +27,7 @@
4
 #if !(defined(_WIN32) || defined(__DJGPP__) || defined(WILDMIDI_AMIGA) || defined(__OS2__) || defined(__EMX__))
5
 
6
 #define _XOPEN_SOURCE 600 /* for ONLCR */
7
+#define __BSD_VISIBLE 1 /* for ONLCR in *BSD */
8
 
9
 #include <unistd.h>
10
 #include <termios.h>

Return to bug 220843