diff --git a/firefox.spec b/firefox.spec index b4d505b..ac8a548 100644 --- a/firefox.spec +++ b/firefox.spec @@ -253,6 +253,7 @@ Patch1001: build-ppc64le-inline.patch Patch1002: python-2.7-gcc8-fix.patch Patch1003: python-missing-utimensat.patch Patch1004: build-icu-make.patch +Patch1005: mozilla-1692893-glib-object.patch # workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1699374 Patch4: build-mozconfig-fix.patch Patch6: build-nss-version.patch @@ -641,6 +642,7 @@ sed -ie 's|/usr/include|/app/include|' %_sourcedir/firefox-pipewire-0-3.patch %patch1001 -p1 -b .ppc64le-inline %patch1004 -p1 -b .icu-make +%patch1005 -p1 -b .mozilla-1692893-glib-object # CentOS patches %if 0%{?centos} diff --git a/mozilla-1692893-glib-object.patch b/mozilla-1692893-glib-object.patch new file mode 100644 index 0000000..bfd3056 --- /dev/null +++ b/mozilla-1692893-glib-object.patch @@ -0,0 +1,23 @@ +diff --git a/other-licenses/atk-1.0/atk/atkobject.h b/other-licenses/atk-1.0/atk/atkobject.h +--- a/other-licenses/atk-1.0/atk/atkobject.h ++++ b/other-licenses/atk-1.0/atk/atkobject.h +@@ -20,14 +20,14 @@ + #ifndef __ATK_OBJECT_H__ + #define __ATK_OBJECT_H__ + ++#include ++#include ++#include ++ + #ifdef __cplusplus + extern "C" { + #endif /* __cplusplus */ + +-#include +-#include +-#include +- + /* + * AtkObject represents the minimum information all accessible objects + * return. This information includes accessible name, accessible +