diff --git a/SPECS/chromium.spec b/SPECS/chromium.spec index 70aa9d82..0c6f5898 100644 --- a/SPECS/chromium.spec +++ b/SPECS/chromium.spec @@ -596,6 +596,8 @@ Patch600: 0001-Yandex-as-default-search-engine.patch Patch601: 0001-Added-Russian-description-and-summary-for-gnome-soft.patch # Yandex Search by default Patch602: 0001-Added-Yandex-search-bar-as-default-on-newtab-and-new.patch +# Addon to GOST patch +Patch603: 0001-Addon-To-GOST-patch.patch # upstream patches @@ -1208,6 +1210,11 @@ for i in \ do cp $i $i.saved done + +# FIX PATCH +sed -i '/diff --git a\/net\/ssl\/ssl_platform_key_util.h/,/const X509Certificate* certificate);/d' \ + %{chromium_path_gost}/patch/chromium.patch + patch -p1 < %{chromium_path_gost}/patch/chromium.patch patch -p1 -d third_party/boringssl/src < %{chromium_path_gost}/patch/boringssl.patch # rollback backups after GOST patching @@ -1430,6 +1437,7 @@ sed -i 's/std::string data_dir_basename = "chromium"/std::string data_dir_basena %patch -P602 -p1 -b .Yandex-as-default-search-engine %else %patch -P600 -p1 -b .Yandex-as-default-search-engine +%patch -P603 -p1 -b .Addon-to-gost-patch %endif # We patch Chromium to open chrome://new-tab-page even with non-Google search engines