---- openh264-1.7.0/Makefile.orig 2017-07-16 18:14:26.133491636 +0200
-+++ openh264-1.7.0/Makefile 2017-07-16 18:16:09.546823791 +0200
-@@ -26,7 +26,7 @@
+--- openh264-2.4.1/Makefile.orig 2024-01-30 06:56:00.000000000 +0100
++++ openh264-2.4.1/Makefile 2024-02-28 06:19:21.537436639 +0100
+@@ -26,7 +26,7 @@ SHARED=-shared
OBJ=o
DESTDIR=
LIBDIR_NAME=lib
+SHAREDLIB_DIR=$(PREFIX)/$(LIBDIR_NAME)
PROJECT_NAME=openh264
MODULE_NAME=gmpopenh264
- GMP_API_BRANCH=Firefox39
+ GMP_API_BRANCH=Firefox114_2
Summary: H.264 codec library
Summary(pl.UTF-8): Biblioteka kodeka H.264
Name: openh264
-Version: 2.3.1
+Version: 2.4.1
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/cisco/openh264/releases/
Source0: https://github.com/cisco/openh264/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: fb26184faec8e0d99ffc87e2abd188aa
+# Source0-md5: 08396d6c467f7ae063d40b3a378870b0
Patch0: %{name}-libdir.patch
Patch1: no-forced-arch.patch
Patch2: x32-asm.patch
---- openh264-1.7.0/build/platform-linux.mk.orig 2017-07-16 18:29:39.036814547 +0200
-+++ openh264-1.7.0/build/platform-linux.mk 2017-07-16 18:33:08.330145489 +0200
-@@ -9,7 +9,11 @@
+--- openh264-2.4.1/build/platform-gnu-chain.mk.orig 2024-01-30 06:56:32.000000000 +0100
++++ openh264-2.4.1/build/platform-gnu-chain.mk 2024-02-28 18:05:31.669221886 +0100
+@@ -12,9 +12,11 @@ STATIC_LDFLAGS += -lpthread -lm
AR_OPTS = crD $@
ifeq ($(ASM_ARCH), x86)
ifeq ($(ARCH), x86_64)
-+ifeq ($(IS_X32), Yes)
-+ASMFLAGS += -f elfx32
-+else
++ifneq ($(IS_X32), Yes)
ASMFLAGS += -f elf64
+-else ifeq ($(ARCH), x32)
++else ($(ARCH), x32)
+ ASMFLAGS += -f elfx32
+endif
else
ASMFLAGS += -f elf