version bumps
[dbus-free.git] / media-sound / oss / files / musl.patch
blobf30089f27c84ed8e5edd6a2787be624aa80a751c
1 --- a/kernel/OS/Linux/wrapper/wrap.h 2019-03-06 07:52:39.000000000 -0000
2 +++ a/kernel/OS/Linux/wrapper/wrap.h 2019-05-25 16:20:11.370419336 -0000
3 @@ -137,8 +137,8 @@
5 typedef struct oss_file_operation_handle
7 - ssize_t (*read) (oss_file_handle_t *, char *, size_t, loff_t *);
8 - ssize_t (*write) (oss_file_handle_t *, char *, size_t, loff_t *);
9 + ssize_t (*read) (oss_file_handle_t *, char *, size_t, off_t *);
10 + ssize_t (*write) (oss_file_handle_t *, char *, size_t, off_t *);
11 int (*readdir) (oss_inode_handle_t *, oss_file_handle_t *, void *, int);
12 unsigned int (*poll) (oss_file_handle_t *, oss_poll_table_handle_t *);
13 int (*ioctl) (oss_inode_handle_t *, oss_file_handle_t *, unsigned int,
15 --- a/os_cmd/Linux/ossdetect/ossdetect.c 2019-05-25 16:21:50.660425432 -0000
16 +++ a/os_cmd/Linux/ossdetect/ossdetect.c 2019-05-25 16:26:44.717110150 -0000
17 @@ -13,7 +13,7 @@
18 * distribution for the license terms and conditions.
22 +#include <limits.h>
23 #include <errno.h>
24 #include <fcntl.h>
25 #include <stdio.h>
27 --- a/kernel/OS/Linux/os_linux.c 2019-03-06 07:52:39.000000000 -0000
28 +++ a/kernel/OS/Linux/os_linux.c 2019-05-25 16:30:29.623790639 -0000
29 @@ -574,7 +574,7 @@
31 static ssize_t
32 oss_cdev_read (oss_file_handle_t * file, char *buf, size_t count,
33 - loff_t * offs)
34 + off_t * offs)
36 oss_native_word d = (oss_native_word) oss_file_get_private (file);
37 int dev = d;
38 @@ -604,7 +604,7 @@
40 static ssize_t
41 oss_cdev_write (oss_file_handle_t * file, char *buf, size_t count,
42 - loff_t * offs)
43 + off_t * offs)
45 oss_native_word d = (oss_native_word) oss_file_get_private (file);
46 int dev = d;