summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-09-15 17:02:24 +0000
committerwiz <wiz@pkgsrc.org>2016-09-15 17:02:24 +0000
commit975a1ae1a415bf4aa1409f9a9adbb028a39d4fb4 (patch)
treed110c05ef45c5f50ba7f06494b65a385048ea38b /audio
parenta7f75ed170b6171e8c9c62087a50af60b9751749 (diff)
downloadpkgsrc-975a1ae1a415bf4aa1409f9a9adbb028a39d4fb4.tar.gz
Updated snd to 16.8. 7 years of changes, big picture overview below.
Updated options to match supported ones, removing the guile one. Many more options could be handled: ruby, forth, alsa, oss, jack, pulseaudio, gmp, ladspa but are not right now. The default extension language is now s7 (a scheme), included. Snd 16.8. cmn: Michael Edwards got cmn to work in ECL. s7: object->let changed ->byte-vector to string->byte-vector let-temporarily is now built-in checked: sbcl 1.3.8|9, gtk 3.21.5 Thanks!: Michael Edwards.Snd change log 6-Sep: Snd 16.8. 28-Jul: Snd 16.7. 14-Jun: Snd 16.6. 30-May: snd-lint.scm, symbol takes any number of args. 6-May: Snd 16.5. 29-Mar: --with-webserver configuration (Kjetil Matheussen) 28-Mar: Snd 16.4. 18-Mar: s7webserver directory (Kjetil Matheussen) 20-Feb: Snd 16.3. 11-Jan-16: Snd 16.2. 2015 ---------------------------------------------------------------- 30-Nov: Snd 16.1. 19-Oct: Snd 16.0. 11-Sep: Snd 15.9. 1-Aug: Snd 15.8. 15-Jun: Snd 15.7. 11-May: Snd 15.6. 3-Apr: Snd 15.5. 20-Mar: changed the no-gui repl to use repl.scm in the s7 case. 27-Feb: Snd 15.4. 25-Jan: Snd 15.3. 2015 ---------------------------------------------------------------- 18-Dec: Snd 15.2. 5-Nov: moved all the motif stuff (xm.c, snd-motif.scm etc) to the *motif* environment, OpenGL (gl.c, snd-gl.scm) to *gl*, and gtk (xg.c, snd-gtk.scm etc) to *gtk*. 4-Nov: Snd 15.1. 25-Sep: Snd 15.0. 17-Sep: moved snd-x*.c to snd-motif.c 18-Aug: Snd 14.9. 9-July: Snd 14.8. 31-May: Snd 14.7. 23-Apr: Snd 14.6. 18-Mar: Snd 14.5. 12-Feb: Snd 14.4. 4-Jan: Snd 14.3. 2014 ---------------------------------------------------------------- 22-Nov: Snd 14.2. 15-Oct: Snd 14.1. 11-Oct: removed frame.scm and mixer.scm: frames and mixers are obsolete in the scheme version of Snd. 11-Sep: Snd 14.0. Homogenous vectors, write readably, libc.scm, libgsl.scm. 5-Sep: removed kmenu.scm and oscope.scm. 9-Aug: write.scm, removed pretty-print.scm. 3-Aug: Snd 13.9. 17-Jul: many changes to the configure script, added tools/make-config-pc.rb. 30-Jun: Snd 13.8. 11-Jun: removed the view files dialog from the gtk version, including all the related extension language functions, and view-files-select-hook. 25-May: Snd 13.7. 14-May: glistener.c/h (gtk listener). 22-Apr: Snd 13.6. 12-Mar: Snd 13.5. 4-Feb: Snd 13.4. 2013 ---------------------------------------------------------------- 25-Dec: Snd 13.3. 30-Oct: Snd 13.2. 20-Sep: Snd 13.1. 8-Aug: Snd 13.0. 3-July: removed ptree-channel and max-virtual-ptrees, optimization, run.c. (clm 5.0, sndlib 22.0). 26-Jun: Snd 12.12. 4-Jun: removed the --with-static-* configuration switches. 21-May: Snd 12.11. 11-May: all scheme-side hook code changed. removed print-hook. 1-May: removed mus-audio-describe, ESD audio support, audinfo. 12-Apr: Snd 12.10. 5-Mar: Snd 12.9. Feb: s7: added random-state?, hash-table-iterator?, and morally-equal? clm/cmn/snd/s7: removed snd1.html and snd-contents.html (these were using Javascript for stuff that is now built into html), and translated the rest of the html files to html5. snd: removed the recorder, recorder-dialog, snd-g|xrec.c, changed various menu names and added a view:with-grid menu moved dialog buttons around at random, removed save-macros and named keyboard macros, added context-sensitive tooltips to the gtk version, changed the gtk listener default font to Monospace 11, the "minibuffer" is now a "statusbar". This means it is not editable, so all the key sequences that used to prompt for info are either undefined now, or use a dialog instead. removed minibuffer-history-length, prompt-in-minibuffer, clear-minibuffer, and report-in-minibuffer. Replaced the latter two with status-report. removed sound-specific search-procedures (i.e. there is only one search procedure) removed the bomb function 2-Feb: Snd 12.8. 27-Jan: removed snd10.scm. 2012 ---------------------------------------------------------------- 30-Dec: Snd 12.7. 8-Nov: Snd 12.6. 29-Sep: Snd 12.5. 19-Aug: Snd 12.4. 18-Aug: removed snd9.scm. 14-Jul: removed thread stuff. 11-Jul: Snd 12.3. 30-May: Snd 12.2. 24-Apr: Snd 12.1. 5-Apr: lint.scm. 25-Mar: show-full-range, info-popup-hook. 21-Mar: with-interrupts. 18-Mar: Snd 12.0. 18-Mar: removed time-graph-hook; replaced by combined-data-color. 10-Mar: space=play or pause, tracking-cursor stuff changed. 4-Mar: 'src' button in Save-as dialogs to do automatic sampling rate conversion. 1-Mar: delete-selection-and-smooth, delete-samples-and-smooth. 23-Feb: sync-style variable: sync-none, sync-all, or sync-by-sound (the new default). Options:Controls menu item, and Edit:Unselect show-selection and unselect-all. show-full-duration, initial-beg, initial-dur, ask-about-unsaved-edits. with-toolbar, with-tooltips, remember-sound-state, with-smpte-label. new built-in toolbars, removed toolbar.scm and panic.scm. removed Snd.gtkrc, Snd.ad, and the totally obsolete X resources stuff. The built-in popup menus are now context sensitive, and the files popup.scm and gtk-popup.scm have been removed. with-menu-icons (Gtk only). play-arrow-size 12-Feb: Snd 11.13. 7-Jan: Snd 11.12. 2011 ---------------------------------------------------------------- 29-Nov: Snd 11.11. 5-Nov: add|delete-watchers removed, replaced by effects-hook. 25-Oct: Snd 11.10. 22-Sep: def-clm-struct is now just a synonym for defgenerator. 19-Sep: removed snd7.scm and snd8.scm. 18-Sep: Snd 11.9. 19-Aug: removed the Gdk backend option; cairo is now the only choice. 12-Aug: Snd 11.8. 9-Aug: make-index.scm (replaces index.cl and indexer.scm). 30-Jul: removed *-button-color. 8-July: Snd 11.7. 12-Jun: removed window-property, window-property-changed-hook, send-mozilla. removed snd-gxutils.c. 7-June: Snd 11.6. 27-May: removed snd6.scm. added binary-io.scm. 29-Apr: Snd 11.5. 7-Apr: autoload support via s7's *unbound-variable-hook*. 20-Mar: Snd 11.4. 27-Feb: the run macro's argument no longer has to be a thunk. 11-Feb: Snd 11.3. 9-Feb: removed NLS support (the po directory and so on). 8-Feb: moved sound|channel|mix|mark|edit-property to C. 23-Jan: The rest of the Guile-dependent files have been removed. This includes pd-*, rt-*, and the --with-snd-as-pd-external --with-hobbit, and --with-rt configuration switches. 5-Jan: Snd 11.2. 2010 ---------------------------------------------------------------- 26-Dec: tools/sam.c. 21-Dec: moved focus-follows-mouse to C as with-pointer-focus. removed def-optkey-fun and def-optkey-instrument (use define* and definstrument). 16-Dec: make-current-window-display (draw.scm) moved to C as with-inset-graph. removed Guile support. 14-Dec: peak-env support moved to C, added peak-env-dir, removed peak-env.*, peak-env-info, read-peak-env-info-file, and write-peak-env-info-file. 11-Dec: removed midi.c and Alsa < 1.0 support. 7-Dec: removed SGI support. 4-Dec: portaudio support. 1-Dec: removed --with-modules configuration switch. 30-Nov: Snd 11.1. 23-Nov: colormaps are objects now. integer->colormap, colormap->integer. transforms are also objects. integer->transform, transform->integer. 20-Nov: play is generic now, "old-play" is the previous form. 6-Nov: removed all support for gtkglext. 2-Nov: selection function/object. selection->mix. 28-Oct: pretty-print.scm. 22-Oct: Snd 11.0. 16-Oct: clm.rb and grani.rb (thanks to Mike Scholz). 12-Oct: generic length, srate, channels, frames, file-name, sync, maxamp. 7-Oct: removed run-safety; the run macro only works in s7. 6-Oct: removed *snd-loaded-files* and *snd-remember-paths*. removed tools/sed-href, tools/lines.scm, and tools/check-gtk.scm. 29-Sep: mixes are objects (not ints), integer->mix and mix->integer. all "sample-reader" and "sample_reader" names changed to "sampler". marks are objects (not ints), integer->mark and mark->integer. regions are objects, integer->region, region->integer. several region functions now take the region argument first: insert-region, make-region-sampler, mix-region, region-sample, region->vct, region->frame, make-region-frame-reader. sounds are objects, but integers are still ok, integer->sound and sound->integer. players are objects. removed export-all.scm, snd4.scm, snd5.scm. 17-Sep: Snd 10.9. 10-Sep: removed show-backtrace. default optimization is 6. 9-Aug: Snd 10.8. 6-Jul: Snd 10.7. 2-Jul: default audio in Linux is now ALSA. 28-May: Snd 10.6. 17-Apr: Snd 10.5. 26-Feb: Snd 10.4. 30-Jan: big-gens.scm (scheme-only versions of the built-in generators). 15-Jan: Snd 10.3. 8-Jan: multiprecision math support for all scheme (s7) numeric types and functions via gmp, mpfr, and mpc. In configure, use --with-gmp. 2009 ---------------------------------------------------------------- 29-Dec: jcvoi.scm. 11-Dec: snd10.scm for sum-of-sines and friends. 28-Nov: Snd 10.2. 17-Nov: removed s7-optargs.scm -- define* is now built-in in s7. 11-Nov: removed s7-format.scm -- format is now built-in in s7. 4-Nov: moved snd-run.c to run.c (for sndlib). 29-Oct: osc.scm thanks to Kjetil. 16-Oct: removed Gauche support. 15-Oct: Snd 10.1. 3-Sep: Snd 10.0. 1-Sep: S7 extension language. 14-Jul: Snd 9.11. 7-July: with-threaded-channels. 30-Jun: flatten-partials. 27-Jun: axis-color. 20-Jun: time-graph-hook. 6-June: with-threaded-sound (ws.scm) 2-June: Snd 9.10. 30-May: peak-phases.scm. 20-May: rt-various.[ch], rt-coroutines.scm, rt-stalin.scm, rt-DotEmacs, and many other changes thanks to Kjetil. many const char* changes for g++ 4.3.0. 17-May: normalize-partials is now built-in. 12-May: expandn (clm-ins.scm) thanks to Michael Klingbeil. 10-May: merged green.scm into generators.scm. 5-May: music5 port: music5.f, music5-examples, old-music5.f
Diffstat (limited to 'audio')
-rw-r--r--audio/snd/Makefile13
-rw-r--r--audio/snd/PLIST86
-rw-r--r--audio/snd/distinfo13
-rw-r--r--audio/snd/options.mk23
-rw-r--r--audio/snd/patches/patch-aa30
-rw-r--r--audio/snd/patches/patch-ab26
-rw-r--r--audio/snd/patches/patch-audio.c33
7 files changed, 47 insertions, 177 deletions
diff --git a/audio/snd/Makefile b/audio/snd/Makefile
index 97050990d70..3788cf26982 100644
--- a/audio/snd/Makefile
+++ b/audio/snd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.84 2016/09/15 14:32:40 wiz Exp $
+# $NetBSD: Makefile,v 1.85 2016/09/15 17:02:24 wiz Exp $
-DISTNAME= snd-9.9
-PKGREVISION= 27
+DISTNAME= snd-16.8
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=snd/}
@@ -20,14 +19,6 @@ USE_TOOLS+= gmake msgfmt pkg-config
BUILD_TARGET= snd
MAKE_FILE= makefile
-WRKSRC= ${WRKDIR}/snd-9
-
-INSTALLATION_DIRS= ${PKGLOCALEDIR}/locale/de/LC_MESSAGES
-INSTALL_MAKE_FLAGS+= localedir=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale
-
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/po/de.gmo \
- ${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale/de/LC_MESSAGES/snd.mo
.include "options.mk"
diff --git a/audio/snd/PLIST b/audio/snd/PLIST
index 24434917eaf..beaec333fb6 100644
--- a/audio/snd/PLIST
+++ b/audio/snd/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.6 2009/06/14 17:32:22 joerg Exp $
+@comment $NetBSD: PLIST,v 1.7 2016/09/15 17:02:24 wiz Exp $
bin/snd
man/man1/snd.1
-share/locale/de/LC_MESSAGES/snd.mo
+share/snd/CM_patterns.scm
share/snd/analog-filter.rb
share/snd/analog-filter.scm
share/snd/animals.scm
@@ -10,6 +10,8 @@ share/snd/bess.rb
share/snd/bess.scm
share/snd/bess1.rb
share/snd/bess1.scm
+share/snd/big-gens.scm
+share/snd/binary-io.scm
share/snd/bird.fsm
share/snd/bird.rb
share/snd/bird.scm
@@ -18,8 +20,9 @@ share/snd/clm-ins.fs
share/snd/clm-ins.rb
share/snd/clm-ins.scm
share/snd/clm.fs
+share/snd/clm.rb
share/snd/clm23.scm
-share/snd/debug.scm
+share/snd/cload.scm
share/snd/dlocsig.rb
share/snd/dlocsig.scm
share/snd/draw.fs
@@ -38,40 +41,40 @@ share/snd/env.rb
share/snd/env.scm
share/snd/enved.fs
share/snd/enved.scm
-share/snd/eval-c.scm
-share/snd/event.scm
share/snd/examp.fs
share/snd/examp.rb
share/snd/examp.scm
-share/snd/export-all.scm
+share/snd/expandn.scm
share/snd/extensions.fs
share/snd/extensions.rb
share/snd/extensions.scm
share/snd/fade.scm
share/snd/fft-menu.scm
-share/snd/fix-optargs.scm
share/snd/fmv.scm
-share/snd/frame.scm
share/snd/freeverb.rb
share/snd/freeverb.scm
-share/snd/gauche-format.scm
-share/snd/gauche-optargs.scm
+share/snd/fullmix.scm
+share/snd/funcs.scm
share/snd/generators.scm
+share/snd/grani.rb
share/snd/grani.scm
-share/snd/green.scm
share/snd/gtk-effects-utils.scm
share/snd/gtk-effects.scm
-share/snd/gtk-popup.scm
-share/snd/gui.scm
+share/snd/heart.scm
share/snd/hooks.fs
share/snd/hooks.rb
share/snd/hooks.scm
share/snd/index.rb
share/snd/index.scm
share/snd/jcrev.scm
-share/snd/kmenu.scm
-share/snd/ladspa-help.scm
-share/snd/ladspa.scm
+share/snd/jcvoi.scm
+share/snd/libc.scm
+share/snd/libdl.scm
+share/snd/libgdbm.scm
+share/snd/libgsl.scm
+share/snd/libm.scm
+share/snd/libutf8proc.scm
+share/snd/lint.scm
share/snd/maraca.rb
share/snd/maraca.scm
share/snd/marks-menu.scm
@@ -84,32 +87,19 @@ share/snd/misc.scm
share/snd/mix.fs
share/snd/mix.rb
share/snd/mix.scm
-share/snd/mixer.scm
+share/snd/mockery.scm
share/snd/moog.scm
share/snd/musglyphs.rb
share/snd/musglyphs.scm
share/snd/nb.rb
share/snd/nb.scm
share/snd/new-backgrounds.scm
-share/snd/new-buttons.scm
share/snd/new-effects.scm
share/snd/noise.rb
share/snd/noise.scm
+share/snd/nrev.scm
share/snd/numerics.scm
-share/snd/oo.scm
-share/snd/oscope.scm
-share/snd/panic.scm
-share/snd/pd-add.scm
-share/snd/pd-any.scm
-share/snd/pd-fm.scm
-share/snd/pd-global.scm
-share/snd/pd-inout.scm
-share/snd/pd-local.scm
-share/snd/pd-mozilla.scm
-share/snd/pd-send_receive.scm
-share/snd/pd-stochastic.scm
-share/snd/peak-env.fs
-share/snd/peak-env.scm
+share/snd/peak-phases.scm
share/snd/piano.rb
share/snd/piano.scm
share/snd/play.rb
@@ -118,46 +108,41 @@ share/snd/poly.rb
share/snd/poly.scm
share/snd/popup.fs
share/snd/popup.rb
-share/snd/popup.scm
share/snd/prc95.rb
share/snd/prc95.scm
+share/snd/primes.scm
+share/snd/profile.scm
share/snd/pvoc.rb
share/snd/pvoc.scm
+share/snd/r7rs.scm
+share/snd/repl.scm
share/snd/rgb.fs
share/snd/rgb.rb
share/snd/rgb.scm
-share/snd/rt-clm-ins.scm
-share/snd/rt-compiler.scm
-share/snd/rt-engine.scm
-share/snd/rt-examples.scm
-share/snd/rt-faust.scm
-share/snd/rt-player.scm
-share/snd/rtio.rb
-share/snd/rtio.scm
share/snd/rubber.fs
share/snd/rubber.rb
share/snd/rubber.scm
+share/snd/s7-slib-init.scm
+share/snd/s7test.scm
share/snd/selection.scm
share/snd/singer.rb
share/snd/singer.scm
+share/snd/snd-forth-docs.fs
share/snd/snd-forth-init.fs
share/snd/snd-gl.scm
share/snd/snd-gtk.scm
-share/snd/snd-hobbit.scm
+share/snd/snd-lint.scm
share/snd/snd-motif.scm
share/snd/snd-test.fs
share/snd/snd-test.rb
share/snd/snd-test.scm
share/snd/snd-xm.fs
share/snd/snd-xm.rb
-share/snd/snd4.scm
-share/snd/snd5.scm
-share/snd/snd6.scm
-share/snd/snd7.scm
-share/snd/snd8.scm
-share/snd/snd9.scm
-share/snd/snd_conffile.scm
+share/snd/snd13.scm
+share/snd/snd14.scm
+share/snd/snd15.scm
share/snd/snddiff.scm
+share/snd/sndlib-ws.scm
share/snd/sndwarp.scm
share/snd/special-menu.scm
share/snd/spectr.fs
@@ -167,9 +152,10 @@ share/snd/spokenword.scm
share/snd/stochastic.scm
share/snd/strad.rb
share/snd/strad.scm
-share/snd/toolbar.scm
+share/snd/stuff.scm
share/snd/v.rb
share/snd/v.scm
+share/snd/write.scm
share/snd/ws.rb
share/snd/ws.scm
share/snd/xm-enved.fs
diff --git a/audio/snd/distinfo b/audio/snd/distinfo
index 8f5bb45a428..b97554bb47a 100644
--- a/audio/snd/distinfo
+++ b/audio/snd/distinfo
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.18 2015/11/03 01:12:50 agc Exp $
+$NetBSD: distinfo,v 1.19 2016/09/15 17:02:24 wiz Exp $
-SHA1 (snd-9.9.tar.gz) = 8c00b1d48d66032a9085b8ae652a5d25c8ef14a2
-RMD160 (snd-9.9.tar.gz) = 39561a38d8bba7ead73a16fc7647cb2bd6ef275a
-SHA512 (snd-9.9.tar.gz) = f02cb71805e8518fa013236a5bc1991af257aa90e9e4b95dc4adab7302a4c57c876864a941fde1b754641fc79df57a257670a716747b08d5e5794de02f8b6465
-Size (snd-9.9.tar.gz) = 12349176 bytes
-SHA1 (patch-aa) = 187d033726161b14c341c2dd31f365c26f40bc75
-SHA1 (patch-ab) = c6f2a3c134c2fb2adee67b672f66a092e7962b75
-SHA1 (patch-audio.c) = 88beedda1dbb9a93655d184c73703c2b90104dc4
+SHA1 (snd-16.8.tar.gz) = c39ca568f5ae3b28bb700ab281ec59e64dff2a45
+RMD160 (snd-16.8.tar.gz) = b53496fc0dc161bd4938951e84fd72a756214fd1
+SHA512 (snd-16.8.tar.gz) = a5d1121104d1828deeb9ab762567de7b42ba2b50fe362ccd14672338d8b70c4e57ba7834ee78d18f9ff761a1b3e670614ef734c419711352440ff263e3e9819a
+Size (snd-16.8.tar.gz) = 15018578 bytes
diff --git a/audio/snd/options.mk b/audio/snd/options.mk
index 2be3860ddf6..0217e16313b 100644
--- a/audio/snd/options.mk
+++ b/audio/snd/options.mk
@@ -1,36 +1,21 @@
-# $NetBSD: options.mk,v 1.6 2016/09/15 16:52:36 wiz Exp $
+# $NetBSD: options.mk,v 1.7 2016/09/15 17:02:24 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.snd
-PKG_SUPPORTED_OPTIONS= esound guile
-# fftw2 fftw3 ladspa gamin/fam mpg123 timidity
+PKG_SUPPORTED_OPTIONS=
+# ruby, forth, alsa, oss, jack, pulseaudio, gmp, ladspa
PKG_OPTIONS_REQUIRED_GROUPS= frontend
PKG_OPTIONS_GROUP.frontend= gtk motif
-PKG_SUGGESTED_OPTIONS= gtk guile
+PKG_SUGGESTED_OPTIONS= gtk
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mesound)
-CONFIGURE_ARGS+= --with-esd
-.include "../../audio/esound/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-esd
-.endif
-
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ARGS+= --with-gtk
.include "../../x11/gtk2/buildlink3.mk"
-LDFLAGS.DragonFly= -lX11
.else
CONFIGURE_ARGS+= --without-gtk
.endif
-.if !empty(PKG_OPTIONS:Mguile)
-CONFIGURE_ARGS+= --with-guile
-.include "../../lang/guile/buildlink3.mk"
-.else
-CONFIGURE_ARGS+= --without-guile
-.endif
-
.if !empty(PKG_OPTIONS:Mmotif)
CONFIGURE_ARGS+= --with-motif
.include "../../mk/motif.buildlink3.mk"
diff --git a/audio/snd/patches/patch-aa b/audio/snd/patches/patch-aa
deleted file mode 100644
index 059a9459fed..00000000000
--- a/audio/snd/patches/patch-aa
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2012/01/11 20:21:54 hans Exp $
-
---- configure.orig 2008-04-24 19:29:25.000000000 +0200
-+++ configure
-@@ -20970,6 +20970,16 @@ _ACEOF
- LIBS="$LIBS -lm"
- AUDIO_SYSTEM=Sun
- ;;
-+ *-*-solaris2.11)
-+ cat >>confdefs.h <<\_ACEOF
-+#define MUS_LINUX 1
-+#define HAVE_OSS 1
-+_ACEOF
-+
-+ LIBS="$LIBS -lm -ldl"
-+ AUDIO_SYSTEM=OSS
-+ LDSO_FLAGS="-G"
-+ ;;
- *-*-solaris*)
- cat >>confdefs.h <<\_ACEOF
- #define MUS_SUN 1
-@@ -24530,7 +24540,7 @@ fi
- if test "$ac_snd_have_extension_language" = no ; then
- if test "$ac_snd_have_gui" = no ; then
- if test "$ac_cv_header_dlfcn_h" = yes ; then
-- LDFLAGS="$LDFLAGS -ldl"
-+ LDFLAGS="$LDFLAGS ${DL_LDFLAGS} ${DL_LIBS}"
- fi
- { $as_echo "$as_me:$LINENO: WARNING: Snd needs either an extension language (Guile or Ruby), or a graphics toolkit (Gtk or Motif), or preferably both. All four packages are available free, normally prepackaged and ready-to-use. As currently configured, this version of Snd is useless." >&5
- $as_echo "$as_me: WARNING: Snd needs either an extension language (Guile or Ruby), or a graphics toolkit (Gtk or Motif), or preferably both. All four packages are available free, normally prepackaged and ready-to-use. As currently configured, this version of Snd is useless." >&2;}
diff --git a/audio/snd/patches/patch-ab b/audio/snd/patches/patch-ab
deleted file mode 100644
index 32585526068..00000000000
--- a/audio/snd/patches/patch-ab
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2009/08/18 16:47:18 joerg Exp $
-
---- makefile.in.orig 2009-08-18 18:34:38.000000000 +0200
-+++ makefile.in
-@@ -190,14 +190,14 @@ audinfo: $(SNDLIB_HEADERS)
- $(CC) $(LDFLAGS) $(CFLAGS) headers.o io.o audio.o sound.o audinfo.o -o audinfo $(JACK_LIBS) $(AUDIO_LIB) $(LIBS)
-
- install: snd
-- ${SHELL} ${top_srcdir}/mkinstalldirs ${bindir}
-- ${SHELL} ${top_srcdir}/mkinstalldirs ${mandir}
-- ${SHELL} ${top_srcdir}/mkinstalldirs ${mandir}/man1
-- ${SHELL} ${top_srcdir}/mkinstalldirs ${pkgdatadir}
-+ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
-+ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}
-+ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
-+ ${SHELL} ${top_srcdir}/mkinstalldirs ${DESTDIR}${pkgdatadir}
- (cd po && $(MAKE) install)
-- $(INSTALL) snd ${bindir}/snd
-- $(INSTALL) ${top_srcdir}/snd.1 ${mandir}/man1
-- (cd ${top_srcdir} && for f in ${SND_SCRIPTS}; do ${INSTALL_DATA} ${top_srcdir}/$${f} ${pkgdatadir}/$${f}; done)
-+ $(BSD_INSTALL_PROGRAM) snd ${DESTDIR}${bindir}/snd
-+ $(INSTALL) ${top_srcdir}/snd.1 ${DESTDIR}${mandir}/man1
-+ (cd ${top_srcdir} && for f in ${SND_SCRIPTS}; do ${INSTALL_DATA} ${top_srcdir}/$${f} ${DESTDIR}${pkgdatadir}/$${f}; done)
-
- uninstall:
- rm -f ${bindir}/snd
diff --git a/audio/snd/patches/patch-audio.c b/audio/snd/patches/patch-audio.c
deleted file mode 100644
index 8818d9a206e..00000000000
--- a/audio/snd/patches/patch-audio.c
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-audio.c,v 1.1 2012/01/11 20:21:54 hans Exp $
-
-No midi support on SunOS.
-
---- audio.c.orig 2008-04-09 14:10:30.000000000 +0200
-+++ audio.c 2012-01-02 16:13:15.136170006 +0100
-@@ -2927,8 +2927,10 @@ static void oss_describe_audio_state_1(v
- int fd;
- int status = 0, level, i, recsrc, devmask, recmask, stereodevs, caps;
- int numdevs = 0, rate = 0, channels = 0, blocksize = 0, formats = 0, deffmt = 0, min_rate = 0, max_rate = 0;
-+#ifndef __sun
- struct synth_info sinfo;
- struct midi_info minfo;
-+#endif
- const char *sound_device_names[] = SOUND_DEVICE_LABELS;
- char dsp_name[LABEL_BUFFER_SIZE];
- char version[LABEL_BUFFER_SIZE];
-@@ -2996,6 +2998,7 @@ static void oss_describe_audio_state_1(v
- }
- pprint("\n\n");
-
-+#ifndef __sun
- fd = open(SYNTH_NAME, O_RDWR, 0);
- if (fd == -1) fd = open(SYNTH_NAME, O_RDONLY, 0);
- if (fd == -1)
-@@ -3050,6 +3053,7 @@ static void oss_describe_audio_state_1(v
- }
- if (fd != -1) close(fd);
- pprint("--------------------------------\n");
-+#endif
-
- MIXER_INFO:
- mus_snprintf(dsp_name, LABEL_BUFFER_SIZE, "%s%d", MIXER_NAME, dsp_num);