Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159736154
D11829.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11829.diff
View Options
Index: head/audio/wildmidi/Makefile
===================================================================
--- head/audio/wildmidi/Makefile
+++ head/audio/wildmidi/Makefile
@@ -53,6 +53,11 @@
. 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\//{" \
Index: head/audio/wildmidi/files/extra-patch-src_wm__tty.c
===================================================================
--- head/audio/wildmidi/files/extra-patch-src_wm__tty.c
+++ head/audio/wildmidi/files/extra-patch-src_wm__tty.c
@@ -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>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 18, 4:38 PM (16 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34054071
Default Alt Text
D11829.diff (1 KB)
Attached To
Mode
D11829: audio/wildmidi: build fix for an undeclared identifier error.
Attached
Detach File
Event Timeline
Log In to Comment