Added fix for: /usr/include/c++/11/type_traits:3215:3: error: template with C linkage

This commit is contained in:
Jan Horak 2021-02-22 09:58:52 +01:00
parent 4bc660fb04
commit 4c61a33284
2 changed files with 25 additions and 0 deletions

View File

@ -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}

View File

@ -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 <glib-object.h>
+#include <atk/atkstate.h>
+#include <atk/atkrelationtype.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include <glib-object.h>
-#include <atk/atkstate.h>
-#include <atk/atkrelationtype.h>
-
/*
* AtkObject represents the minimum information all accessible objects
* return. This information includes accessible name, accessible