summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2020-05-07 22:44:19 -0400
committerBradley Sepos <[email protected]>2020-05-07 22:44:19 -0400
commitf189c4bc83ae4bc875fd49084fa67c891f0e0ece (patch)
tree74b75d83823f9d549468772da9a00a7603949800 /contrib
parent5af551703bb5671f8996b345736ea151841fa1ec (diff)
contrib: Add patch fixing cross compiling libdav1d with gcc 10.1.
Fixes a variation on an old bug causing posix_memalign to be used where unavailable.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libdav1d/A01-disable-cross-posix-memalign.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/libdav1d/A01-disable-cross-posix-memalign.patch b/contrib/libdav1d/A01-disable-cross-posix-memalign.patch
new file mode 100644
index 000000000..ac3b8faf8
--- /dev/null
+++ b/contrib/libdav1d/A01-disable-cross-posix-memalign.patch
@@ -0,0 +1,11 @@
+diff -ur dav1d.orig/x86_64-w64-mingw32.meson dav1då/x86_64-w64-mingw32.meson
+--- dav1d.orig/x86_64-w64-mingw32.meson 2020-05-07 20:41:33.000000000 -0400
++++ dav1d/x86_64-w64-mingw32.meson 2020-05-07 20:44:38.000000000 -0400
+@@ -7,6 +7,7 @@
+
+ [properties]
+ c_link_args = ['-static-libgcc']
++has_function_posix_memalign = false
+
+ [host_machine]
+ system = 'windows'