diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-third_party_libsync_src_sync_c')
| -rw-r--r-- | www/chromium-uc/patches/patch-third_party_libsync_src_sync_c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/www/chromium-uc/patches/patch-third_party_libsync_src_sync_c b/www/chromium-uc/patches/patch-third_party_libsync_src_sync_c deleted file mode 100644 index 2113628..0000000 --- a/www/chromium-uc/patches/patch-third_party_libsync_src_sync_c +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | $OpenBSD: patch-third_party_libsync_src_sync_c,v 1.1 2021/01/20 07:28:11 robert Exp $ | ||
| 2 | |||
| 3 | Index: third_party/libsync/src/sync.c | ||
| 4 | --- third_party/libsync/src/sync.c.orig | ||
| 5 | +++ third_party/libsync/src/sync.c | ||
| 6 | @@ -17,7 +17,9 @@ | ||
| 7 | */ | ||
| 8 | |||
| 9 | #include <fcntl.h> | ||
| 10 | +#if !defined(__OpenBSD__) | ||
| 11 | #include <malloc.h> | ||
| 12 | +#endif | ||
| 13 | #include <stdint.h> | ||
| 14 | #include <string.h> | ||
| 15 | #include <errno.h> | ||
| 16 | @@ -29,6 +31,12 @@ | ||
| 17 | |||
| 18 | #include <sync/sync.h> | ||
| 19 | |||
| 20 | +#if defined(__OpenBSD__) | ||
| 21 | +typedef __uint8_t __u8; | ||
| 22 | +typedef __uint32_t __u32; | ||
| 23 | +typedef __int32_t __s32; | ||
| 24 | +#define ETIME ETIMEDOUT | ||
| 25 | +#endif | ||
| 26 | |||
| 27 | struct sw_sync_create_fence_data { | ||
| 28 | __u32 value; | ||
