Skip to content
Snippets Groups Projects
Verified Commit 733c6258 authored by alice's avatar alice
Browse files

community/mpdscribble: fix build with gcc12

parent 3a544741
No related branches found
No related tags found
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
......@@ -11,7 +11,9 @@ license="GPL-2.0-or-later"
makedepends="meson libmpdclient-dev curl-dev libgcrypt-dev boost-dev"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://www.musicpd.org/download/mpdscribble/$pkgver/mpdscribble-$pkgver.tar.xz
mpdscribble.initd"
gcc12.patch
mpdscribble.initd
"
build() {
abuild-meson \
......@@ -29,5 +31,6 @@ package() {
sha512sums="
cca57f54f69ec1c870805cc58057e6325b6f5897370c315dcd6a64c5dd28ac07fdbddaa8b56f8c1fd88e71d27505f1a87decd68fbdff1f3fe1eaadec8ae80dae mpdscribble-0.24.tar.xz
466326c17b00b988f805e2a5c9156ce0dca974c5abad235cbf93477a87a571e05e2359cae8b6d0db438c5923e3b7ca605ea9ff0e261c27265b68e830dda8c606 gcc12.patch
b82d3e5678aba145a5c8d172ebf74960d164e3e934426cc755948d795743bb07158f502705d40c1730a40b6a6d73e84c5792419adaf6ab83ec7c33756f0abb43 mpdscribble.initd
"
diff --git a/src/Log.cxx b/src/Log.cxx
index 8684df4..87efad1 100644
--- a/src/Log.cxx
+++ b/src/Log.cxx
@@ -24,6 +24,7 @@
#include "config.h"
#include <cassert>
+#include <ctime>
#include <stdarg.h>
#include <stdio.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment