--- /dev/null
+Description: build openh264 with -DX86_32_PICASM on x86
+ To fix linker errors with new binutils, see #965328.
+Author: Dmitry Shachnev <mitya57@debian.org>
+Forwarded: not-yet
+Last-Update: 2020-07-20
+
+--- a/src/3rdparty/chromium/third_party/openh264/BUILD.gn
++++ b/src/3rdparty/chromium/third_party/openh264/BUILD.gn
+@@ -67,7 +67,7 @@ if (use_assembler) {
+ sources = openh264_common_sources_asm_x86
+ defines = yasm_defines
+ if (target_cpu == "x86") {
+- defines += [ "X86_32" ]
++ defines += [ "X86_32", "X86_32_PICASM" ]
+ } else { # x64
+ if (is_mac) {
+ defines += [
+@@ -88,7 +88,7 @@ if (use_assembler) {
+ sources = openh264_processing_sources_asm_x86
+ defines = yasm_defines
+ if (target_cpu == "x86") {
+- defines += [ "X86_32" ]
++ defines += [ "X86_32", "X86_32_PICASM" ]
+ } else { # x64
+ if (is_mac) {
+ defines += [
+@@ -109,7 +109,7 @@ if (use_assembler) {
+ sources = openh264_encoder_sources_asm_x86
+ defines = yasm_defines
+ if (target_cpu == "x86") {
+- defines += [ "X86_32" ]
++ defines += [ "X86_32", "X86_32_PICASM" ]
+ } else { # x64
+ if (is_mac) {
+ defines += [
Summary(pl.UTF-8): Biblioteka Qt5 WebEngine
Name: qt5-%{orgname}
Version: 5.15.0
-Release: 5
+Release: 6
License: LGPL v3 or GPL v2+ or commercial
Group: X11/Libraries
Source0: http://download.qt.io/official_releases/qt/5.15/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
Patch0: x32.patch
Patch1: webauthn.patch
Patch2: bison-3.7.patch
-Patch3: icu67.patch
+Patch3: binutils-2.35.patch
+Patch4: icu67.patch
URL: http://www.qt.io/
BuildRequires: Mesa-khrplatform-devel
BuildRequires: Qt5Core-devel >= %{version}
%endif
%patch1 -p1
%patch2 -p1
+%patch3 -p1
cd ./src/3rdparty/chromium
-%patch3 -p2
+%patch4 -p2
%build
%ifarch x32