[packages/vlc] - added extern patch (fix build with -fno-common which is gcc 10 default); release 4
qboosh
qboosh at pld-linux.org
Wed May 20 18:28:13 CEST 2020
commit c7891662b7dd10199ce53073ee4fc04c6f4f8051
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed May 20 18:28:45 2020 +0200
- added extern patch (fix build with -fno-common which is gcc 10 default); release 4
vlc-extern.patch | 15 +++++++++++++++
vlc.spec | 6 +++---
2 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/vlc.spec b/vlc.spec
index 5bdaa70..75e5535 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -70,7 +70,7 @@ Summary: VLC - a multimedia player and stream server
Summary(pl.UTF-8): VLC - odtwarzacz multimedialny oraz serwer strumieni
Name: vlc
Version: 3.0.10
-Release: 3
+Release: 4
License: GPL v2+
Group: X11/Applications/Multimedia
Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.xz
@@ -81,7 +81,7 @@ Patch2: %{name}-mpc.patch
Patch3: xmas-sucks.patch
Patch4: no-cache.patch
Patch5: %{name}-fdk_aac.patch
-
+Patch6: %{name}-extern.patch
Patch7: %{name}-vsxu.patch
URL: http://www.videolan.org/vlc/
# 1.0 for X11 or GLESv1, 1.1 for GLESv2
@@ -420,7 +420,7 @@ Akcje klienta VLC dla Solid.
%endif
%patch4 -p1
%patch5 -p1
-
+%patch6 -p1
%patch7 -p1
%build
diff --git a/vlc-extern.patch b/vlc-extern.patch
new file mode 100644
index 0000000..1b3223f
--- /dev/null
+++ b/vlc-extern.patch
@@ -0,0 +1,15 @@
+--- vlc-3.0.10/modules/codec/omxil/omxil_core.h.orig 2020-04-20 09:19:53.000000000 +0200
++++ vlc-3.0.10/modules/codec/omxil/omxil_core.h 2020-05-20 17:53:47.373898072 +0200
+@@ -34,9 +34,9 @@
+ extern OMX_ERRORTYPE (*pf_get_roles_of_component)(OMX_STRING, OMX_U32 *, OMX_U8 **);
+
+ /* Extra IOMX android functions. Can be NULL if we don't link with libiomx */
+-OMX_ERRORTYPE (*pf_enable_graphic_buffers)(OMX_HANDLETYPE, OMX_U32, OMX_BOOL);
+-OMX_ERRORTYPE (*pf_get_graphic_buffer_usage)(OMX_HANDLETYPE, OMX_U32, OMX_U32*);
+-OMX_ERRORTYPE (*pf_get_hal_format) (const char *, int *);
++extern OMX_ERRORTYPE (*pf_enable_graphic_buffers)(OMX_HANDLETYPE, OMX_U32, OMX_BOOL);
++extern OMX_ERRORTYPE (*pf_get_graphic_buffer_usage)(OMX_HANDLETYPE, OMX_U32, OMX_U32*);
++extern OMX_ERRORTYPE (*pf_get_hal_format) (const char *, int *);
+
+ int InitOmxCore(vlc_object_t *p_this);
+ void DeinitOmxCore(void);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vlc.git/commitdiff/c7891662b7dd10199ce53073ee4fc04c6f4f8051
More information about the pld-cvs-commit
mailing list