diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-10-10 22:24:25 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-10-10 22:24:25 +0000 |
commit | 2e1fdeb9e0dd9b28d72ba5af4ae98d81f4533cd8 (patch) | |
tree | 27047d2174a7a78790f8de4c2d49faa6dfef2d45 /audio/rosegarden/files/patch-ak | |
parent | Change BROKEN to FORBIDDEN; it builds on 3.x but doesn't run. (diff) |
- Update to 2.1pl2.
- 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>
Notes
Notes:
svn path=/head/; revision=22317
Diffstat (limited to 'audio/rosegarden/files/patch-ak')
-rw-r--r-- | audio/rosegarden/files/patch-ak | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/audio/rosegarden/files/patch-ak b/audio/rosegarden/files/patch-ak index b77aa1ea438a..e94a529d37db 100644 --- a/audio/rosegarden/files/patch-ak +++ b/audio/rosegarden/files/patch-ak @@ -1,12 +1,15 @@ ---- mapper/src/Mapper_OSS.c.orig Sat Sep 18 16:18:42 1999 -+++ mapper/src/Mapper_OSS.c Sat Sep 18 16:19:17 1999 -@@ -13,6 +13,9 @@ - #include <sys/stat.h> - #include <unistd.h> - #include <fcntl.h> +Index: mapper/src/Mapper_OSS.c +@@ -964,6 +964,13 @@ + + BEGIN("Mapper_ReadEvent"); + +#ifdef __FreeBSD__ -+#include <errno.h> ++ /* 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); - #include <MidiFile.h> - #include <MidiErrorHandler.h> |