1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

audio/giada: Fix build on 16; Broken on 14

This commit is contained in:
Yuri Victorovich
2026-05-21 11:11:55 -07:00
parent fa92e44dc2
commit 129c606330
2 changed files with 25 additions and 0 deletions
+5
View File
@@ -1,5 +1,6 @@
PORTNAME= giada
DISTVERSION= 1.4.1
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@@ -7,12 +8,15 @@ COMMENT= Hardcore loop machine
WWW= https://www.giadamusic.com/ \
https://github.com/monocasual/giada
BROKEN_FreeBSD_14= fails to find clang-scan-deps
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libatk-1.0.so:accessibility/at-spi2-core \
libcurl.so:ftp/curl \
libdbus-1.so:devel/dbus \
libfmt.so:devel/libfmt \
libfontconfig.so:x11-fonts/fontconfig \
@@ -25,6 +29,7 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile \
libwayland-client.so:graphics/wayland \
libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \
libxkbcommon.so:x11/libxkbcommon
USES= cmake compiler:c++17-lang gettext-runtime gl gnome jpeg localbase pkgconfig xorg
@@ -0,0 +1,20 @@
-- add missing include stdio.h for printf
--- src/deps/mcl-audio-buffer/src/audioBuffer.hpp.orig 2026-05-21 16:24:10 UTC
+++ src/deps/mcl-audio-buffer/src/audioBuffer.hpp
@@ -34,6 +34,8 @@
#include <memory>
#include <utility>
+#include <stdio.h>
+
namespace mcl
{
/* AudioBuffer
@@ -482,4 +484,4 @@ class AudioBuffer (private)
};
} // namespace mcl
-#endif
\ No newline at end of file
+#endif