Added patch for c linkages

This commit is contained in:
Jan Horak 2021-03-16 21:27:14 +01:00
parent bc6d75e2e3
commit 2e807c198d
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,16 @@
--- a/other-licenses/atk-1.0/atk/atkobject.orig.h 2021-02-05 19:53:35.000000000 +0100
+++ b/other-licenses/atk-1.0/atk/atkobject.h 2021-02-06 19:29:57.596256493 +0100
@@ -20,11 +20,12 @@
#ifndef __ATK_OBJECT_H__
#define __ATK_OBJECT_H__
+#include <glib-object.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include <glib-object.h>
#include <atk/atkstate.h>
#include <atk/atkrelationtype.h>

View File

@ -119,6 +119,7 @@ Patch417: build-aarch64-user_vfp.patch
Patch418: mozilla-1512162.patch
Patch419: bindgen-d0dfc52706f23db9dc9d74642eeebd89d73cb8d0.patch
Patch103: rhbz-1219542-s390-build.patch
Patch104: icecat-78.7.1-fix_error_template_with_C_linkage.patch
# PPC fix
Patch304: mozilla-1245783.patch
@ -246,6 +247,7 @@ debug %{name}, you want to install %{name}-debuginfo instead.
%ifarch s390
%patch103 -p1 -b .rhbz-1219542-s390-build
%endif
%patch104 -p1 -b .c-linkages
%patch304 -p1 -b .1245783
# Patch for big endian platforms only