git: 1d7138d4c4a5 - main - audio/funktrackergold: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Thu, 31 Oct 2024 21:52:14 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d7138d4c4a54ccb70c92fea75bcec0155644a90

commit 1d7138d4c4a54ccb70c92fea75bcec0155644a90
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-10-31 21:52:08 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-10-31 21:52:08 +0000

    audio/funktrackergold: Remove expired port
    
    2024-10-30 audio/funktrackergold: Software looks abandoned: last release is in 1999 and WWW link had nothing to do with the software. Does not build with GCC 14.2
---
 MOVED                                              |  1 +
 audio/Makefile                                     |  1 -
 audio/funktrackergold/Makefile                     | 38 -----------
 audio/funktrackergold/distinfo                     |  2 -
 audio/funktrackergold/files/patch-Makefile         | 76 ----------------------
 audio/funktrackergold/files/patch-dsp_mixxer.c     | 50 --------------
 audio/funktrackergold/files/patch-funkgold__misc.c | 26 --------
 audio/funktrackergold/files/patch-headers          | 53 ---------------
 audio/funktrackergold/pkg-descr                    |  3 -
 9 files changed, 1 insertion(+), 249 deletions(-)

diff --git a/MOVED b/MOVED
index 21d3afc7f9bf..b241dc4416be 100644
--- a/MOVED
+++ b/MOVED
@@ -3559,3 +3559,4 @@ x11-wm/sway-devel|x11-wm/sway|2024-10-27|Out of date: use x11-wm/sway for now
 math/lean|math/lean4|2024-10-30|lean has been superseded by lean4, new generation
 security/palisade|security/openfhe|2024-10-30|palisade has been superseded by openfhe, new generation
 emulators/wine8||2024-10-31|Has expired: The transition to Wine 9.0 should be mostly done now
+audio/funktrackergold||2024-10-31|Has expired: Software looks abandoned: last release is in 1999 and WWW link had nothing to do with the software. Does not build with GCC 14.2
diff --git a/audio/Makefile b/audio/Makefile
index 559636815e68..1a02ea1b1a35 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -199,7 +199,6 @@
     SUBDIR += freepats
     SUBDIR += ft2-clone
     SUBDIR += ft2play
-    SUBDIR += funktrackergold
     SUBDIR += furnace
     SUBDIR += ganv
     SUBDIR += gbsplay
diff --git a/audio/funktrackergold/Makefile b/audio/funktrackergold/Makefile
deleted file mode 100644
index df2ce5dad850..000000000000
--- a/audio/funktrackergold/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-PORTNAME=	funktrackergold
-DISTVERSION=	1.5-2
-PORTREVISION=	9
-CATEGORIES=	audio
-MASTER_SITES=	SUNSITE/apps/sound/players
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Curses MOD/FNK music tracker
-
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-DEPRECATED=	Software looks abandoned: last release is in 1999 and WWW link had nothing to do with the software. Does not build with GCC 14.2
-EXPIRATION_DATE=2024-10-30
-
-BROKEN_armv6=		fails to compile: function definition is not allowed here
-BROKEN_armv7=		fails to compile: function definition is not allowed here
-
-USES=		compiler:nestedfct ncurses tar:tgz
-
-WRKSRC=		${WRKDIR}/funkgold
-MAKE_ARGS=	EXTRA_LDFLAGS="-lpthread"
-
-PORTDOCS=	INSTALL
-PLIST_FILES=	bin/funkgold
-
-OPTIONS_DEFINE=	DOCS
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/funkgold ${STAGEDIR}${PREFIX}/bin
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for docs in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/audio/funktrackergold/distinfo b/audio/funktrackergold/distinfo
deleted file mode 100644
index 9b0e1d044fce..000000000000
--- a/audio/funktrackergold/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (funktrackergold-1.5-2.tgz) = 7b0a3755d7cc26db369af95a2afd8495d2b3824afc2ce664ad7d2d2d9286ee8c
-SIZE (funktrackergold-1.5-2.tgz) = 256540
diff --git a/audio/funktrackergold/files/patch-Makefile b/audio/funktrackergold/files/patch-Makefile
deleted file mode 100644
index 1ae782c5ae8e..000000000000
--- a/audio/funktrackergold/files/patch-Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
---- Makefile.orig	Mon Jun 22 20:24:17 1998
-+++ Makefile	Sun Apr  1 20:44:19 2001
-@@ -5,53 +5,10 @@
- # FunktrackerGOLD now comes under the GNU General Public License. Please
- # read the COPYING notice in this distribution.
- ############################################################################
--CC	= gcc
--OPTIONS = -Wall -O2 -pipe -fomit-frame-pointer
--LIB	= -lpthread -lncurses -lm
-+LDFLAGS+=$(EXTRA_LDFLAGS) -lncurses -lm
-+CFLAGS+=$(EXTRA_CFLAGS)
- 
--ifeq ($(OSTYPE),Linux)
--  OPTIONS += -DLinux
--else
--  ifeq ($(OSTYPE),FreeBSD)
--    OPTIONS += -DFreeBSD
--    LIB += -ltermcap #-lmytinfo
--  else
--    OPTIONS += -DLinux
--  endif
--endif
--
--HOST_SAFE = 0
--
--ifeq ($(HOSTTYPE),i386)
--  HOST_SAFE = 1
--endif
--
--ifeq ($(HOSTTYPE),i486)
--  HOST_SAFE = 1
--endif
--
--ifeq ($(HOSTTYPE),i586)
--  HOST_SAFE = 1
--endif
--
--ifeq ($(HOSTTYPE),i686)
--  HOST_SAFE = 1
--endif
--
--###############################
--all:
--	@if [ $(HOST_SAFE) = '1' ]; then \
--	  make funkgold; \
--	else \
--	  echo "***********************************************"; \
--	  echo "This is not an INTEL based machine. As the Funktracker"; \
--	  echo "format is in Intel byte sex (and i haven't yet made"; \
--	  echo "provisions for other processors), trying to play"; \
--	  echo "funktracker songs on this machine will be dangerous."; \
--	  echo ""; \
--	  echo "Refer to INSTALL file."; \
--	  echo "***********************************************"; \
--	fi
-+all: funkgold
- 
- ###############################
- OBJ_FT		= dsp_mixxer.o funktracker.o funkload.o funkgold_misc.o \
-@@ -59,7 +16,7 @@
- 		funkgold_trac.o funkgold.o
- 
- funkgold: $(OBJ_FT)
--	$(CC) $(OPTIONS) -o funkgold $(OBJ_FT) $(LIB)
-+	$(CC) -o funkgold $(OBJ_FT) $(LDFLAGS)
- 	strip funkgold
- 
- ###############################
-@@ -69,7 +26,3 @@
- release:
- 	make
- 	rm -f *.o
--
--###############################
--%.o: %.c %.h
--	$(CC) $(OPTIONS) -c $< -o $@
diff --git a/audio/funktrackergold/files/patch-dsp_mixxer.c b/audio/funktrackergold/files/patch-dsp_mixxer.c
deleted file mode 100644
index 34d646bb433f..000000000000
--- a/audio/funktrackergold/files/patch-dsp_mixxer.c
+++ /dev/null
@@ -1,50 +0,0 @@
---- dsp_mixxer.c.orig	Mon Jun 22 12:39:39 1998
-+++ dsp_mixxer.c	Sat Jul 14 21:55:28 2007
-@@ -15,15 +15,11 @@
- ***************************************************************************/
- #include <stdio.h>
- #include <math.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include <unistd.h>
- #include <fcntl.h>
- #include <sys/ioctl.h>
--#ifdef Linux
-- #include <sys/soundcard.h>
--#elif FreeBSD
-- #include <machine/soundcard.h>
--#endif
-+#include <sys/soundcard.h>
- #include "funktracker_defs.h"
- #include "funktracker.h"
- #include "funkload.h"
-@@ -301,12 +297,12 @@
- 
-   for(sample_no = 0;sample_no < mix_buffer_size;sample_no++)
-   {
--    if(chmix[chan_no].funkctrl & 0x2)
-+    if(chmix[chan_no].funkctrl & 0x2) {
- #pragma pack(1)
-       sam = *((sDB *)chmix[chan_no].sample_addr +
-             (unsigned long)chmix[chan_no].sample_ptr);
- #pragma pack()
--    else
-+    } else
-       sam = 0;
- 
- #ifdef DIGITAL_ECHOING
-@@ -363,12 +359,12 @@
-   shift_t = 8 + shift_table[funk_info.no_active_channels];
-   for(sample_no = 0;sample_no < mix_buffer_size;sample_no++)
-   {
--    if(chmix[chan_no].funkctrl & 0x2)
-+    if(chmix[chan_no].funkctrl & 0x2) {
- #pragma pack(1)
-       sam = *((sDW *)chmix[chan_no].sample_addr +
-             (unsigned long)chmix[chan_no].sample_ptr);
- #pragma pack()
--    else
-+    } else
-       sam = 0;
- #ifdef DIGITAL_ECHOING
-     sam_reverb = *(chmix[chan_no].echo_buffer +
diff --git a/audio/funktrackergold/files/patch-funkgold__misc.c b/audio/funktrackergold/files/patch-funkgold__misc.c
deleted file mode 100644
index 3557cd198a77..000000000000
--- a/audio/funktrackergold/files/patch-funkgold__misc.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- funkgold_misc.c.orig	Thu Apr 14 17:48:48 2005
-+++ funkgold_misc.c	Thu Apr 14 17:49:42 2005
-@@ -30,22 +30,7 @@
- 
- void get_environment(void)
- {
--  char *os_type = getenv("OSTYPE");
--  register int x;
--  char *os_tt[] = {
--    "Linux",
--    "FreeBSD"
--  };
--
--  for(x = 0;x < SO_TT_SIZE;x++)
--    if(strcmp(os_tt[x],os_type) == 0)
--      break;
--  switch(x)
--  {
--    case 0:  funk_info.funk_cpu_type = FKCPU_LINUX; break;
--    case 1:  funk_info.funk_cpu_type = FKCPU_FREEBSD; break;
--    default: funk_info.funk_cpu_type = FKCPU_UNKNOWN; break;
--  }
-+  funk_info.funk_cpu_type = FKCPU_FREEBSD;
- }
- 
- /***************************************************************************
diff --git a/audio/funktrackergold/files/patch-headers b/audio/funktrackergold/files/patch-headers
deleted file mode 100644
index cecf6a20165b..000000000000
--- a/audio/funktrackergold/files/patch-headers
+++ /dev/null
@@ -1,53 +0,0 @@
---- ../funkgold-orig/funkgold.c	Sun Jun 21 22:10:54 1998
-+++ funkgold.c	Sun Apr  1 17:53:18 2001
-@@ -23,7 +23,7 @@
- ***************************************************************************/
- #include <curses.h>
- #include <unistd.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <signal.h>
- #include <sys/time.h>
---- ../funkgold-orig/funkgold_dir.c	Wed Dec  2 22:01:23 1998
-+++ funkgold_dir.c	Sun Apr  1 18:05:59 2001
-@@ -18,7 +18,6 @@
- #include <unistd.h>
- #include <dirent.h>
- #include <sys/stat.h>
--#include <malloc.h>
- #include <string.h>
- #include <stdlib.h>
- #include "funktracker_defs.h"
---- ../funkgold-orig/funkgold_misc.c	Sun Jun 21 15:56:46 1998
-+++ funkgold_misc.c	Sun Apr  1 17:53:30 2001
-@@ -17,7 +17,6 @@
- #include <stdlib.h>
- #include <string.h>
- #include <sys/time.h>
--#include <malloc.h>
- #include "funktracker_defs.h"
- #include "dsp_mixxer.h"
- #include "funktracker.h"
---- ../funkgold-orig/funkgold_sm.c	Sun Jun 21 15:57:07 1998
-+++ funkgold_sm.c	Sun Apr  1 17:53:44 2001
-@@ -16,7 +16,7 @@
- ***************************************************************************/
- #include <curses.h>
- #include <unistd.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include "funktracker_defs.h"
- #include "dsp_mixxer.h"
- #include "funktracker.h"
---- ../funkgold-orig/funkload.c	Sun Jun 21 15:57:21 1998
-+++ funkload.c	Sun Apr  1 17:53:51 2001
-@@ -15,7 +15,7 @@
- ***************************************************************************/
- #include <stdio.h>
- #include <string.h>
--#include <malloc.h>
-+#include <stdlib.h>
- #include "funktracker_defs.h"
- #include "dsp_mixxer.h"
- #include "funktracker.h"
diff --git a/audio/funktrackergold/pkg-descr b/audio/funktrackergold/pkg-descr
deleted file mode 100644
index dd4dd5a34fa9..000000000000
--- a/audio/funktrackergold/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-FunktrackerGOLD is a curses based tracker for the MOD and FNK file
-formats. Information on using Funktracker can be found in
-share/doc/funktrackergold/README