mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
ncmpcpp, build fix (#8602)
This commit is contained in:
@@ -7,10 +7,11 @@ NCMPCPP is an ncurses based commandline client for Music Player Daemon."
|
||||
HOMEPAGE="https://rybczak.net/ncmpcpp/"
|
||||
COPYRIGHT="2008-2018 The NCMPCPP Project"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="5"
|
||||
REVISION="6"
|
||||
SOURCE_URI="https://github.com/arybczak/ncmpcpp/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="682fa230029a917f8c8b54131e6c8fb4915aefed2cc5726ca7c3ab4f4fb97bda"
|
||||
SOURCE_DIR="ncmpcpp-$portVersion"
|
||||
PATCHES="ncmpcpp-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2 ?arm ?ppc"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
21
media-sound/ncmpcpp/patches/ncmpcpp-0.8.2.patchset
Normal file
21
media-sound/ncmpcpp/patches/ncmpcpp-0.8.2.patchset
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user