ncmpcpp, build fix (#8602)

This commit is contained in:
Schrijvers Luc
2023-05-06 19:38:41 +02:00
committed by GitHub
parent 85deaa33ce
commit 57126e2949
2 changed files with 23 additions and 1 deletions

View File

@@ -7,10 +7,11 @@ NCMPCPP is an ncurses based commandline client for Music Player Daemon."
HOMEPAGE="https://rybczak.net/ncmpcpp/" HOMEPAGE="https://rybczak.net/ncmpcpp/"
COPYRIGHT="2008-2018 The NCMPCPP Project" COPYRIGHT="2008-2018 The NCMPCPP Project"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="5" REVISION="6"
SOURCE_URI="https://github.com/arybczak/ncmpcpp/archive/$portVersion.tar.gz" SOURCE_URI="https://github.com/arybczak/ncmpcpp/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="682fa230029a917f8c8b54131e6c8fb4915aefed2cc5726ca7c3ab4f4fb97bda" CHECKSUM_SHA256="682fa230029a917f8c8b54131e6c8fb4915aefed2cc5726ca7c3ab4f4fb97bda"
SOURCE_DIR="ncmpcpp-$portVersion" SOURCE_DIR="ncmpcpp-$portVersion"
PATCHES="ncmpcpp-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2 ?arm ?ppc" ARCHITECTURES="all !x86_gcc2 ?arm ?ppc"
SECONDARY_ARCHITECTURES="x86" SECONDARY_ARCHITECTURES="x86"

View File

@@ -0,0 +1,21 @@
From 6558005a361b40ebe01fa336c105468bef26bed2 Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Sat, 6 May 2023 19:11:17 +0200
Subject: Fix error: 'runtime_error' is not a member of 'std'
diff --git a/src/mpdpp.h b/src/mpdpp.h
index 75ce6ec..f6c6cbf 100644
--- a/src/mpdpp.h
+++ b/src/mpdpp.h
@@ -25,6 +25,7 @@
#include <exception>
#include <random>
#include <set>
+#include <stdexcept>
#include <vector>
#include <mpd/client.h>
--
2.37.3