Arch Linux User Repository Home Packages Forums Wiki GitLab Security AUR Download AUR : ympd.git AUR Package Repositories | click here to return to the package base details page summarylogtreecommitdiffstats path: root/fix-compile.patch blob: aaa5399068f905fc97fba9bafabf7af44ec55912 (plain) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 diff --git a/CMakeLists.txt b/CMakeLists.txt index cce24fe..4acfc8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.15) project (ympd) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/") diff --git a/src/mpd_client.c b/src/mpd_client.c index 7271984..1f086e4 100644 --- a/src/mpd_client.c +++ b/src/mpd_client.c @@ -29,6 +29,7 @@ /* forward declaration */ static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev); +struct t_mpd mpd; const char * mpd_cmd_strs[] = { MPD_CMDS(GEN_STR) diff --git a/src/mpd_client.h b/src/mpd_client.h index dd78af9..386a31d 100644 --- a/src/mpd_client.h +++ b/src/mpd_client.h @@ -92,7 +92,9 @@ struct t_mpd { int song_id; unsigned queue_version; -} mpd; +}; + +extern struct t_mpd mpd; struct t_mpd_client_session { int song_id; Copyright © 2004-2026 aurweb Development Team – AUR packages are user produced content. Any use of the provided files is at your own risk.