From nobody Thu Mar 10 11:57:44 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 43C7B1A01ACA; Thu, 10 Mar 2022 11:57:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KDncn0BHFz4yy3; Thu, 10 Mar 2022 11:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646913465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7QnOQ4zi3LncNbnSzAyYVFB+5vJPFqQnFErBKDZL18A=; b=o+Cu+Xf607icmlmOpJMpILP3O0gVdwDkkt31VwD/C+tuSyP/JY8HMEVA0xpE6q4+FKpAza pWR+9kNY8l/6l++dxvpRUC71AJiYuSgkfLRBRzA3DXoSvPFbJzNKKFSH9wX2LhAlLB/wBS 2vHIP16oYndndj4k2j4fGsvlM0Y6SRdBwgU/lTmyZ2/TFDQFyrQBZPEG9FNSqd9+PN7hUp sMgb8LS7cXnekd+rWskkkTkeT5C9k78AK6Jjbz2bU5sLDDb7qhFQVtEghjhoWU444upVDV MXev9lGqrQXZo/aFwGbdoXZDQzGd4hKnDFa1R4Arv6Ge/cQYmC7X9L5VeWiPZA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9F9AB24826; Thu, 10 Mar 2022 11:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22ABviSE072040; Thu, 10 Mar 2022 11:57:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22ABviR8072039; Thu, 10 Mar 2022 11:57:44 GMT (envelope-from git) Date: Thu, 10 Mar 2022 11:57:44 GMT Message-Id: <202203101157.22ABviR8072039@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 4f0caa055dd6 - main - =?utf-8?Q?audio/wavplay: update 1.4 =E2=86=92 2.0?= List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f0caa055dd690fb6103769ec0c88f27c8a0771e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646913465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7QnOQ4zi3LncNbnSzAyYVFB+5vJPFqQnFErBKDZL18A=; b=GYHbDBROu1uyQBM9D5/MakBvdHIaOgxX6aO+5Chx6D2iYICWE/HI0IViKZ0nkQNJ9kwiEx 13RpLSKfni8wfsLU4hgX6/9UVM+P3/3jPpAHQRQcIe1V2T/hEINOlG+2Wl9nHq8Ndj+JCU UC+kRweVv3BkJ0fg5uJcnMJRUN+FPykTCJlofcMw+cOOM7+a8yuhWmYqJKfskA3qMcBkEg miJNR8lhg4EJ5fonuk3+SqQcnIwZbDJQT7b6LruodcuLVYr1zvrHC0kQsnRfvxM0/nLN7t neLw5hTN3R3F5IFVXq3AiItftND7woOgSROlZPZ8d60NkVBhxSbD7cufKPHJdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646913465; a=rsa-sha256; cv=none; b=A6uq9a94caMD4eIJ2dS8Au4WYwU+rlvMPd46P/PbKsUDmeZVEXs7UY0ZQW3pZf6+i9u50I G0WVxQEY+l1IE4UPRyi3gh/Xht+AHy63f5yv4WmJarM7+MXtO0GGKyvfGaP1KXkJJ35yCz 2/TbDJ1LhK/t1rB8/K14CGpF+bl+s3OSI7gFHdVLsALnXolrj66mgziQ3ZviAI5yK5Ze7T dlZmQZSSXmZr5XUNoxhe+1UuCqO2T0MxNm16N/rN7OHEarW7wqRAwdBBN8AyVhpfmVrhic OCrDkKD4ogBVZ/XK1FVZxJ0tDVN9mfangNcO9StY2PzjdRZBCNXTp/71kjw9Vw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f0caa055dd690fb6103769ec0c88f27c8a0771e commit 4f0caa055dd690fb6103769ec0c88f27c8a0771e Author: Dmitry Marakasov AuthorDate: 2022-03-09 18:56:42 +0000 Commit: Dmitry Marakasov CommitDate: 2022-03-10 11:22:56 +0000 audio/wavplay: update 1.4 → 2.0 --- audio/wavplay/Makefile | 18 ++-- audio/wavplay/distinfo | 5 +- audio/wavplay/files/patch-Makefile | 148 ------------------------------ audio/wavplay/files/patch-client.c | 24 ----- audio/wavplay/files/patch-file.c | 24 ----- audio/wavplay/files/patch-main.c | 45 --------- audio/wavplay/files/patch-msg.c | 24 ----- audio/wavplay/files/patch-recplay.c | 30 ------ audio/wavplay/files/patch-server.c | 24 ----- audio/wavplay/files/patch-src_Makefile.am | 10 ++ audio/wavplay/files/patch-wavplay.h | 11 --- audio/wavplay/files/patch-xltwavplay.c | 12 --- audio/wavplay/pkg-descr | 2 + audio/wavplay/pkg-plist | 5 + 14 files changed, 31 insertions(+), 351 deletions(-) diff --git a/audio/wavplay/Makefile b/audio/wavplay/Makefile index a0adc47cb5bd..df9697675073 100644 --- a/audio/wavplay/Makefile +++ b/audio/wavplay/Makefile @@ -1,10 +1,9 @@ # Created by: greg PORTNAME= wavplay -PORTVERSION= 1.4 -PORTREVISION= 4 +PORTVERSION= 2.0 CATEGORIES= audio -MASTER_SITES= SUNSITE/apps/sound/players/ +MASTER_SITES= SF/${PORTNAME}/Release%20Downloads/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Wav player and recorder @@ -15,13 +14,18 @@ LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 ONLY_FOR_ARCHS_REASON= does not play sound correctly -CFLAGS+= -D_WANT_SEMUN +USES= autoreconf libtool:build +GNU_CONFIGURE= yes -INSTALL_TARGET= install PREFIX="${STAGEDIR}${PREFIX}" +OPTIONS_DEFINE= X11 +OPTIONS_SUB= yes -PLIST_FILES= bin/wavplay bin/wavrec man/man1/${PORTNAME}.1.gz +X11_CONFIGURE_OFF= --enable-nox +X11_USES= localbase:ldflags xorg +X11_USE= XORG=x11,xmu,xt +X11_LIB_DEPENDS= libXm.so:x11-toolkits/lesstif post-patch: - @${REINPLACE_CMD} -e 's|u_long|u_int|g' ${WRKSRC}/*.c ${WRKSRC}/*.h + @${REINPLACE_CMD} -e 's|machine/soundcard|sys/soundcard|g' ${WRKSRC}/src/*.c .include diff --git a/audio/wavplay/distinfo b/audio/wavplay/distinfo index 818d7e4a56ae..d90282e10d09 100644 --- a/audio/wavplay/distinfo +++ b/audio/wavplay/distinfo @@ -1,2 +1,3 @@ -SHA256 (wavplay-1.4.tar.gz) = 8e77d48b301fe3224006afff79a249142eeafa756e95dfbc08b1c0c873d0821f -SIZE (wavplay-1.4.tar.gz) = 63549 +TIMESTAMP = 1646847643 +SHA256 (wavplay-2.0.tar.gz) = 256ea0b581d587b482e0c928869e3896845a5299b8e124c01749b4b9edfeb552 +SIZE (wavplay-2.0.tar.gz) = 368945 diff --git a/audio/wavplay/files/patch-Makefile b/audio/wavplay/files/patch-Makefile deleted file mode 100644 index a89de13cd8f7..000000000000 --- a/audio/wavplay/files/patch-Makefile +++ /dev/null @@ -1,148 +0,0 @@ ---- Makefile.orig 1999-12-04 00:06:42 UTC -+++ Makefile -@@ -38,7 +38,7 @@ - #---------------------------------------------------------------------- - # If you are running a 386 you should comment this line out. - # --CPU=-m486 -+#CPU=-m486 - - #---------------------------------------------------------------------- - # If you are experiencing troubles (like core dumps!), then uncomment -@@ -47,7 +47,7 @@ CPU=-m486 - # adjust the STRIP option to suit compile mode: - # - #DEBUG=-g --OPT=-O2 -+#OPT=-O2 - - #---------------------------------------------------------------------- - # When using 'DEBUG=-g' above, then comment out the 'strip' line: -@@ -59,7 +59,9 @@ STRIP=strip - # This parameter indicates where the program binaries should be - # placed (wavplay, wavrec, and xltwavplay) - # --INSTDIR=/usr/local/bin -+PREFIX?=/usr/local -+INSTDIR=$(PREFIX)/bin -+MANDIR=$(PREFIX)/man/man1 - - #---------------------------------------------------------------------- - # Uncomment this line if you want to install the xltwavplay.res resource -@@ -81,14 +83,14 @@ RESDIR=/usr/X11R6/lib/X11/app-defaults - # to disable the EDITRES facility. If you're not compiling xltwavplay - # then this setting can be left asis. - # --#NOEDITRES=-DNO_EDITRES -+NOEDITRES=-DNO_EDITRES - - #---------------------------------------------------------------------- - # If you COMMENTED OUT the NOEDITRES line, then UNCOMMENT this line. - # If you UNCOMMENTED the NOEDITRES line, then COMMENT out this line. - # (ie. do the opposite of NOEDITRES) - # --LIBXMU=-lXmu -+#LIBXMU=-lXmu - - #---------------------------------------------------------------------- - # These are the non X load options (for wavplay/wavrec) -@@ -106,7 +108,13 @@ XLDOPTS=-L/usr/X11R6/lib/ -L/usr/local/l - # only the standard getopt() routine. When commented out, the long options like --help - # are recognized, with the help of the getopt_long() routine. - # --#STDGETOPTS= -DUSE_GETOPT_STD -+STDGETOPTS= -DUSE_GETOPT_STD -+ -+#---------------------------------------------------------------------- -+# -+# Uncomment this when compiling on FreeBSD. -+ -+EXTRAOPTS=-DFREEBSD -D__GNU_LIBRARY__ - - #---------------------------------------------------------------------- - # The next option specifies the pathname that the xltwavplay X client should exec -@@ -133,7 +141,7 @@ PLAYPATH= -DWAVPLAYPATH=\"$(INSTDIR)/wav - # Environment variable DSPPATH will override this value at runtime, if - # present. - # --#DSPPATH= -DAUDIODEV=\"/dev/dsp\" -+DSPPATH= -DAUDIODEV=\"/dev/audio\" - - #---------------------------------------------------------------------- - # Semaphore IPC Key for the Play & Record locks (Default is 0x33333333) -@@ -163,19 +171,19 @@ INSTALL=install - # this should be unecessary if the appropriate symlinks are - # installed). - # --#CUSTINCL= -I/usr/X11R6/include/X11 -I/usr/local/lesstif/include/Xm -+#CUSTINCL= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include/Xm -I/${LOCALBASE}/include - - #---------------------------------------------------------------------- - # Normally, you shouldn't need to change anything beyond this point: - #---------------------------------------------------------------------- - .SUFFIXES: .c .cc .h .o - --CUSTMOPTS=$(STDGETOPTS) $(PLAYPATH) $(DSPMIN) $(DSPMAX) $(DSPPATH) $(DSPLOCKS) $(USERES) $(NOEDITRES) $(SCHED_PRIORITY) -+CUSTMOPTS=$(STDGETOPTS) $(EXTRAOPTS) $(PLAYPATH) $(DSPMIN) $(DSPMAX) $(DSPPATH) $(DSPLOCKS) $(USERES) $(NOEDITRES) $(SCHED_PRIORITY) - ELF= # -fPIC - INCL= -I. $(CUSTINCL) --CCFLAGS= -c $(DEBUG)$(OPT) $(CPU) $(ELF) -fhandle-exceptions $(CUSTMOPTS) -Wall -Wstrict-prototypes --CFLAGS= -c $(DEBUG)$(OPT) $(CPU) $(ELF) -Wall -Wstrict-prototypes $(CUSTMOPTS) --CC= gcc -+CCFLAGS+= -c $(DEBUG)$(OPT) $(CPU) $(ELF) -fhandle-exceptions $(CUSTMOPTS) -Wall -Wstrict-prototypes -+CFLAGS+= -c $(DEBUG)$(OPT) $(CPU) $(ELF) -Wall -Wstrict-prototypes $(CUSTMOPTS) -+CC?= gcc - CP= g++ - - HDRFIL= client.h server.h wavfile.h wavplay.h xltwavplay.h xmsprint.h -@@ -189,9 +197,9 @@ WVDMPO= wavdump.o - .c.o: - $(CC) $(CFLAGS) $(INCL) $< - --all: wavplay wavrec xltwavplay -+all: wavplay wavrec - --no_x: wavplay wavrec -+with_x: wavplay wavrec xltwavplay - - # wavdump: $(WVDMPO) - # $(CP) $(WVDMPO) $(LDOPTS) $(DEBUG) -o wavdump -lRIFF -@@ -209,18 +217,21 @@ xltwavplay: $(CLNOBJ) xltwavplay.o - $(STRIP) xltwavplay - ls -l xltwavplay - --install: install_wavplay install_xltwavplay -+install: install_wavplay install_man - --install_no_x: install_wavplay -+install_with_x: install_wavplay install_xltwavplay install_man - - install_wavplay: wavplay wavrec -- @[ ! -d "$(INSTDIR)" ] && echo "You do not have a directory $(INSTDIR); Check INSTDIR in make file." && exit 13 || : -- $(INSTALL) -o root -g root -m 555 wavplay $(INSTDIR) -+ mkdir -p $(INSTDIR) -+ ${BSD_INSTALL_PROGRAM} wavplay $(INSTDIR) - rm -f $(INSTDIR)/wavrec - ln $(INSTDIR)/wavplay $(INSTDIR)/wavrec -- @[ ! -z "$(SCHED_PRIORITY)" ] && echo "*** DO 'make setuid_root' IF YOU WANT REAL TIME SCHEDULING ***" || : - @echo - -+install_man: wavplay.1 -+ mkdir -p $(MANDIR) -+ ${BSD_INSTALL_MAN} wavplay.1 $(MANDIR) -+ - xltwavplay_test: wavplay xltwavplay - WAVPLAYPATH=./wavplay ./xltwavplay - -@@ -234,9 +245,9 @@ setuid_root: - @echo - - install_xltwavplay: xltwavplay -- $(INSTALL) -o root -g root -m 555 xltwavplay $(INSTDIR) -+ ${BSD_INSTALL_PROGRAM} xltwavplay $(INSTDIR) - @[ ! -z "$(USERES)" ] \ -- && $(INSTALL) -o root -g root -m 555 xltwavplay.res $(RESDIR)/xltwavplay \ -+ && ${BSD_INSTALL_DATA} xltwavplay.res $(RESDIR)/xltwavplay \ - && ls -dlL $(RESDIR)/xltwavplay/xltwavplay.res \ - || rm -f $(RESDIR)/xltwavplay - diff --git a/audio/wavplay/files/patch-client.c b/audio/wavplay/files/patch-client.c deleted file mode 100644 index 2307cc352fc9..000000000000 --- a/audio/wavplay/files/patch-client.c +++ /dev/null @@ -1,24 +0,0 @@ ---- client.c.orig 1999-12-04 00:06:42 UTC -+++ client.c -@@ -47,7 +47,9 @@ static const char rcsid[] = "@(#)client. - #include - #include - #include -+#ifndef FREEBSD - #include -+#endif - #include - #include - #include -@@ -57,7 +59,11 @@ static const char rcsid[] = "@(#)client. - #include - #include - #include -+#ifndef FREEBSD - #include -+#else -+#include -+#endif - #include "wavplay.h" - #include "client.h" - diff --git a/audio/wavplay/files/patch-file.c b/audio/wavplay/files/patch-file.c deleted file mode 100644 index d2b7a29f13cc..000000000000 --- a/audio/wavplay/files/patch-file.c +++ /dev/null @@ -1,24 +0,0 @@ ---- file.c.orig 1999-12-04 00:06:42 UTC -+++ file.c -@@ -56,7 +56,9 @@ static const char rcsid[] = "@(#)file.c - #include - #include - #include -+#ifndef FREEBSD - #include -+#endif - #include - #include - #include -@@ -64,7 +66,11 @@ static const char rcsid[] = "@(#)file.c - #include - #include - #include -+#ifndef FREEBSD - #include -+#else -+#include -+#endif - #include "wavplay.h" - - extern int clntIPC; /* Needed for message passing in PlayDSP */ diff --git a/audio/wavplay/files/patch-main.c b/audio/wavplay/files/patch-main.c deleted file mode 100644 index 93df7bd55165..000000000000 --- a/audio/wavplay/files/patch-main.c +++ /dev/null @@ -1,45 +0,0 @@ ---- main.c.orig 1999-12-04 00:06:42 UTC -+++ main.c -@@ -56,7 +56,9 @@ static const char rcsid[] = "@(#)main.c - #include - #include - #include -+#ifndef FREEBSD - #include -+#endif - #include - #include - #include -@@ -82,7 +84,11 @@ usage(const char *cmd,OprMode opr_mode) - else printf("Usage:\t%s [options] [files...]\n\n",cmd); - - puts("Options:"); -+#ifndef FREEBSD - printf("\t-%c\tThis info (or use --help)\n",OPF_HELP); -+#else -+ printf("\t-%c\tThis info\n",OPF_HELP); -+#endif - printf("\t-%c\tQuiet mode (no messages)\n",OPF_QUIET); - printf("\t-%c rate\tSampling rate\n",OPF_SAMPRATE); - printf("\t-%c\tDebug mode\n",OPF_DEBUG); -@@ -105,7 +111,11 @@ usage(const char *cmd,OprMode opr_mode) - if ( opr_mode != OprRecord ) - printf("\t-%c\tDisplay info about wav file(s) only\n",OPF_INFO); - -+#ifndef FREEBSD - printf("\n\t-%c\tDisplay version and Copyright info (or use --version)\n\n",OPF_VERSION); -+#else -+ printf("\n\t-%c\tDisplay version and Copyright info\n\n",OPF_VERSION); -+#endif - - puts("\nWAV parameters are normally taken from the input file(s),\n" - "but command line options can override them if required."); -@@ -208,6 +218,8 @@ main(int argc,char **argv) { - int rc; /* Return code */ - int fd; /* Temporary file descriptor */ - double d; /* Temporary double value */ -+ char *cp; /* Used for env var */ -+ uid_t uid; - static char cmdopts[] = { - OPF_INFO, OPF_HELP, OPF_QUIET, OPF_SAMPRATE,':', OPF_STEREO, OPF_MONO, - OPF_TIME,':', OPF_DATABITS,':', OPF_IPCKEY,':', OPF_RESET, diff --git a/audio/wavplay/files/patch-msg.c b/audio/wavplay/files/patch-msg.c deleted file mode 100644 index 6d8af4a35ded..000000000000 --- a/audio/wavplay/files/patch-msg.c +++ /dev/null @@ -1,24 +0,0 @@ ---- msg.c.orig 1999-12-04 00:06:42 UTC -+++ msg.c -@@ -47,7 +47,9 @@ static const char rcsid[] = "@(#)msg.c $ - #include - #include - #include -+#ifndef FREEBSD - #include -+#endif - #include - #include - #include -@@ -56,7 +58,11 @@ static const char rcsid[] = "@(#)msg.c $ - #include - #include - #include -+#ifndef FREEBSD - #include -+#else -+#include -+#endif - #include "wavplay.h" - - /* diff --git a/audio/wavplay/files/patch-recplay.c b/audio/wavplay/files/patch-recplay.c deleted file mode 100644 index 76c981ad01e8..000000000000 --- a/audio/wavplay/files/patch-recplay.c +++ /dev/null @@ -1,30 +0,0 @@ ---- recplay.c.orig 1999-12-04 00:06:42 UTC -+++ recplay.c -@@ -52,12 +52,18 @@ static const char rcsid[] = "@(#)recplay - #include - #include - #include -+#ifndef FREEBSD - #include -+#endif - #include - #include - #include - #include -+#ifndef FREEBSD - #include -+#else -+#include -+#endif - #include "wavplay.h" - #include "server.h" - -@@ -184,7 +190,7 @@ wavrecd(WavPlayOpts *wavopts,char *Pathn - wfile = svr.wfile; /* And the file is already opened */ - } - -- if ( (dfile = OpenDSP(wfile,O_RDWR,v_erf)) == NULL ) -+ if ( (dfile = OpenDSP(wfile,O_RDONLY,v_erf)) == NULL ) - goto errxit; - - if ( RecordDSP(dfile,wfile,samples,svr_work_proc,v_erf) ) diff --git a/audio/wavplay/files/patch-server.c b/audio/wavplay/files/patch-server.c deleted file mode 100644 index 710fffcb8468..000000000000 --- a/audio/wavplay/files/patch-server.c +++ /dev/null @@ -1,24 +0,0 @@ ---- server.c.orig 1999-12-04 00:06:42 UTC -+++ server.c -@@ -65,7 +65,9 @@ static const char rcsid[] = "@(#)server. - #include - #include - #include -+#ifndef FREEBSD - #include -+#endif - #include - #include - #include -@@ -79,7 +81,11 @@ static const char rcsid[] = "@(#)server. - #ifdef SCHED_PRIORITY - #include - #endif -+#ifndef FREEBSD - #include -+#else -+#include -+#endif - #include "wavplay.h" - #include "server.h" - diff --git a/audio/wavplay/files/patch-src_Makefile.am b/audio/wavplay/files/patch-src_Makefile.am new file mode 100644 index 000000000000..ddd3266cee1a --- /dev/null +++ b/audio/wavplay/files/patch-src_Makefile.am @@ -0,0 +1,10 @@ +--- src/Makefile.am.orig 2011-06-03 00:25:27 UTC ++++ src/Makefile.am +@@ -1,7 +1,5 @@ + # src/Makefile.am for z9basic + +-dist_pkgdata_DATA = wavplay.1 +- + man1_MANS = wavplay.1 + + if WAVPLAY_NOX diff --git a/audio/wavplay/files/patch-wavplay.h b/audio/wavplay/files/patch-wavplay.h deleted file mode 100644 index ab4b0cd8f815..000000000000 --- a/audio/wavplay/files/patch-wavplay.h +++ /dev/null @@ -1,11 +0,0 @@ ---- wavplay.h.orig 1999-12-04 00:06:42 UTC -+++ wavplay.h -@@ -500,7 +500,7 @@ extern int LockDSP(int ipc,int playrecx, - extern int UnlockDSP(int ipc,int playrecx,ErrFunc erf); - - extern WAVFILE *WavOpenForRead(const char *Pathname,ErrFunc erf); --extern WAVFILE *WavOpenForWrite(const char *Pathname,OprMode m,UInt32 sample_rate,UInt16 bits,UInt32 samples,ErrFunc erf); -+extern WAVFILE *WavOpenForWrite(const char *Pathname,Chan chmode,UInt32 sample_rate,UInt16 bits,UInt32 samples,ErrFunc erf); - extern void WavReadOverrides(WAVFILE *wfile,WavPlayOpts *wavopts); - extern int WavClose(WAVFILE *wfile,ErrFunc erf); - diff --git a/audio/wavplay/files/patch-xltwavplay.c b/audio/wavplay/files/patch-xltwavplay.c deleted file mode 100644 index 0e87c505e646..000000000000 --- a/audio/wavplay/files/patch-xltwavplay.c +++ /dev/null @@ -1,12 +0,0 @@ ---- xltwavplay.c.orig 1999-12-04 00:06:42 UTC -+++ xltwavplay.c -@@ -59,7 +59,9 @@ - #include - #include - #include -+#ifndef FREEBSD - #include -+#endif - #include - #include - #include diff --git a/audio/wavplay/pkg-descr b/audio/wavplay/pkg-descr index 203a4c66c662..c40142631c0c 100644 --- a/audio/wavplay/pkg-descr +++ b/audio/wavplay/pkg-descr @@ -1,2 +1,4 @@ This is a port of wavplay from Linux. It can record from your sound card and play recorded sound. + +WWW: https://sourceforge.net/projects/wavplay/ diff --git a/audio/wavplay/pkg-plist b/audio/wavplay/pkg-plist new file mode 100644 index 000000000000..3ae09b9fdcfe --- /dev/null +++ b/audio/wavplay/pkg-plist @@ -0,0 +1,5 @@ +bin/wavplay +bin/wavplay-config +bin/wavrec +%%X11%%bin/xltwavplay +man/man1/wavplay.1.gz