index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/chromium/PKGBUILD | 11 | ||||
-rw-r--r-- | extra/chromium/chromium-vaapi-uintptr.patch | 20 |
diff --git a/extra/chromium/PKGBUILD b/extra/chromium/PKGBUILD index 2fcfd257..3bbadf17 100644 --- a/extra/chromium/PKGBUILD +++ b/extra/chromium/PKGBUILD @@ -5,3 +5,14 @@ declare -f build | \ /_flags/ a _flags+=('fatal_linker_warnings=false') ' )" + +# fix regression uintptr_t in vaapi +source+=(chromium-vaapi-uintptr.patch) +sha256sums+=('c1b2285dec2acae6108a496cba9230680cd5eedf3467d4563ec4b546fc8224aa') + +eval "$( + declare -f prepare | \ + sed ' + /chromium-vaapi-fix-the/a patch -Np1 -i ../chromium-vaapi-uintptr.patch + ' +)" diff --git a/extra/chromium/chromium-vaapi-uintptr.patch b/extra/chromium/chromium-vaapi-uintptr.patch new file mode 100644 index 00000000..a2405071 --- /dev/null +++ b/extra/chromium/chromium-vaapi-uintptr.patch @@ -0,0 +1,20 @@ +diff -rauN chromium-72.0.3626.121/media/gpu/vaapi/vaapi_wrapper.cc chromium-72.0.3626.121-vaapi-uintptr-patch/media/gpu/vaapi/vaapi_wrapper.cc +--- chromium-72.0.3626.121/media/gpu/vaapi/vaapi_wrapper.cc 2019-03-02 05:10:25.000000000 +0100 ++++ chromium-72.0.3626.121-vaapi-uintptr-patch/media/gpu/vaapi/vaapi_wrapper.cc 2019-03-09 19:02:37.795731310 +0100 +@@ -4,6 +4,7 @@ + + #include "media/gpu/vaapi/vaapi_wrapper.h" + ++#include <cstdint> + #include <dlfcn.h> + #include <string.h> + +@@ -1000,7 +1008,7 @@ + } + va_attrib_extbuf.num_planes = num_planes; + +- std::vector<unsigned long> fds(num_fds); ++ std::vector<uintptr_t> fds(num_fds); + for (size_t i = 0; i < num_fds; ++i) { + int dmabuf_fd = pixmap->GetDmaBufFd(i); + if (dmabuf_fd < 0) { |