Added fix for glib-c extern c

This commit is contained in:
Jan Horak 2021-02-22 20:22:27 +01:00
parent 89384eb750
commit b690b02e66
2 changed files with 25 additions and 0 deletions

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

View File

@ -228,6 +228,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
@ -515,6 +516,7 @@ echo "use_bundled_yasm %{?use_bundled_yasm}"
%patch1001 -p1 -b .ppc64le-inline
%patch1004 -p1 -b .icu-make
%patch1005 -p1 -b .mozilla-1692893-glib-object
# CentOS patches
%if 0%{?centos}