diff --git a/audio/ft2-clone/Makefile b/audio/ft2-clone/Makefile index 78b55b200736..0a60345d2ee6 100644 --- a/audio/ft2-clone/Makefile +++ b/audio/ft2-clone/Makefile @@ -1,57 +1,57 @@ PORTNAME= ft2-clone DISTVERSIONPREFIX= v -DISTVERSION= 1.98 +DISTVERSION= 1.99 CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= Fasttracker II clone WWW= https://github.com/8bitbubsy/ft2-clone LICENSE= BSD3CLAUSE CC-BY-NC-SA-4.0 LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt USES= cmake compiler dos2unix iconv:wchar_t localbase:ldflags sdl USE_GITHUB= yes GH_ACCOUNT= 8bitbubsy USE_SDL= sdl2 CFLAGS_i386+= -msse2 LDFLAGS+= -lSDL2 -lpthread -lstdc++ -lm -liconv DESKTOP_ENTRIES= "FastTracker II Clone" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/ft2-clone.ico" \ "ft2-clone" \ "" \ false PLIST_FILES= bin/ft2-clone \ share/pixmaps/ft2-clone.ico OPTIONS_DEFINE= ALSA PULSEAUDIO OPTIONS_DEFAULT= ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CFLAGS+= -D__LINUX_ALSA__ ALSA_LDFLAGS+= -lasound PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_LDFLAGS+= -lpulse .include # clang reports: # error: invalid argument '-std=c99' not allowed with 'C++' .if ${CHOSEN_COMPILER_TYPE} == gcc USE_CSTD= c99 .endif post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/audio/ft2-clone/distinfo b/audio/ft2-clone/distinfo index cdadccd9b0aa..50b66e88e428 100644 --- a/audio/ft2-clone/distinfo +++ b/audio/ft2-clone/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1757397054 -SHA256 (8bitbubsy-ft2-clone-v1.98_GH0.tar.gz) = 6078f209e2b9f4b27f15b0495627bf24e704d84dcb139374083cdfa250b8bb65 -SIZE (8bitbubsy-ft2-clone-v1.98_GH0.tar.gz) = 5205311 +TIMESTAMP = 1758175067 +SHA256 (8bitbubsy-ft2-clone-v1.99_GH0.tar.gz) = 63f1ffa375e557aebeceefb20a7080f0eef961a581dca1f751afc7801214305c +SIZE (8bitbubsy-ft2-clone-v1.99_GH0.tar.gz) = 5204948 diff --git a/audio/ft2-clone/files/patch-src_ft2__unicode.c b/audio/ft2-clone/files/patch-src_ft2__unicode.c deleted file mode 100644 index 94d1f1823e84..000000000000 --- a/audio/ft2-clone/files/patch-src_ft2__unicode.c +++ /dev/null @@ -1,38 +0,0 @@ ---- src/ft2_unicode.c.orig 2025-09-09 06:08:58 UTC -+++ src/ft2_unicode.c -@@ -4,20 +4,21 @@ - #endif - - // for detecting if musl or glibc is used --#if !defined _WIN32 && !defined __APPLE__ -- #ifndef _GNU_SOURCE -- #define _GNU_SOURCE -- #include -- #ifndef __USE_GNU -- #define __MUSL__ -- #endif -- #undef _GNU_SOURCE /* don't contaminate other includes unnecessarily */ -- #else -- #include -- #ifndef __USE_GNU -- #define __MUSL__ -- #endif -- #endif -+#if defined(__linux__) -+ /* Only Linux has glibc's . On BSDs (including FreeBSD) and others, -+ skip this block to avoid a missing-header error. */ -+ #ifdef __has_include -+ #if __has_include() -+ #include -+ #endif -+ #else -+ /* If the compiler doesn't support __has_include, assume features.h exists on glibc. */ -+ #include -+ #endif -+ /* If didn't define glibc's GNU extensions, assume musl. */ -+ #ifndef __USE_GNU -+ #define __MUSL__ -+ #endif - #endif - - #include