void-packages/srcpkgs/libreoffice/patches/fix-vlc-backend.patch
Érico Nogueira e98a679e3b libreoffice: update to 7.1.3.2, adopt.
- remove comment about missing dependencies: they are either not used by
  the current configuration (krb5 with system postgresql or nasm with
  system libjpeg) or were made to be used in this update (poppler)
- use system fontforge to build opens___.ttf
- use system ucpp as preprocessor
- use system python3-lxml in the build process
- use system poppler and libxml2
- remove outdated libtommath from distfiles
- use vsed everywhere (and remove outdated stuff)
- be explicit about bundling fonts
- use make_build_target instead of make_build_args (more semantically correct)
- patch so build can run in CI
2021-05-12 00:03:03 -03:00

20 lines
818 B
Diff

vcl: fix build with vlc backend enabled
avmedia/source/vlc/vlcplayer.cxx tries to access the aWindow member
directly, which leads to a compilation failure, since it's private.
diff --git include/vcl/sysdata.hxx include/vcl/sysdata.hxx
index 63b7c810de3d..0cd0e037c823 100644
--- include/vcl/sysdata.hxx
+++ include/vcl/sysdata.hxx
@@ -73,9 +73,8 @@ struct VCL_DLLPUBLIC SystemEnvData
// however, the GTK3 vclplug wants to store pointers in here!
sal_IntPtr aShellWindow; // the window of the frame's shell
Platform platform; // the windowing system in use
-private:
- sal_uIntPtr aWindow; // the window of the object
public:
+ sal_uIntPtr aWindow; // the window of the object
void SetWindowHandle(sal_uIntPtr nWindow)
{