kodi: fix build; add patch to include <cassert>
This commit is contained in:
parent
4b6fd55dbc
commit
d6d814b214
2 changed files with 22 additions and 2 deletions
20
srcpkgs/kodi/patches/add-missing-cassert.patch
Normal file
20
srcpkgs/kodi/patches/add-missing-cassert.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- a/xbmc/windowing/GraphicContext.cpp 2019-11-16 12:12:49.000000000 +0100
|
||||
+++ b/xbmc/windowing/GraphicContext.cpp 2020-01-16 21:15:35.293001948 +0100
|
||||
@@ -6,6 +6,7 @@
|
||||
* See LICENSES/README.md for more information.
|
||||
*/
|
||||
|
||||
+#include <cassert>
|
||||
#include "GraphicContext.h"
|
||||
#include "WinSystem.h"
|
||||
#include "Application.h"
|
||||
--- a/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp 2019-11-16 12:12:49.000000000 +0100
|
||||
+++ b/xbmc/profiles/dialogs/GUIDialogProfileSettings.cpp 2020-01-16 21:47:47.500101629 +0100
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "GUIDialogProfileSettings.h"
|
||||
|
||||
+#include <cassert>
|
||||
#include <utility>
|
||||
|
||||
#include "dialogs/GUIDialogFileBrowser.h"
|
|
@ -20,8 +20,8 @@ archs="i686* x86_64* aarch64*
|
|||
ppc64*"
|
||||
|
||||
hostmakedepends="
|
||||
automake libtool pkg-config gperf cmake zip unzip nasm yasm python-devel
|
||||
gettext-devel libltdl-devel curl flatbuffers swig openjdk11"
|
||||
automake libtool pkg-config gperf cmake gettext zip unzip nasm yasm python-devel
|
||||
gettext-devel libltdl-devel curl flatbuffers swig openjdk11 which"
|
||||
makedepends="
|
||||
eudev-libudev-devel pcre-devel expat-devel libpng-devel libjpeg-turbo-devel
|
||||
libXrandr-devel avahi-libs-devel pulseaudio-devel samba-devel tiff-devel
|
||||
|
|
Loading…
Reference in a new issue