openbsd-ports/audio/esound/patches/patch-esd.c
martynas 6b4cd39bde revert to 0.2.34; this is known to cause problems for devices with
48kHz sampling rate, originally reported by Gareth <garf at
loveandnature dot co dot za>
testing and patches from jakemsr@, aanriot@ and Tim van der Molen
<tbvdm.lists at xs4all dot nl>
ok naddy@, jakemsr@, simon@, jasper@
2007-08-11 17:29:36 +00:00

20 lines
595 B
C

--- esd.c.orig Wed Jan 14 07:00:46 2004
+++ esd.c Thu Jun 24 20:07:12 2004
@@ -236,12 +236,12 @@ struct stat dir_stats;
#if defined(S_ISVTX)
#define ESD_UNIX_SOCKET_DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|\
- S_IRGRP|S_IWGRP|S_IXGRP|\
- S_IROTH|S_IWOTH|S_IXOTH|S_ISVTX)
+ S_IRGRP|S_IXGRP|\
+ S_IROTH|S_IXOTH|S_ISVTX)
#else
#define ESD_UNIX_SOCKET_DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|\
- S_IRGRP|S_IWGRP|S_IXGRP|\
- S_IROTH|S_IWOTH|S_IXOTH)
+ S_IRGRP|S_IXGRP|\
+ S_IROTH|S_IXOTH)
#endif
if (mkdir(ESD_UNIX_SOCKET_DIR, ESD_UNIX_SOCKET_DIR_MODE) == 0) {