mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
2e1fdeb9e0
- Move Petal.so back into ${PREFIX}/lib/rosegarden/petal - Install a wrapper script that adds the dir to TCLLIBPATH so you don't have to edit your .profile because of this... - Fixes for the FreeBSD sound system, midi playback while recording works now. PR: 14234 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
16 lines
394 B
Plaintext
16 lines
394 B
Plaintext
Index: mapper/src/Mapper_OSS.c
|
|
@@ -964,6 +964,13 @@
|
|
|
|
BEGIN("Mapper_ReadEvent");
|
|
|
|
+#ifdef __FreeBSD__
|
|
+ /* on FreeBSD the read() will block when there is no data available... */
|
|
+ out = 0;
|
|
+ ioctl(seqfd, SNDCTL_SEQ_GETINCOUNT, &out);
|
|
+ if (!out)
|
|
+ RETURN_BOOL(False);
|
|
+#endif
|
|
if ( ( out = read(seqfd, &InBytes, sizeof(InBytes)) ) <= 0 )
|
|
RETURN_BOOL(False);
|
|
|