commit 7f0ec73cb7f97bea9a276d1e9d33c40557338c1a
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Tue Sep 10 15:55:16 2019 -0400
trying this
chromium-76.0.3809.132-chromedriver-zlib-fix.patch | 11 +++++++++++
chromium.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/chromium-76.0.3809.132-chromedriver-zlib-fix.patch
b/chromium-76.0.3809.132-chromedriver-zlib-fix.patch
new file mode 100644
index 0000000..7ab46d8
--- /dev/null
+++ b/chromium-76.0.3809.132-chromedriver-zlib-fix.patch
@@ -0,0 +1,11 @@
+diff -up chromium-76.0.3809.132/chrome/test/chromedriver/BUILD.gn.fixme
chromium-76.0.3809.132/chrome/test/chromedriver/BUILD.gn
+--- chromium-76.0.3809.132/chrome/test/chromedriver/BUILD.gn.fixme 2019-09-10
15:53:02.871463568 -0400
++++ chromium-76.0.3809.132/chrome/test/chromedriver/BUILD.gn 2019-09-10
15:53:33.057824836 -0400
+@@ -197,6 +197,7 @@ source_set("automation_client_lib") {
+ "//services/network/public/cpp",
+ "//services/network/public/mojom",
+ "//third_party/blink/public:buildflags",
++ "//third_party/zlib",
+ "//third_party/zlib:minizip",
+ "//third_party/zlib/google:zip",
+ "//ui/accessibility:ax_enums_mojo",
diff --git a/chromium.spec b/chromium.spec
index fd6a3ea..81982e2 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -316,8 +316,9 @@ Patch204: chromium-75.0.3770.80-vaapi-libva1-compatibility.patch
# Pulseaudio changed the API a little in 12.99.1
Patch205: chromium-76.0.3809.100-pulse-api-change.patch
-# Apply this patches to work around EPEL8 issues
+# Apply these patches to work around EPEL8 issues
Patch300: chromium-76.0.3809.132-rhel8-force-disable-use_gnome_keyring.patch
+Patch301: chromium-76.0.3809.132-chromedriver-zlib-fix.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found
here:
#
http://build.chromium.org/buildbot/official/
@@ -896,6 +897,10 @@ udev.
%patch300 -p1 -b .disblegnomekeyring
%endif
+%if %{bundleminizip}
+%patch301 -p1 -b .chromedriver-zlib
+%endif
+
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
find -type f -exec sed -iE '1s=^#! */usr/bin/\(python\|env
python\)[23]\?=#!%{__python2}=' {} +