summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-09-26 10:26:54 +0000
committerwiz <wiz@pkgsrc.org>2017-09-26 10:26:54 +0000
commitae5685dfc979dd70b9f69468783b7431741f7989 (patch)
treecee945eb76dff1c09675480edc4417fe2da69fe7 /audio
parent7843a1f099ae31d8c53173372461e920c9206eff (diff)
downloadpkgsrc-ae5685dfc979dd70b9f69468783b7431741f7989.tar.gz
*: remove qt3 and the packages using it, including KDE3
Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile5
-rw-r--r--audio/arts/DESCR5
-rw-r--r--audio/arts/Makefile45
-rw-r--r--audio/arts/PLIST135
-rw-r--r--audio/arts/buildlink3.mk36
-rw-r--r--audio/arts/distinfo23
-rw-r--r--audio/arts/files/gslglib.c23
-rw-r--r--audio/arts/files/gslglib.h5
-rw-r--r--audio/arts/options.mk22
-rw-r--r--audio/arts/patches/patch-aa12
-rw-r--r--audio/arts/patches/patch-ab82
-rw-r--r--audio/arts/patches/patch-ac31
-rw-r--r--audio/arts/patches/patch-ad45
-rw-r--r--audio/arts/patches/patch-ae14
-rw-r--r--audio/arts/patches/patch-af14
-rw-r--r--audio/arts/patches/patch-ag22
-rw-r--r--audio/arts/patches/patch-ah176
-rw-r--r--audio/arts/patches/patch-ai13
-rw-r--r--audio/arts/patches/patch-aj12
-rw-r--r--audio/arts/patches/patch-ak12
-rw-r--r--audio/arts/patches/patch-al12
-rw-r--r--audio/arts/patches/patch-am12
-rw-r--r--audio/arts/patches/patch-an14
-rw-r--r--audio/arts/patches/patch-ao15
-rw-r--r--audio/arts/patches/patch-ap12
-rw-r--r--audio/arts/patches/patch-flow_audioiolibaudioio.cc14
-rw-r--r--audio/kmp/DESCR7
-rw-r--r--audio/kmp/Makefile26
-rw-r--r--audio/kmp/PLIST2
-rw-r--r--audio/kmp/distinfo8
-rw-r--r--audio/kmp/patches/patch-aa12
-rw-r--r--audio/kmp/patches/patch-ab13
-rw-r--r--audio/xsidplay/DESCR2
-rw-r--r--audio/xsidplay/Makefile38
-rw-r--r--audio/xsidplay/PLIST2
-rw-r--r--audio/xsidplay/distinfo12
-rw-r--r--audio/xsidplay/patches/patch-aa124
-rw-r--r--audio/xsidplay/patches/patch-ab21
-rw-r--r--audio/xsidplay/patches/patch-ac15
-rw-r--r--audio/xsidplay/patches/patch-src_ConfigFileOld.cpp13
-rw-r--r--audio/xsidplay/patches/patch-src_HistoryFile.cpp13
-rw-r--r--audio/xsidplay/patches/patch-src_Playlist.cpp13
42 files changed, 1 insertions, 1131 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 70dec1cac4c..3a76420c209 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.543 2017/09/12 09:38:59 wiz Exp $
+# $NetBSD: Makefile,v 1.544 2017/09/26 10:26:54 wiz Exp $
#
COMMENT= Audio tools
@@ -32,7 +32,6 @@ SUBDIR+= ampache
SUBDIR+= applerecords
SUBDIR+= ardour
SUBDIR+= ario
-SUBDIR+= arts
SUBDIR+= asunder
SUBDIR+= aubio
SUBDIR+= audacious
@@ -218,7 +217,6 @@ SUBDIR+= jack
SUBDIR+= jack-rack
SUBDIR+= juke
SUBDIR+= kid3
-SUBDIR+= kmp
SUBDIR+= ladspa
SUBDIR+= lame
SUBDIR+= liba52
@@ -506,7 +504,6 @@ SUBDIR+= xmms-sid
SUBDIR+= xmms-wma
SUBDIR+= xmp
SUBDIR+= xmradio
-SUBDIR+= xsidplay
SUBDIR+= xwave
.include "../mk/misc/category.mk"
diff --git a/audio/arts/DESCR b/audio/arts/DESCR
deleted file mode 100644
index bbe8e1016a9..00000000000
--- a/audio/arts/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-The Analog Real-Time Synthesizer, or aRts, is a modular system for synthesizing
-sound and music on a digital computer. Using small building blocks called
-modules, the user can easily build complex audio processing tools. Modules
-typically provide functions such as sound waveform generators, filters, audio
-effects, mixing, and playback of digital audio in different file formats.
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
deleted file mode 100644
index c960cd6bb75..00000000000
--- a/audio/arts/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# $NetBSD: Makefile,v 1.94 2017/08/01 14:58:51 wiz Exp $
-
-DISTNAME= arts-1.5.10
-PKGREVISION= 15
-CATEGORIES= audio
-HOMEPAGE= https://multimedia.kde.org/
-COMMENT= Analog Real-Time Synthesizer
-
-.include "../../meta-pkgs/kde3/Makefile.kde3"
-
-REPLACE_SH+= artsc/artsc-config.in artsc/artsdsp.in
-
-CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -std=c99
-
-USE_TOOLS+= perl pkg-config
-
-# intentionally overrides libc
-PKGSRC_USE_FORTIFY= no
-
-# Ensure we export symbols in the linked shared object.
-LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
-
-.include "../../meta-pkgs/kde3/kde3.mk"
-
-.include "../../audio/libaudiofile/buildlink3.mk"
-.include "../../audio/libmad/buildlink3.mk"
-.include "../../audio/libvorbis/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../multimedia/libogg/buildlink3.mk"
-
-.include "../../mk/oss.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-
-.include "options.mk"
-
-CONFIGURE_ARGS+= --enable-libsuffix=none
-
-.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
-CONFIGURE_ARGS+= --disable-threading
-.endif
-
-post-patch:
- cd ${FILESDIR} && cp gslglib.* ${WRKSRC}/flow/gsl/
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/audio/arts/PLIST b/audio/arts/PLIST
deleted file mode 100644
index 17647b62f53..00000000000
--- a/audio/arts/PLIST
+++ /dev/null
@@ -1,135 +0,0 @@
-@comment $NetBSD: PLIST,v 1.10 2009/06/14 18:10:28 joerg Exp $
-bin/artsc-config
-bin/artscat
-bin/artsd
-bin/artsdsp
-bin/artsplay
-bin/artsrec
-bin/artsshell
-bin/artswrapper
-bin/mcopidl
-include/arts/anyref.h
-include/arts/arts_export.h
-include/arts/artsflow.h
-include/arts/artsflow.idl
-include/arts/artsversion.h
-include/arts/asyncstream.h
-include/arts/audioio.h
-include/arts/audiosubsys.h
-include/arts/buffer.h
-include/arts/bufferqueue.h
-include/arts/cache.h
-include/arts/cachedwav.h
-include/arts/common.h
-include/arts/connect.h
-include/arts/connection.h
-include/arts/convert.h
-include/arts/core.h
-include/arts/core.idl
-include/arts/cpuinfo.h
-include/arts/datapacket.h
-include/arts/debug.h
-include/arts/delayedreturn.h
-include/arts/dispatcher.h
-include/arts/dynamicrequest.h
-include/arts/dynamicskeleton.h
-include/arts/extensionloader.h
-include/arts/factory.h
-include/arts/fft.h
-include/arts/flowsystem.h
-include/arts/giomanager.h
-include/arts/gsl/gslcommon.h
-include/arts/gsl/gslconfig.h
-include/arts/gsl/gslconvert.h
-include/arts/gsl/gsldatacache.h
-include/arts/gsl/gsldatahandle-mad.h
-include/arts/gsl/gsldatahandle-vorbis.h
-include/arts/gsl/gsldatahandle.h
-include/arts/gsl/gsldatautils.h
-include/arts/gsl/gsldefs.h
-include/arts/gsl/gslengine.h
-include/arts/gsl/gslfft.h
-include/arts/gsl/gslfilter.h
-include/arts/gsl/gslieee754.h
-include/arts/gsl/gslloader.h
-include/arts/gsl/gslmagic.h
-include/arts/gsl/gslmath.h
-include/arts/gsl/gsloscillator.h
-include/arts/gsl/gslosctable.h
-include/arts/gsl/gslsignal.h
-include/arts/gsl/gslwavechunk.h
-include/arts/gsl/gslwaveosc.h
-include/arts/gslschedule.h
-include/arts/idlfilereg.h
-include/arts/ifacerepo_impl.h
-include/arts/iomanager.h
-include/arts/kmedia2.h
-include/arts/kmedia2.idl
-include/arts/mcopconfig.h
-include/arts/mcoputils.h
-include/arts/notification.h
-include/arts/object.h
-include/arts/objectmanager.h
-include/arts/pipebuffer.h
-include/arts/pool.h
-include/arts/qiomanager.h
-include/arts/reference.h
-include/arts/referenceclean.h
-include/arts/resample.h
-include/arts/socketconnection.h
-include/arts/soundserver.h
-include/arts/soundserver.idl
-include/arts/startupmanager.h
-include/arts/stdsynthmodule.h
-include/arts/synthschedule.h
-include/arts/tcpconnection.h
-include/arts/tcpserver.h
-include/arts/thread.h
-include/arts/type.h
-include/arts/unixconnection.h
-include/arts/unixserver.h
-include/arts/weakreference.h
-include/artsc/artsc.h
-include/artsc/artsc_export.h
-lib/libartsc.la
-lib/libartscbackend.la
-lib/libartsdsp.la
-lib/libartsdsp_st.la
-lib/libartsflow.la
-lib/libartsflow_idl.la
-lib/libartsgslplayobject.la
-lib/libartswavplayobject.la
-lib/libgmcop.la
-lib/libkmedia2.la
-lib/libkmedia2_idl.la
-lib/libmcop.la
-lib/libmcop_mt.la
-lib/libqtmcop.la
-lib/libsoundserver_idl.la
-lib/libx11globalcomm.la
-lib/mcop/Arts/DataHandlePlay.mcopclass
-lib/mcop/Arts/FileInputStream.mcopclass
-lib/mcop/Arts/GSLPlayObject.mcopclass
-lib/mcop/Arts/Synth_ADD.mcopclass
-lib/mcop/Arts/Synth_AMAN_PLAY.mcopclass
-lib/mcop/Arts/Synth_AMAN_RECORD.mcopclass
-lib/mcop/Arts/Synth_BUS_DOWNLINK.mcopclass
-lib/mcop/Arts/Synth_BUS_UPLINK.mcopclass
-lib/mcop/Arts/Synth_FREQUENCY.mcopclass
-lib/mcop/Arts/Synth_MUL.mcopclass
-lib/mcop/Arts/Synth_MULTI_ADD.mcopclass
-lib/mcop/Arts/Synth_PLAY.mcopclass
-lib/mcop/Arts/Synth_PLAY_WAV.mcopclass
-lib/mcop/Arts/Synth_RECORD.mcopclass
-lib/mcop/Arts/Synth_WAVE_SIN.mcopclass
-lib/mcop/Arts/WavPlayObject.mcopclass
-lib/mcop/Arts/WaveDataHandle.mcopclass
-lib/mcop/Arts/X11GlobalComm.mcopclass
-lib/mcop/artsflow.mcopclass
-lib/mcop/artsflow.mcoptype
-lib/mcop/kmedia2.mcopclass
-lib/mcop/kmedia2.mcoptype
-lib/mcop/soundserver.mcopclass
-lib/mcop/soundserver.mcoptype
-lib/mcop/x11globalcomm.mcopclass
-lib/mcop/x11globalcomm.mcoptype
diff --git a/audio/arts/buildlink3.mk b/audio/arts/buildlink3.mk
deleted file mode 100644
index a92530cd82a..00000000000
--- a/audio/arts/buildlink3.mk
+++ /dev/null
@@ -1,36 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.27 2013/02/09 22:11:28 ryoon Exp $
-
-BUILDLINK_TREE+= arts
-
-.if !defined(ARTS_BUILDLINK3_MK)
-ARTS_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.arts+= arts>=1.1.4nb1
-BUILDLINK_ABI_DEPENDS.arts+= arts>=1.5.10nb10
-BUILDLINK_PKGSRCDIR.arts?= ../../audio/arts
-
-.include "../../audio/libaudiofile/buildlink3.mk"
-.include "../../audio/libmad/buildlink3.mk"
-.include "../../audio/libvorbis/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../multimedia/libogg/buildlink3.mk"
-
-.include "../../mk/oss.buildlink3.mk"
-
-pkgbase := arts
-.include "../../mk/pkg-build-options.mk"
-
-.if !empty(PKG_BUILD_OPTIONS.arts:Mesound)
-.include "../../audio/esound/buildlink3.mk"
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.arts:Mnas)
-.include "../../audio/nas/buildlink3.mk"
-.endif
-
-.if !empty(PKG_BUILD_OPTIONS.arts:Mjack)
-.include "../../audio/jack/buildlink3.mk"
-.endif
-.endif # ARTS_BUILDLINK3_MK
-
-BUILDLINK_TREE+= -arts
diff --git a/audio/arts/distinfo b/audio/arts/distinfo
deleted file mode 100644
index 2b08dd60fa3..00000000000
--- a/audio/arts/distinfo
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: distinfo,v 1.56 2015/11/03 01:12:25 agc Exp $
-
-SHA1 (arts-1.5.10.tar.bz2) = 2e5507f64a4a4a9ad446cc987dff157e38f98274
-RMD160 (arts-1.5.10.tar.bz2) = 8c237ebd06ac82b88cf7394722fb8da459902ee7
-SHA512 (arts-1.5.10.tar.bz2) = e7c7de8d48bd4d7db5fa8a99c90b6fe7f4b75388a21fc0404cac03f5bfa9dac63162113e3ee61553657bab68db2b276304b49699ee4e7f527cee43ffad2940b6
-Size (arts-1.5.10.tar.bz2) = 973382 bytes
-SHA1 (patch-aa) = ff582ade3d9913440cd20d92b342a5357991f555
-SHA1 (patch-ab) = 504a24a916c0d10b377a618de0766fc87fbeafbf
-SHA1 (patch-ac) = de22843493a184f4aa8c20e011aa2a73ad794728
-SHA1 (patch-ad) = c3d9b718a0da1cb9c4ee31a05f4f415ce4df310f
-SHA1 (patch-ae) = a933c3dcf7dd9162a0f15df462f0d396a04e2ee1
-SHA1 (patch-af) = 9a130ccd7f56656bb55e2c5edf223c38c69be591
-SHA1 (patch-ag) = d85fe00d166f359a9456ab9776caf9cc42c0dcfd
-SHA1 (patch-ah) = fb545153a03202e8f4a5955a01ceeeee69ba12c5
-SHA1 (patch-ai) = aee6c94746a84aae101decc1ca5b2fff43a669c1
-SHA1 (patch-aj) = ad2637ffab24e501d858d4a32b337ffbb940e5b0
-SHA1 (patch-ak) = 7cad5999aaeb8b596e03309abd4c1a3d54cdefa3
-SHA1 (patch-al) = 3352a5c23e475c77d1babbe2bf77be0555e8de78
-SHA1 (patch-am) = 6e0ef065220d2ae93cdae162ae7e77a1f7c5ef54
-SHA1 (patch-an) = 91bf3166be69e0347dcb7f86ff84c4b63a761882
-SHA1 (patch-ao) = 0b860143602d452dbb75a2c6046563cfd253f4ce
-SHA1 (patch-ap) = 6685be9c71d6ee4872efed0b03e9fccd7f0cf290
-SHA1 (patch-flow_audioiolibaudioio.cc) = d1c2e524484fdd4f3158fa72c315110431dcbe4f
diff --git a/audio/arts/files/gslglib.c b/audio/arts/files/gslglib.c
deleted file mode 100644
index 6ea5ed1730a..00000000000
--- a/audio/arts/files/gslglib.c
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "gslglib.h"
-
-#include <stdio.h>
-
-void
-gsl_g_log (const gchar*msg,const char *format, va_list ap)
-{
- if (msg) printf ("\n%s",msg);
- vprintf(format, ap);
- if (msg) printf ("\n");
-}
-
-void
-gsl_g_print_fd (int fd, const char *format, va_list ap)
-{
- g_return_if_fail (fd == 1 || fd == 2);
- if (fd == 1)
- vprintf (format, ap);
- else
- vfprintf (stderr, format, ap);
-}
-
-
diff --git a/audio/arts/files/gslglib.h b/audio/arts/files/gslglib.h
deleted file mode 100644
index 7bfdffff31e..00000000000
--- a/audio/arts/files/gslglib.h
+++ /dev/null
@@ -1,5 +0,0 @@
-#include <glib.h>
-
-void gsl_g_log (const gchar*msg,const char *format, va_list ap);
-void gsl_g_print_fd (int fd, const char *format, va_list ap);
-
diff --git a/audio/arts/options.mk b/audio/arts/options.mk
deleted file mode 100644
index e76ce90d223..00000000000
--- a/audio/arts/options.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2008/02/29 13:31:20 gdt Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.arts
-PKG_SUPPORTED_OPTIONS= esound nas jack
-PKG_SUGGESTED_OPTIONS= esound
-
-.include "../../mk/bsd.options.mk"
-
-# ESOUND support
-.if !empty(PKG_OPTIONS:Mesound)
-.include "../../audio/esound/buildlink3.mk"
-.endif
-
-# NAS support
-.if !empty(PKG_OPTIONS:Mnas)
-.include "../../audio/nas/buildlink3.mk"
-.endif
-
-# JACK support
-.if !empty(PKG_OPTIONS:Mjack)
-.include "../../audio/jack/buildlink3.mk"
-.endif
diff --git a/audio/arts/patches/patch-aa b/audio/arts/patches/patch-aa
deleted file mode 100644
index 8bb73bfe907..00000000000
--- a/audio/arts/patches/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2004/04/04 06:45:00 mrg Exp $
-
---- mcop/debug.cc.orig 2003-10-14 05:59:41.000000000 +1000
-+++ mcop/debug.cc 2004-04-04 16:22:41.000000000 +1000
-@@ -24,6 +24,7 @@
- */
-
- #include "debug.h"
-+#include "config.h"
- #include <stdlib.h>
- #include <stdarg.h>
- #include <stdio.h>
diff --git a/audio/arts/patches/patch-ab b/audio/arts/patches/patch-ab
deleted file mode 100644
index 5f885a8b199..00000000000
--- a/audio/arts/patches/patch-ab
+++ /dev/null
@@ -1,82 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2012/05/15 13:18:43 abs Exp $
-
---- artsc/artsdsp.c.orig 2007-10-08 09:47:09.000000000 +0000
-+++ artsc/artsdsp.c
-@@ -133,6 +133,17 @@ int munmap(void *start, size_t length);
-
- static void artsdsp_doinit()
- {
-+# if defined(__NetBSD__) && !defined(OPEN_SOUND_SYSTEM)
-+# define OPEN_GLOBAL() handle = dlopen(NULL, DL_LAZY)
-+# define CLOSE_GLOBAL() (void)dlclose(handle)
-+# elif defined(RTLD_NEXT)
-+# define OPEN_GLOBAL() handle = RTLD_NEXT;
-+# define CLOSE_GLOBAL() ;
-+# else
-+# define OPEN_GLOBAL() handle = dlopen(NULL, DL_LAZY);
-+# define CLOSE_GLOBAL() dlclose(handle);
-+# endif
-+ void *handle;
- const char *env;
- artsdsp_init = 1;
-
-@@ -145,15 +156,17 @@ static void artsdsp_doinit()
- mmapemu = env && !strcmp(env,"1");
-
- /* resolve original symbols */
-- orig_open = (orig_open_ptr)dlsym(RTLD_NEXT,"open");
-- orig_close = (orig_close_ptr)dlsym(RTLD_NEXT,"close");
-- orig_write = (orig_write_ptr)dlsym(RTLD_NEXT,"write");
-- orig_read = (orig_read_ptr)dlsym(RTLD_NEXT,"read");
-- orig_ioctl = (orig_ioctl_ptr)dlsym(RTLD_NEXT,"ioctl");
-- orig_mmap = (orig_mmap_ptr)dlsym(RTLD_NEXT,"mmap");
-- orig_munmap = (orig_munmap_ptr)dlsym(RTLD_NEXT,"munmap");
-- orig_fopen = (orig_fopen_ptr)dlsym(RTLD_NEXT,"fopen");
-- orig_access = (orig_access_ptr)dlsym(RTLD_NEXT,"access");
-+ OPEN_GLOBAL();
-+ orig_open = (orig_open_ptr)dlsym(handle,"open");
-+ orig_close = (orig_close_ptr)dlsym(handle,"close");
-+ orig_write = (orig_write_ptr)dlsym(handle,"write");
-+ orig_read = (orig_read_ptr)dlsym(handle,"read");
-+ orig_ioctl = (orig_ioctl_ptr)dlsym(handle,"ioctl");
-+ orig_mmap = (orig_mmap_ptr)dlsym(handle,"mmap");
-+ orig_munmap = (orig_munmap_ptr)dlsym(handle,"munmap");
-+ orig_fopen = (orig_fopen_ptr)dlsym(handle,"fopen");
-+ orig_access = (orig_access_ptr)dlsym(handle,"access");
-+ CLOSE_GLOBAL();
- }
-
- static void
-@@ -258,10 +271,24 @@ int open (const char *pathname, int flag
- return sndfd;
- }
-
-+/* NetBSD < 6 and 6.99.0 - 6.99.6 used a different ioctl() definition */
-+#if defined(__NetBSD__)
-+# include <sys/param.h>
-+# if __NetBSD_Version__ < 600000000 || \
-+ (__NetBSD_Version__ > 699000000 && __NetBSD_Version__ < 699000700)
-+# define OLD_NETBSD_IOCTL_CALL
-+# endif
-+#endif
-+
-+#if defined(OLD_NETBSD_IOCTL_CALL) && !defined(OPEN_SOUND_SYSTEM)
-+int _oss_ioctl (int fd, unsigned long request, void *argp)
-+#else
- int ioctl (int fd, ioctl_request_t request, ...)
-+#endif
- {
- int space, size, latency, odelay;
-
-+#if !defined(OLD_NETBSD_IOCTL_CALL) || defined(OPEN_SOUND_SYSTEM)
- /*
- * FreeBSD needs ioctl with varargs. However I have no idea how to "forward"
- * the variable args ioctl to the orig_ioctl routine. So I expect the ioctl
-@@ -273,6 +300,7 @@ int ioctl (int fd, ioctl_request_t reque
- va_start(args,request);
- argp = va_arg(args, void *);
- va_end(args);
-+#endif
-
- CHECK_INIT();
-
diff --git a/audio/arts/patches/patch-ac b/audio/arts/patches/patch-ac
deleted file mode 100644
index 6cb71258b4d..00000000000
--- a/audio/arts/patches/patch-ac
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2003/11/03 12:07:28 mrg Exp $
-
---- flow/cpuinfo.cc.orig 2003-07-14 05:33:37.000000000 +1000
-+++ flow/cpuinfo.cc 2003-11-03 22:51:44.000000000 +1100
-@@ -27,6 +27,10 @@
- #include <setjmp.h>
- #include <signal.h>
-
-+#if defined(__NetBSD__)
-+#include <sys/param.h>
-+#endif
-+
- using namespace Arts;
-
- int CpuInfo::s_flags = 0;
-@@ -204,6 +208,7 @@
- : /* no input */
- : "memory"
- );
-+#if defined(__NetBSD__) && __NetBSD_Version__ >= 105260000
- // SSE must be supported by the OS, if it's not, any SSE insn will
- // trigger an invalid opcode exception, to check for this, a SIGILL
- // handler is installed and a SSE insn run. If the handler is called,
-@@ -226,6 +231,7 @@
- }
- signal(SIGILL, oldHandler);
- }
-+#endif
- #endif /* HAVE_X86_SSE */
- }
-
diff --git a/audio/arts/patches/patch-ad b/audio/arts/patches/patch-ad
deleted file mode 100644
index 3b8f56584c6..00000000000
--- a/audio/arts/patches/patch-ad
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD: patch-ad,v 1.7 2009/01/20 13:26:52 sketch Exp $
-
---- soundserver/Makefile.in.orig Wed Aug 20 17:07:21 2008
-+++ soundserver/Makefile.in Tue Jan 20 13:11:08 2009
-@@ -529,7 +529,7 @@
- libartsgslplayobject.la libartswavplayobject.la libkmedia2.la
-
- AM_LDFLAGS = $(LDFLAGS_AS_NEEDED)
--libsoundserver_idl_la_LIBADD = libkmedia2_idl.la \
-+libsoundserver_idl_la_LIBADD = libkmedia2_idl.la $(top_builddir)/mcop/libmcop.la \
- $(top_builddir)/flow/libartsflow_idl.la
-
- libsoundserver_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
-@@ -537,21 +537,27 @@
- libsoundserver_idl_la_COMPILE_FIRST = soundserver.h
- libkmedia2_idl_la_SOURCES = kmedia2.cc
- libkmedia2_idl_la_COMPILE_FIRST = kmedia2.h
--libkmedia2_idl_la_LIBADD = $(top_builddir)/flow/libartsflow.la
-+libkmedia2_idl_la_LIBADD = $(top_builddir)/flow/libartsflow.la \
-+ $(top_builddir)/mcop/libmcop.la $(top_builddir)/flow/libartsflow_idl.la
- libkmedia2_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
- libkmedia2_la_SOURCES = fileinputstream_impl.cc stdoutwriter_impl.cc
--libkmedia2_la_LIBADD = libkmedia2_idl.la $(FLOWLIBS)
-+libkmedia2_la_LIBADD = libkmedia2_idl.la $(FLOWLIBS) \
-+ $(top_builddir)/mcop/libmcop.la $(top_builddir)/flow/libartsflow_idl.la
- libkmedia2_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
- libkmedia2_la_COMPILE_FIRST = kmedia2.h ../flow/artsflow.h
- libartswavplayobject_la_SOURCES = wavplayobject_impl.cc
- libartswavplayobject_la_LIBADD = $(top_builddir)/mcop/libmcop.la \
-- libsoundserver_idl.la $(FLOWLIBS)
-+ libsoundserver_idl.la $(FLOWLIBS) \
-+ $(top_builddir)/soundserver/libkmedia2_idl.la \
-+ $(top_builddir)/flow/libartsflow_idl.la -lm
-
- libartswavplayobject_la_LDFLAGS = -no-undefined -module $(all_libraries)
- libartswavplayobject_la_COMPILE_FIRST = soundserver.h ../flow/artsflow.h
- libartsgslplayobject_la_SOURCES = gslplayobject_impl.cc
- libartsgslplayobject_la_LIBADD = $(top_builddir)/mcop/libmcop.la \
-- libsoundserver_idl.la $(FLOWLIBS)
-+ libsoundserver_idl.la $(FLOWLIBS) \
-+ $(top_builddir)/soundserver/libkmedia2_idl.la \
-+ $(top_builddir)/flow/libartsflow_idl.la -lm
-
- libartsgslplayobject_la_LDFLAGS = -no-undefined -module $(all_libraries)
- libartsgslplayobject_la_COMPILE_FIRST = soundserver.h ../flow/artsflow.h
diff --git a/audio/arts/patches/patch-ae b/audio/arts/patches/patch-ae
deleted file mode 100644
index 8f0915d7d66..00000000000
--- a/audio/arts/patches/patch-ae
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ae,v 1.5 2009/01/20 13:26:52 sketch Exp $
-
---- artsc/Makefile.in.orig Tue Jan 20 13:04:28 2009
-+++ artsc/Makefile.in Tue Jan 20 13:05:51 2009
-@@ -394,7 +394,8 @@
- libartsc_la_LIBADD = $(top_builddir)/libltdl/libltdlc.la $(LIBPTHREAD)
- libartscbackend_la_SOURCES = artscbackend.cc
- libartscbackend_la_LDFLAGS = -no-undefined -module $(KDE_RPATH) $(all_libraries)
--libartscbackend_la_LIBADD = $(FLOWLIBS) \
-+libartscbackend_la_LIBADD = $(FLOWLIBS) $(top_builddir)/mcop/libmcop.la \
-+ $(top_builddir)/flow/libartsflow_idl.la \
- $(top_builddir)/soundserver/libsoundserver_idl.la
-
- artscincludedir = $(includedir)/artsc
diff --git a/audio/arts/patches/patch-af b/audio/arts/patches/patch-af
deleted file mode 100644
index cba426b41f2..00000000000
--- a/audio/arts/patches/patch-af
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-af,v 1.2 2002/08/25 19:21:45 jlam Exp $
-
---- flow/gsl/gslcommon.c.orig Thu May 30 13:24:35 2002
-+++ flow/gsl/gslcommon.c
-@@ -23,7 +23,9 @@
- #include <fcntl.h>
- #include <sys/utsname.h>
- #include <string.h>
-+#if !defined(__NetBSD__)
- #include <sched.h>
-+#endif
- #include <errno.h>
- #include <sys/poll.h>
- #include <sys/stat.h>
diff --git a/audio/arts/patches/patch-ag b/audio/arts/patches/patch-ag
deleted file mode 100644
index 96626535e53..00000000000
--- a/audio/arts/patches/patch-ag
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ag,v 1.6 2012/04/08 02:02:08 dholland Exp $
-
---- configure.orig 2008-08-20 16:07:23.000000000 +0000
-+++ configure
-@@ -37578,7 +37578,7 @@ if test "${ac_cv_lib_audio_AuOpenServer+
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-laudio $LIBS"
-+LIBS="-laudio -lXt -lm $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -40395,7 +40395,7 @@ fi
- { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
- echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
- if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
-- LIBOSSAUDIO="-lossaudio"
-+ LIBOSSAUDIO="${LIBOSSAUDIO}"
- fi
-
-
diff --git a/audio/arts/patches/patch-ah b/audio/arts/patches/patch-ah
deleted file mode 100644
index 34af7b5d95a..00000000000
--- a/audio/arts/patches/patch-ah
+++ /dev/null
@@ -1,176 +0,0 @@
-$NetBSD: patch-ah,v 1.4 2008/10/28 11:32:07 markd Exp $
-
---- mcop_mt/threads_posix.cc.orig 2005-09-10 20:13:32.000000000 +1200
-+++ mcop_mt/threads_posix.cc
-@@ -27,13 +27,158 @@
- /* only compile this if we have libpthread available */
- #ifdef HAVE_LIBPTHREAD
-
-+#include <signal.h>
- #include <gsl/gslconfig.h>
-
- #include <sys/types.h>
- #include <stddef.h>
- #include <stdarg.h>
- #include <pthread.h>
-+#include <unistd.h>
-+#ifdef _POSIX_SEMAPHORES
- #include <semaphore.h>
-+#else
-+
-+#include <errno.h>
-+#include <limits.h>
-+
-+struct sem_t {
-+ pthread_mutex_t lock;
-+ pthread_cond_t gtzero;
-+ unsigned int count;
-+ unsigned int nwaiters;
-+};
-+
-+static int sem_init(sem_t *, int, unsigned int);
-+static int sem_destroy(sem_t *);
-+static int sem_wait(sem_t *);
-+static int sem_trywait(sem_t *);
-+static int sem_post(sem_t *);
-+static int sem_getvalue(sem_t *, int *);
-+
-+static int
-+sem_init(sem_t *sem, int pshared, unsigned int value)
-+{
-+
-+ /*
-+ * Range check the arguments.
-+ */
-+ if (pshared != 0) {
-+ errno = EPERM;
-+ return -1;
-+ }
-+
-+ if (value > INT_MAX) {
-+ errno = EINVAL;
-+ return -1;
-+ }
-+
-+ /*
-+ * Initialize the semaphore.
-+ */
-+ if (pthread_mutex_init(&sem->lock, NULL) != 0) {
-+ errno = ENOMEM;
-+ return -1;
-+ }
-+
-+ if (pthread_cond_init(&sem->gtzero, NULL) != 0) {
-+ pthread_mutex_destroy(&sem->lock);
-+ errno = ENOMEM;
-+ return -1;
-+ }
-+
-+ sem->count = value;
-+ sem->nwaiters = 0;
-+
-+ return 0;
-+}
-+
-+static int
-+sem_destroy(sem_t *sem)
-+{
-+
-+ /* Make sure there are no waiters. */
-+ pthread_mutex_lock(&sem->lock);
-+ if (sem->nwaiters > 0) {
-+ pthread_mutex_unlock(&sem->lock);
-+ errno = EBUSY;
-+ return -1;
-+ }
-+ pthread_mutex_unlock(&sem->lock);
-+
-+ pthread_mutex_destroy(&sem->lock);
-+ pthread_cond_destroy(&sem->gtzero);
-+
-+ return 0;
-+}
-+
-+static int
-+sem_wait(sem_t *sem)
-+{
-+ pthread_testcancel();
-+
-+ pthread_mutex_lock(&sem->lock);
-+
-+ while (sem->count == 0) {
-+ sem->nwaiters++;
-+ pthread_cond_wait(&sem->gtzero, &sem->lock);
-+ }
-+ sem->count--;
-+
-+ pthread_mutex_unlock(&sem->lock);
-+
-+ pthread_testcancel();
-+ return 0;
-+}
-+
-+static int
-+sem_trywait(sem_t *sem)
-+{
-+ int retval;
-+
-+ pthread_mutex_lock(&sem->lock);
-+
-+ if (sem->count > 0) {
-+ sem->count--;
-+ retval = 0;
-+ } else {
-+ errno = EAGAIN;
-+ retval = -1;
-+ }
-+
-+ pthread_mutex_unlock(&sem->lock);
-+
-+ return retval;
-+}
-+
-+static int
-+sem_post(sem_t *sem)
-+{
-+ pthread_mutex_lock(&sem->lock);
-+
-+ sem->count++;
-+ if (sem->nwaiters > 0) {
-+ pthread_cond_broadcast(&sem->gtzero);
-+ }
-+
-+ pthread_mutex_unlock(&sem->lock);
-+
-+ return 0;
-+}
-+
-+static int
-+sem_getvalue(sem_t *sem, int *sval)
-+{
-+
-+ pthread_mutex_lock(&sem->lock);
-+ *sval = sem->count;
-+ pthread_mutex_unlock(&sem->lock);
-+
-+ return 0;
-+}
-+#endif
-+
-+
- #include <debug.h>
- #include <string.h>
-
-@@ -186,10 +331,12 @@ public:
- Thread_impl(Thread *thread) : thread(thread) {
- }
- void setPriority(int priority) {
-+#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
- struct sched_param sp;
- sp.sched_priority = priority;
- if (pthread_setschedparam(pthread, SCHED_FIFO, &sp))
- arts_debug("Thread::setPriority: sched_setscheduler failed");
-+#endif
- }
- static pthread_key_t privateDataKey;
- static void *threadStartInternal(void *impl)
diff --git a/audio/arts/patches/patch-ai b/audio/arts/patches/patch-ai
deleted file mode 100644
index b39da8eda57..00000000000
--- a/audio/arts/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.8 2007/10/20 10:34:15 markd Exp $
-
---- flow/gsl/Makefile.in.orig 2007-10-09 03:17:56.000000000 +1300
-+++ flow/gsl/Makefile.in
-@@ -100,7 +100,7 @@ LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIB
- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
-- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
-+ --mode=link $(CXXLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- $(LDFLAGS) -o $@
- #>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
- #>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
diff --git a/audio/arts/patches/patch-aj b/audio/arts/patches/patch-aj
deleted file mode 100644
index 72a14b05ace..00000000000
--- a/audio/arts/patches/patch-aj
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aj,v 1.2 2009/07/24 12:12:06 tnn Exp $
-
---- mcop/mcoputils.cc.orig 2008-02-13 10:35:23.000000000 +0100
-+++ mcop/mcoputils.cc
-@@ -26,6 +26,7 @@
- #include <pwd.h>
- #include <sys/stat.h>
- #include <sys/types.h>
-+#include <limits.h> /* for PATH_MAX */
- #include <fcntl.h>
- #include <unistd.h>
- #include <netdb.h>
diff --git a/audio/arts/patches/patch-ak b/audio/arts/patches/patch-ak
deleted file mode 100644
index 8dfb9632dee..00000000000
--- a/audio/arts/patches/patch-ak
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2009/09/19 21:13:22 tnn Exp $
-
---- mcop/tcpconnection.cc.orig 2008-02-13 10:35:23.000000000 +0100
-+++ mcop/tcpconnection.cc
-@@ -35,6 +35,7 @@
- #include <errno.h>
- #include "debug.h"
- #include <stdlib.h>
-+#include <string.h>
-
- using namespace std;
- using namespace Arts;
diff --git a/audio/arts/patches/patch-al b/audio/arts/patches/patch-al
deleted file mode 100644
index 4e48955aa8a..00000000000
--- a/audio/arts/patches/patch-al
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-al,v 1.1 2009/09/19 21:13:22 tnn Exp $
-
---- mcop/unixconnection.cc.orig 2008-02-13 10:35:23.000000000 +0100
-+++ mcop/unixconnection.cc
-@@ -29,6 +29,7 @@
- #include <sys/un.h>
- #include <errno.h>
- #include <stdlib.h>
-+#include <string.h>
-
- using namespace std;
- using namespace Arts;
diff --git a/audio/arts/patches/patch-am b/audio/arts/patches/patch-am
deleted file mode 100644
index e7e92b81c45..00000000000
--- a/audio/arts/patches/patch-am
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-am,v 1.1 2009/09/19 21:13:22 tnn Exp $
-
---- mcop/unixserver.cc.orig 2007-10-08 11:47:08.000000000 +0200
-+++ mcop/unixserver.cc
-@@ -40,6 +40,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <errno.h>
-+#include <string.h>
-
- using namespace std;
- using namespace Arts;
diff --git a/audio/arts/patches/patch-an b/audio/arts/patches/patch-an
deleted file mode 100644
index bc216564764..00000000000
--- a/audio/arts/patches/patch-an
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-an,v 1.1 2011/09/14 15:44:23 hans Exp $
-
---- mcop/iomanager.cc.orig 2007-10-08 11:47:08.000000000 +0200
-+++ mcop/iomanager.cc 2011-07-26 16:34:43.213902758 +0200
-@@ -32,6 +32,9 @@
-
- #ifdef HAVE_SYS_SELECT_H
- #include <sys/select.h> // Needed on some systems.
-+#ifdef __sun
-+#include <string.h> // for memset(), used by FD_ZERO
-+#endif
- #endif
- // WABA: NOTE!
- // sys/select.h is needed on e.g. AIX to define "fd_set".
diff --git a/audio/arts/patches/patch-ao b/audio/arts/patches/patch-ao
deleted file mode 100644
index 5e7eb402587..00000000000
--- a/audio/arts/patches/patch-ao
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ao,v 1.1 2011/09/14 15:44:23 hans Exp $
-
---- soundserver/artsplay.cc.orig 2008-02-13 10:35:22.000000000 +0100
-+++ soundserver/artsplay.cc 2011-07-26 16:43:03.112490880 +0200
-@@ -25,6 +25,10 @@
- #include "soundserver.h"
- #include "artsversion.h"
-
-+#ifdef __sun
-+#include <limits.h>
-+#endif
-+
- #include <sys/param.h>
- #include <stdio.h>
- #include <stdlib.h>
diff --git a/audio/arts/patches/patch-ap b/audio/arts/patches/patch-ap
deleted file mode 100644
index dafe4ae59b9..00000000000
--- a/audio/arts/patches/patch-ap
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2011/09/14 15:44:23 hans Exp $
-
---- flow/audioiosun.cc.orig 2007-10-08 11:47:09.000000000 +0200
-+++ flow/audioiosun.cc 2011-07-26 16:37:19.626654499 +0200
-@@ -63,6 +63,7 @@
- #include <fcntl.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <unistd.h>
- #include <iostream>
- #include <algorithm>
diff --git a/audio/arts/patches/patch-flow_audioiolibaudioio.cc b/audio/arts/patches/patch-flow_audioiolibaudioio.cc
deleted file mode 100644
index 60da4532022..00000000000
--- a/audio/arts/patches/patch-flow_audioiolibaudioio.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-flow_audioiolibaudioio.cc,v 1.1 2012/04/02 12:16:30 markd Exp $
-
-Fix build on OpenIndiana
-
---- flow/audioiolibaudioio.cc.orig 2007-10-08 09:47:09.000000000 +0000
-+++ flow/audioiolibaudioio.cc
-@@ -48,6 +48,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
-+#include <string.h>
- #include <iostream>
- #include <algorithm>
-
diff --git a/audio/kmp/DESCR b/audio/kmp/DESCR
deleted file mode 100644
index e8730fb547c..00000000000
--- a/audio/kmp/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-KMP is an Music Player Daemon client that uses the QT GUI toolkit so
-it will comfortably fit in with your KDE desktop, although only QT is
-required. MPD is a daemon that runs in the background and accepts
-connections from clients which can then tell MPD what to do. KMP aims
-to be a full featured and easy-to-use client. KMP will allow you to
-browse the server's collection, add songs to the playlist, change the
-volume, etc.
diff --git a/audio/kmp/Makefile b/audio/kmp/Makefile
deleted file mode 100644
index 67d248d35cf..00000000000
--- a/audio/kmp/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-# $NetBSD: Makefile,v 1.27 2015/04/25 14:20:21 tnn Exp $
-
-DISTNAME= kmp-0.01
-PKGREVISION= 16
-CATEGORIES= audio
-MASTER_SITES= # http://mercury.chem.pitt.edu/~shank/
-EXTRACT_SUFX= .tar.bz2
-
-MAINTAINER= pkg@burningsoda.com
-#HOMEPAGE= http://www.threadbox.net/index.php/code/kmp/
-COMMENT= Qt client for the Music Player Daemon
-
-USE_LANGUAGES= c c++
-USE_LIBTOOL= yes
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= ${PREFIX}
-
-INSTALLATION_DIRS= bin
-
-.include "../../x11/qt3-libs/buildlink3.mk"
-.include "../../x11/qt3-tools/buildlink3.mk"
-# XXX Please verify whether qt3-tools is really needed at run-time.
-# If it is, then remove this comment. If it is not, then remove
-# this comment and the line below, and bump PKGREVISION.
-BUILDLINK_DEPMETHOD.qt3-tools= full
-.include "../../mk/bsd.pkg.mk"
diff --git a/audio/kmp/PLIST b/audio/kmp/PLIST
deleted file mode 100644
index 93520d5d6d8..00000000000
--- a/audio/kmp/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/02 04:30:09 grant Exp $
-bin/kmp
diff --git a/audio/kmp/distinfo b/audio/kmp/distinfo
deleted file mode 100644
index 2eccd3a3f2b..00000000000
--- a/audio/kmp/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.5 2017/03/23 17:06:46 joerg Exp $
-
-SHA1 (kmp-0.01.tar.bz2) = 7da2b6b71b9c41ca7429479c683cbbfc62d980c1
-RMD160 (kmp-0.01.tar.bz2) = ba880f7483dcb0f4772a7f41cd79ef1309fd5e58
-SHA512 (kmp-0.01.tar.bz2) = fd32982dc97c91f32cfbca845ac418690e1d303d07563ce772a76bdc9bc386ca00cf85475fc6a3b44d05ed634697393e629867a48de29a65747485e255a554cb
-Size (kmp-0.01.tar.bz2) = 486474 bytes
-SHA1 (patch-aa) = f7baab0df2c592d7c74a32e023ffa7ebb78bee57
-SHA1 (patch-ab) = 31f7fab9191384b2f16eb87f854fed63f3244f72
diff --git a/audio/kmp/patches/patch-aa b/audio/kmp/patches/patch-aa
deleted file mode 100644
index 7141a114ae5..00000000000
--- a/audio/kmp/patches/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2009/07/07 15:20:45 joerg Exp $
-
---- configure.orig Thu Jan 1 03:53:34 2004
-+++ configure
-@@ -1,5 +1,5 @@
- #!/bin/sh
--qmake kmp.pro
-+$1/qt3/bin/qmake kmp.pro
- echo "install:
-- install --owner=root --group=root --mode=755 kmp /usr/local/bin" >> Makefile
-+ install kmp \${DESTDIR}$1/bin" >> Makefile
- echo "Configured! Now run 'make'"
diff --git a/audio/kmp/patches/patch-ab b/audio/kmp/patches/patch-ab
deleted file mode 100644
index 54295fca999..00000000000
--- a/audio/kmp/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/01/05 14:24:38 joerg Exp $
-
---- linkedlist.h.orig 2006-01-05 14:01:20.000000000 +0000
-+++ linkedlist.h
-@@ -121,7 +121,7 @@ template <class ItemType>
- int linkedList<ItemType>::add(ItemType Item, int location) {
- node* parent;
- node* nextspot;
-- if(!find(location, root_, parent)) return 0;
-+ if(!find(location, this->root_, parent)) return 0;
- nextspot = parent->next;
- parent->next = new node;
- parent->next->next = nextspot;
diff --git a/audio/xsidplay/DESCR b/audio/xsidplay/DESCR
deleted file mode 100644
index 0fc5ef8f3f1..00000000000
--- a/audio/xsidplay/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-xsidplay is a Commodore 64 music player and SID chip emulator for X11. It
-uses the qt library.
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile
deleted file mode 100644
index 8afd63dcb16..00000000000
--- a/audio/xsidplay/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD: Makefile,v 1.58 2017/01/07 15:59:47 zafer Exp $
-#
-
-DISTNAME= xsidplay-1.6.5.1a
-PKGREVISION= 17
-CATEGORIES= audio x11
-MASTER_SITES= #http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/
-COMMENT= Commodore 64 music player and SID chip emulator for X11
-LICENSE= gnu-gpl-v2
-
-GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
-USE_LIBTOOL= yes
-USE_TOOLS+= gmake
-MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH:Q}
-
-CONFIGURE_ARGS+= --with-qt-dir=${QTDIR:Q}
-CONFIGURE_ENV+= DISABLE_ESD_TEST=yes
-CONFIGURE_ENV+= DISABLE_ARTSD_TEST=yes
-
-INSTALLATION_DIRS= bin
-
-pre-configure:
- rm ${WRKSRC}/scripts/ltmain.sh && ${LN} -s ${PREFIX}/share/libtool/ltmain.sh ${WRKSRC}/scripts/ltmain.sh
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${DESTDIR}${PREFIX}/bin
-
-.include "../../audio/libsidplay/buildlink3.mk"
-.include "../../x11/libSM/buildlink3.mk"
-.include "../../x11/libX11/buildlink3.mk"
-.include "../../x11/libXt/buildlink3.mk"
-.include "../../x11/qt3-libs/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xsidplay/PLIST b/audio/xsidplay/PLIST
deleted file mode 100644
index afdf55d89fd..00000000000
--- a/audio/xsidplay/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:18:41 zuntum Exp $
-bin/xsidplay
diff --git a/audio/xsidplay/distinfo b/audio/xsidplay/distinfo
deleted file mode 100644
index 3cffb1c8351..00000000000
--- a/audio/xsidplay/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.15 2015/11/03 01:12:56 agc Exp $
-
-SHA1 (xsidplay-1.6.5.1a.tgz) = 60f2262a8dd79b276272d49eff9a07277dc6c9aa
-RMD160 (xsidplay-1.6.5.1a.tgz) = 9a0529c7b76e7659feddc35c04aaf81ae2002984
-SHA512 (xsidplay-1.6.5.1a.tgz) = 32faf60a3fd6c8c1ae52845813839620c7bd520afe3d7075efa216aa51182077934173dad81d4a806a517b7ccdd36059690027447bbd90b1069dc8531b98a2a2
-Size (xsidplay-1.6.5.1a.tgz) = 355698 bytes
-SHA1 (patch-aa) = ca8ce2db592937d2f5328aae885d9be0074e156e
-SHA1 (patch-ab) = 7b67abc283fdedb6211fb41829a77dade0deb2df
-SHA1 (patch-ac) = ec7d71b9cc3be97601c842d22887d147933853e3
-SHA1 (patch-src_ConfigFileOld.cpp) = 22577eaf32a2811b605ee8dacb10456e7433a8e9
-SHA1 (patch-src_HistoryFile.cpp) = e9b83cac451d441797684646682553a4151cd65c
-SHA1 (patch-src_Playlist.cpp) = 5e93bf8aa3a925367cef012995d597d821d601f4
diff --git a/audio/xsidplay/patches/patch-aa b/audio/xsidplay/patches/patch-aa
deleted file mode 100644
index 698385fc502..00000000000
--- a/audio/xsidplay/patches/patch-aa
+++ /dev/null
@@ -1,124 +0,0 @@
-$NetBSD: patch-aa,v 1.12 2009/12/09 21:19:59 joerg Exp $
-
---- configure.orig 2003-02-01 21:18:09.000000000 +0100
-+++ configure
-@@ -5541,7 +5541,7 @@ fi
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='libtool'
-
- # Prevent multiple expansion
-
-@@ -6016,7 +6016,7 @@ else
- my_libs_save="$LIBS"
-
-
-- CXX="${SHELL-/bin/sh} ${srcdir}/libtool $CXX"
-+ CXX="libtool --mode=link $CXX"
- CXXFLAGS="$CXXFLAGS $my_sidplay2_cxxflags -DHAVE_UNIX"
- LDFLAGS="$LDFLAGS $my_sidplay2_ldadd"
-
-@@ -6123,7 +6123,7 @@ rm -f conftest*
- my_libs_save="$LIBS"
-
-
-- CXX="${SHELL-/bin/sh} ${srcdir}/libtool $CXX"
-+ CXX="libtool --mode=link $CXX"
- CXXFLAGS="$CXXFLAGS $my_sidplay2_cxxflags -DHAVE_UNIX"
- LDFLAGS="$LDFLAGS $my_sidplay2_ldadd"
-
-@@ -6251,7 +6251,7 @@ echo "configure:6247: checking for reSID
- my_libs_save="$LIBS"
-
-
-- CXX="${SHELL-/bin/sh} ${srcdir}/libtool $CXX"
-+ CXX="libtool --mode=link $CXX"
- CXXFLAGS="$CXXFLAGS $BUILDERS_INCLUDES"
- LDFLAGS="$LDFLAGS $BUILDERS_LDFLAGS"
- LIBS="$LIBS -lresid-builder"
-@@ -6577,6 +6577,7 @@ else
- fi
-
-
-+if test -z "$DISABLE_ARTSD_TEST"; then
- # aRts (KDE Sound Server).
- # Extract the first word of "artsc-config", so it can be a program name with args.
- set dummy artsc-config; ac_word=$2
-@@ -6622,6 +6623,7 @@ EOF
- ARTSC_INCLUDES="`$ARTSC_CONFIG --cflags`"
- ARTSC_LDADD="`$ARTSC_CONFIG --libs`"
- fi
-+fi # DISABLE_ARTSD_TEST
-
-
- if test -n "$ARTSC_CONFIG"; then
-@@ -6634,7 +6636,7 @@ fi
-
-
-
--
-+if test -z "$DISABLE_ESD_TEST"; then
- # Enlightenment Sound Daemon.
- # Extract the first word of "esd-config", so it can be a program name with args.
- set dummy esd-config; ac_word=$2
-@@ -6680,6 +6682,7 @@ EOF
- ESD_INCLUDES="`$ESD_CONFIG --cflags`"
- ESD_LDADD="`$ESD_CONFIG --libs`"
- fi
-+fi # DISABLE_ESD_TEST
-
-
- if test -n "$ESD_CONFIG"; then
-@@ -6705,7 +6708,7 @@ EOF
- $CP src/audio/linux/* src/audio
- echo "$ac_t""linux (OSS)" 1>&6
- ;;
-- *freebsd*) my_have_audio_driver=yes
-+ *freebsd*|*dragonfly*) my_have_audio_driver=yes
- cat >> confdefs.h <<\EOF
- #define HAVE_FREEBSD 1
- EOF
-@@ -6946,9 +6949,10 @@ if test "$ac_x_libraries" = NO; then
- cat > conftest.$ac_ext <<EOF
- #line 6948 "configure"
- #include "confdefs.h"
-+#include <X11/Intrinsic.h>
-
- int main() {
--${x_direct_test_function}()
-+${x_direct_test_function}(0)
- ; return 0; }
- EOF
- if { (eval echo configure:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-@@ -7789,6 +7793,7 @@ fi
- done
-
- my_qt_includes=$qt_incdir
-+my_qt_lib=-lqt
-
- qt_libdir=""
- for i in $qt_libdirs;
-@@ -7797,6 +7802,8 @@ my_qt_includes=$qt_incdir
- do
- if test -r "$i/$j"; then
- qt_libdir=$i
-+ my_qt_lib=-lqt-mt
-+ echo "Using multi-threaded version of Qt lib (libqt-mt)"
- break 2
- fi
- done
-@@ -7883,10 +7890,10 @@ echo "configure:7879: checking for Qt ve
- my_libs_save="$LIBS"
-
-
-- CXX="${SHELL-/bin/sh} ${srcdir}/libtool $CXX"
-+ CXX="libtool --mode=link $CXX"
- CXXFLAGS="$CXXFLAGS $QT_INCLUDES"
- LDFLAGS="$LDFLAGS $QT_LDFLAGS"
-- LIBS="$LIBS -lqt"
-+ LIBS="$LIBS ${my_qt_lib}"
-
- cat > conftest.$ac_ext <<EOF
- #line 7893 "configure"
diff --git a/audio/xsidplay/patches/patch-ab b/audio/xsidplay/patches/patch-ab
deleted file mode 100644
index 958c5a09855..00000000000
--- a/audio/xsidplay/patches/patch-ab
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ab,v 1.10 2011/11/27 11:51:17 marino Exp $
-
---- src/songlendb/File.cpp.orig 2002-03-03 18:00:03.000000000 +0000
-+++ src/songlendb/File.cpp
-@@ -27,6 +27,7 @@
- #ifdef XSID_HAVE_NOTHROW
- #include <new>
- #endif
-+#include <string.h>
- using namespace std;
-
- #include "File.h"
-@@ -126,7 +127,7 @@ bool SongLengthFile::init(const char* fi
- streampos fileLen = myIn.tellg();
- #endif
- #ifdef XSID_HAVE_NOTHROW
-- pDB = new(std::nothrow) char[fileLen+1L];
-+ pDB = new(std::nothrow) char[(size_t)fileLen+1L];
- #else
- pDB = new char[fileLen+1L];
- #endif
diff --git a/audio/xsidplay/patches/patch-ac b/audio/xsidplay/patches/patch-ac
deleted file mode 100644
index 844b2523e28..00000000000
--- a/audio/xsidplay/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.7 2007/09/29 11:47:03 rillig Exp $
-
-Mutual inclusion of header files is one of the funny sides of C++.
-
---- src/HistoryFile.h.orig 2007-09-29 13:43:51.000000000 +0200
-+++ src/HistoryFile.h 2007-09-29 13:43:43.000000000 +0200
-@@ -19,6 +19,8 @@
-
- #include <qstring.h>
-
-+class HistoryFile; /* needed in HistoryDialog.h */
-+
- #include "HistoryItem.h"
- #include "HistoryDialog.h"
- #include "tools/TextFile.h"
diff --git a/audio/xsidplay/patches/patch-src_ConfigFileOld.cpp b/audio/xsidplay/patches/patch-src_ConfigFileOld.cpp
deleted file mode 100644
index 506169963bb..00000000000
--- a/audio/xsidplay/patches/patch-src_ConfigFileOld.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_ConfigFileOld.cpp,v 1.1 2013/04/29 21:14:58 joerg Exp $
-
---- src/ConfigFileOld.cpp.orig 2013-04-29 19:09:27.000000000 +0000
-+++ src/ConfigFileOld.cpp
-@@ -339,7 +339,7 @@ bool ConfigFileOld::save()
- #ifdef XSID_HAVE_IOS_BIN
- ofstream toFile(fileName,ios::out|ios::bin|ios::trunc);
- #else
-- ofstream toFile(fileName,ios::out|ios::binary|ios::trunc);
-+ ofstream toFile(fileName.ascii(),ios::out|ios::binary|ios::trunc);
- #endif
- if ( !toFile.fail() )
- {
diff --git a/audio/xsidplay/patches/patch-src_HistoryFile.cpp b/audio/xsidplay/patches/patch-src_HistoryFile.cpp
deleted file mode 100644
index 6f24594711e..00000000000
--- a/audio/xsidplay/patches/patch-src_HistoryFile.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_HistoryFile.cpp,v 1.1 2013/04/29 21:14:59 joerg Exp $
-
---- src/HistoryFile.cpp.orig 2013-04-29 19:14:06.000000000 +0000
-+++ src/HistoryFile.cpp
-@@ -94,7 +94,7 @@ bool HistoryFile::save(HistoryDialog& di
- #ifdef XSID_HAVE_IOS_BIN
- ofstream toFile(fileName,ios::out|ios::bin|ios::trunc);
- #else
-- ofstream toFile(fileName,ios::out|ios::binary|ios::trunc);
-+ ofstream toFile(fileName.ascii(),ios::out|ios::binary|ios::trunc);
- #endif
- if ( !toFile.fail() )
- {
diff --git a/audio/xsidplay/patches/patch-src_Playlist.cpp b/audio/xsidplay/patches/patch-src_Playlist.cpp
deleted file mode 100644
index 014304ed0bf..00000000000
--- a/audio/xsidplay/patches/patch-src_Playlist.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_Playlist.cpp,v 1.1 2013/04/29 21:14:59 joerg Exp $
-
---- src/Playlist.cpp.orig 2013-04-29 19:14:27.000000000 +0000
-+++ src/Playlist.cpp
-@@ -373,7 +373,7 @@ bool Playlist::save()
- #ifdef XSID_HAVE_IOS_BIN
- ofstream toFile(fileName,ios::out|ios::bin|ios::trunc);
- #else
-- ofstream toFile(fileName,ios::out|ios::binary|ios::trunc);
-+ ofstream toFile(fileName.ascii(),ios::out|ios::binary|ios::trunc);
- #endif
- if ( !toFile.fail() )
- {