]> git.pld-linux.org Git - packages/vlc.git/blame - x32.patch
apply libplacebo 5 patch only when building with libplacebo
[packages/vlc.git] / x32.patch
CommitLineData
9697dd4b
JP
1--- vlc-3.0.18/src/linux/thread.c.orig 2022-05-31 18:10:59.000000000 +0200
2+++ vlc-3.0.18/src/linux/thread.c 2022-12-02 22:42:09.213075307 +0100
3@@ -59,8 +59,9 @@
4 */
5 static_assert (sizeof (time_t) == sizeof (long) || sizeof (time_t) == 8,
6 "Unrecognised time_t type definition");
7-
8-#if !defined (__NR_futex)
9+#if defined(__x86_64__) && defined(__ILP32__)
10+ const long num = __NR_futex;
11+#elif !defined (__NR_futex)
12 /* Recent 32-bit platforms (e.g. riscv32) only support 64-bit time_t. */
13 static_assert (sizeof (time_t) == 8, "Expected 64-bit time_t");
14 const long num = __NR_futex_time64;
This page took 0.274737 seconds and 4 git commands to generate.