[packages/libomxil-bellagio] - added extern patch to fix (libomxil-bellagio itself and omx_reference_resource_manager.h users) bu

qboosh qboosh at pld-linux.org
Wed May 20 20:34:44 CEST 2020


commit 227d4ac60cc95f92301ddb708c682c55cd4f18c7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 20 20:35:19 2020 +0200

    - added extern patch to fix (libomxil-bellagio itself and omx_reference_resource_manager.h users) build with -fno-common
    - release 4

 libomxil-bellagio-extern.patch | 31 +++++++++++++++++++++++++++++++
 libomxil-bellagio.spec         |  4 +++-
 2 files changed, 34 insertions(+), 1 deletion(-)
---
diff --git a/libomxil-bellagio.spec b/libomxil-bellagio.spec
index d47a6d7..3957df2 100644
--- a/libomxil-bellagio.spec
+++ b/libomxil-bellagio.spec
@@ -6,12 +6,13 @@ Summary:	Bellagio OpenMAX Integration Layer implementation
 Summary(pl.UTF-8):	Implementacja Bellagio standardu OpenMAX Integration Layer
 Name:		libomxil-bellagio
 Version:	0.9.3
-Release:	3
+Release:	4
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/omxil/%{name}-%{version}.tar.gz
 # Source0-md5:	a1de827fdb75c02c84e55f740ca27cb8
 Patch0:		%{name}-link.patch
+Patch1:		%{name}-extern.patch
 URL:		http://omxil.sourceforge.net/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
@@ -77,6 +78,7 @@ Dokumentacja API biblioteki Bellagio OpenMAX IL.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # unhandled case enum value warnings when using gcc 4.6
 sed -i -e 's/-Werror//' configure.ac
diff --git a/libomxil-bellagio-extern.patch b/libomxil-bellagio-extern.patch
new file mode 100644
index 0000000..cfae752
--- /dev/null
+++ b/libomxil-bellagio-extern.patch
@@ -0,0 +1,31 @@
+--- libomxil-bellagio-0.9.3/src/omx_reference_resource_manager.h.orig	2011-01-12 08:53:26.000000000 +0100
++++ libomxil-bellagio-0.9.3/src/omx_reference_resource_manager.h	2020-05-20 20:20:47.148613813 +0200
+@@ -49,10 +49,10 @@
+ };
+ 
+ 
+-int globalIndex;
+-NameIndexType *listOfcomponentRegistered;
+-ComponentListType **globalComponentList;
+-ComponentListType **globalWaitingComponentList;
++extern int globalIndex;
++extern NameIndexType *listOfcomponentRegistered;
++extern ComponentListType **globalComponentList;
++extern ComponentListType **globalWaitingComponentList;
+ 
+ OMX_ERRORTYPE RM_RegisterComponent(char *name, int max_components);
+ OMX_ERRORTYPE addElemToList(ComponentListType **list, OMX_COMPONENTTYPE *openmaxStandComp, int index, OMX_BOOL bIsWaiting);
+--- libomxil-bellagio-0.9.3/src/omx_reference_resource_manager.c.orig	2011-01-12 08:53:26.000000000 +0100
++++ libomxil-bellagio-0.9.3/src/omx_reference_resource_manager.c	2020-05-20 20:29:18.915109312 +0200
+@@ -30,6 +30,11 @@
+ #include "base/omx_base_component.h"
+ #include "queue.h"
+ 
++int globalIndex;
++NameIndexType *listOfcomponentRegistered;
++ComponentListType **globalComponentList;
++ComponentListType **globalWaitingComponentList;
++
+ /**
+  * This is the static base pointer of the list
+  */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libomxil-bellagio.git/commitdiff/227d4ac60cc95f92301ddb708c682c55cd4f18c7



More information about the pld-cvs-commit mailing list