diff -Nru vlc-3.0.11.1/debian/changelog vlc-3.0.11.1/debian/changelog --- vlc-3.0.11.1/debian/changelog 2020-10-21 19:14:33.000000000 +0000 +++ vlc-3.0.11.1/debian/changelog 2020-10-26 13:07:11.000000000 +0000 @@ -1,3 +1,11 @@ +vlc (3.0.11.1-3+rpi1) bullseye-staging; urgency=medium + + [changes brought forward from 3.0.11.1-1+rpi1 by Peter Michael Green at Sun, 30 Aug 2020 00:37:35 +0000] + * Add extern to three functions for gcc-10 compatibility. + * Partially fix clean target. + + -- Raspbian forward porter Mon, 26 Oct 2020 13:07:11 +0000 + vlc (3.0.11.1-3) unstable; urgency=medium * debian/patches: Apply upstream patches to fix build with Qt 5.15 (Closes: diff -Nru vlc-3.0.11.1/debian/patches/add-extern-qualifiers.patch vlc-3.0.11.1/debian/patches/add-extern-qualifiers.patch --- vlc-3.0.11.1/debian/patches/add-extern-qualifiers.patch 1970-01-01 00:00:00.000000000 +0000 +++ vlc-3.0.11.1/debian/patches/add-extern-qualifiers.patch 2020-10-26 13:07:11.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Add extern to three functions for gcc-10 compatibility. +Author: Peter Michael Green + +--- vlc-3.0.11.1.orig/modules/codec/omxil/omxil_core.h ++++ vlc-3.0.11.1/modules/codec/omxil/omxil_core.h +@@ -34,9 +34,9 @@ extern OMX_ERRORTYPE (*pf_component_enum + 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); diff -Nru vlc-3.0.11.1/debian/patches/series vlc-3.0.11.1/debian/patches/series --- vlc-3.0.11.1/debian/patches/series 2020-10-21 19:14:25.000000000 +0000 +++ vlc-3.0.11.1/debian/patches/series 2020-10-26 13:07:11.000000000 +0000 @@ -3,3 +3,4 @@ 0003-Do-not-generate-cache-during-build.patch 0004-qt-fix-missing-header-when-compiling-with-Qt-5.15.patch 0005-qt-add-missing-include-for-QPainterPath.patch +add-extern-qualifiers.patch diff -Nru vlc-3.0.11.1/debian/rules vlc-3.0.11.1/debian/rules --- vlc-3.0.11.1/debian/rules 2020-10-04 20:31:57.000000000 +0000 +++ vlc-3.0.11.1/debian/rules 2020-10-26 13:07:11.000000000 +0000 @@ -346,3 +346,8 @@ override_dh_gencontrol-arch: sed -n 's/^# define MODULE_SYMBOL \([0-9][_0-9a-z]*\)/-Vvlc:PluginABI=vlc-plugin-abi-\1/p' \ include/vlc_plugin.h | tr _ - | xargs dh_gencontrol -a -- + +override_dh_auto_clean: + dh_auto_clean + find . -name '*.luac' -delete + rm -f extras/analyser/_vlc