From 033dc855d52ece3c341f826d45ce170f380e4bc9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 14 Feb 2021 19:32:23 +0100 Subject: [PATCH] - fix variable declarations - rel 18 --- extern.patch | 26 ++++++++++++++++++++++++++ xine-lib.spec | 4 +++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 extern.patch diff --git a/extern.patch b/extern.patch new file mode 100644 index 0000000..761b86b --- /dev/null +++ b/extern.patch @@ -0,0 +1,26 @@ +--- xine-lib-1.2.8/src/xine-engine/builtins.h~ 2017-02-21 12:13:13.000000000 +0100 ++++ xine-lib-1.2.8/src/xine-engine/builtins.h 2021-02-14 19:27:45.032199127 +0100 +@@ -31,7 +31,7 @@ + + #include + +-const plugin_info_t xine_builtin_plugin_info[7]; ++extern const plugin_info_t xine_builtin_plugin_info[7]; + + #endif + +--- xine-lib-1.2.8/src/libreal/real_common.h~ 2017-02-21 12:13:13.000000000 +0100 ++++ xine-lib-1.2.8/src/libreal/real_common.h 2021-02-14 19:30:25.662805757 +0100 +@@ -75,10 +75,10 @@ + const char *const codec_name, + const char *const codec_alternate); + +-const decoder_info_t dec_info_realvideo; ++extern const decoder_info_t dec_info_realvideo; + void *init_realvdec (xine_t *xine, void *data); + +-const decoder_info_t dec_info_realaudio; ++extern const decoder_info_t dec_info_realaudio; + void *init_realadec (xine_t *xine, void *data); + + #endif diff --git a/xine-lib.spec b/xine-lib.spec index fffff00..c568c6e 100644 --- a/xine-lib.spec +++ b/xine-lib.spec @@ -41,7 +41,7 @@ Summary(pl.UTF-8): Odtwarzacz filmów Summary(pt_BR.UTF-8): Xine, um player de video Name: xine-lib Version: 1.2.8 -Release: 17 +Release: 18 Epoch: 2 License: GPL v2+ Group: Libraries @@ -56,6 +56,7 @@ Patch4: %{name}-vdpau-hooks.patch Patch5: x32.patch Patch6: ffmpeg4.patch Patch8: imagemagick7.patch +Patch9: extern.patch URL: http://xine.sourceforge.net/ %{?with_directfb:BuildRequires: DirectFB-devel >= 0.9.22} %{?with_fusionsound:BuildRequires: FusionSound-devel >= 0.9.23} @@ -971,6 +972,7 @@ XINE - wtyczka postprocessingu oparta na libpostproc z pakietu FFmpeg. %patch5 -p1 %patch6 -p1 %patch8 -p1 +%patch9 -p1 %build %{__gettextize} -- 2.44.0