mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
- Update to 1.7
PR: ports/73967 Submitted by: Dima Panov <redfox@Fluffy.Khv.RU>
This commit is contained in:
parent
888deba684
commit
b101c12f7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121724
6 changed files with 28 additions and 65 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= nas
|
PORTNAME= nas
|
||||||
PORTVERSION= 1.6
|
PORTVERSION= 1.7
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= http://nas.codebrilliance.com/nas/
|
MASTER_SITES= http://nas.codebrilliance.com/nas/
|
||||||
EXTRACT_SUFX= .src.tar.gz
|
EXTRACT_SUFX= .src.tar.gz
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
MD5 (nas-1.6.src.tar.gz) = 08b54fbf3af8c2ffab39f6f84f2ab337
|
SHA1 (nas-1.7.src.tar.gz) = a41adef84d0bf4c8e02b14d77bec0d284e7c9317
|
||||||
SIZE (nas-1.6.src.tar.gz) = 1099385
|
RMD160 (nas-1.7.src.tar.gz) = 227ddc4f5f9d264c97066dc461bad138776d1dfd
|
||||||
|
MD5 (nas-1.7.src.tar.gz) = c9918e9c9c95d587a95b455bbabe3b49
|
||||||
|
SIZE (nas-1.7.src.tar.gz) = 1288569
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- server/dda/voxware/auvoxware.c.orig Thu Jul 25 09:42:28 2002
|
--- server/dda/voxware/auvoxware.c.orig Sat Oct 23 08:44:47 2004
|
||||||
+++ server/dda/voxware/auvoxware.c Sat Oct 26 02:54:26 2002
|
+++ server/dda/voxware/auvoxware.c Mon Nov 15 21:13:49 2004
|
||||||
@@ -133,7 +133,7 @@
|
@@ -133,7 +133,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -9,40 +9,19 @@
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -171,16 +171,11 @@
|
@@ -670,7 +670,11 @@
|
||||||
#include <sys/param.h>
|
if(sndStatOut.fd == -1)
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
-#ifdef __FreeBSD__
|
|
||||||
-# include <machine/soundcard.h>
|
|
||||||
-# include <machine/pcaudioio.h>
|
|
||||||
+#ifdef __NetBSD__
|
|
||||||
+# include <sys/ioctl.h>
|
|
||||||
+# include <soundcard.h>
|
|
||||||
#else
|
|
||||||
-# ifdef __NetBSD__
|
|
||||||
-# include <sys/ioctl.h>
|
|
||||||
-# include <soundcard.h>
|
|
||||||
-# else
|
|
||||||
-# include <sys/soundcard.h>
|
|
||||||
-# endif
|
|
||||||
+# include <sys/soundcard.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <audio/audio.h>
|
|
||||||
@@ -659,7 +654,11 @@
|
|
||||||
if(sndStatOut.fd == -1)
|
|
||||||
{
|
{
|
||||||
while ((sndStatOut.fd = open(sndStatOut.device,
|
while ((sndStatOut.fd = open(sndStatOut.device,
|
||||||
+#if defined(__FreeBSD__)
|
+#if defined(__FreeBSD__)
|
||||||
+ sndStatOut.howToOpen|extramode,
|
+ sndStatOut.howToOpen|extramode,
|
||||||
+#else
|
+#else
|
||||||
sndStatOut.howToOpen|O_SYNC|extramode,
|
sndStatOut.howToOpen|O_SYNC|extramode,
|
||||||
+#endif
|
+#endif
|
||||||
0666)) == -1 && wait)
|
0666)) == -1 && wait)
|
||||||
{
|
{
|
||||||
osLogMsg("openDevice: waiting on output device\n");
|
osLogMsg("openDevice: waiting on output device\n");
|
||||||
@@ -1310,6 +1309,11 @@
|
@@ -1330,6 +1334,11 @@
|
||||||
/*
|
/*
|
||||||
* Setup soundcard at maximum audio quality.
|
* Setup soundcard at maximum audio quality.
|
||||||
*/
|
*/
|
||||||
|
@ -54,7 +33,7 @@
|
||||||
static void setupSoundcard(sndStatPtr)
|
static void setupSoundcard(sndStatPtr)
|
||||||
SndStat* sndStatPtr;
|
SndStat* sndStatPtr;
|
||||||
{
|
{
|
||||||
@@ -1472,7 +1476,11 @@
|
@@ -1571,7 +1580,11 @@
|
||||||
sndStatOut.device, sndStatOut.howToOpen);
|
sndStatOut.device, sndStatOut.howToOpen);
|
||||||
|
|
||||||
if ((fd = open(sndStatOut.device,
|
if ((fd = open(sndStatOut.device,
|
||||||
|
@ -65,4 +44,4 @@
|
||||||
+#endif
|
+#endif
|
||||||
{
|
{
|
||||||
UNIDENTMSG;
|
UNIDENTMSG;
|
||||||
return AuFalse;
|
osLogMsg("Output open(%s) failed: %s\n",
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- clients/audio/auedit/Graph.c.orig Mon Oct 25 02:24:08 1999
|
|
||||||
+++ clients/audio/auedit/Graph.c Sat Mar 25 14:56:23 2000
|
|
||||||
@@ -28,7 +28,7 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef WIN32
|
|
||||||
-# ifdef __NetBSD__
|
|
||||||
+# if defined(__NetBSD__) || defined(__FreeBSD__)
|
|
||||||
# include <limits.h>
|
|
||||||
# define MAXSHORT SHRT_MAX
|
|
||||||
# define MINSHORT SHRT_MIN
|
|
|
@ -1,19 +1,11 @@
|
||||||
--- lib/audio/Imakefile.orig Sat Jan 1 18:28:13 2000
|
--- lib/audio/Imakefile.orig Sun Sep 12 06:23:33 2004
|
||||||
+++ lib/audio/Imakefile Sat Mar 25 14:56:19 2000
|
+++ lib/audio/Imakefile Mon Nov 15 21:42:49 2004
|
||||||
@@ -64,10 +64,15 @@
|
@@ -60,7 +60,7 @@
|
||||||
COMPAT_OBJS = AuGetBest.o
|
|
||||||
#endif /* ProjectX < 5 */
|
|
||||||
|
|
||||||
+#if HasBSD44Sockets
|
XCOMM JET - hmmm.
|
||||||
+ SOCK_DEFINES = -DBSD44SOCKETS
|
#if (defined(FreeBSDArchitecture) || defined(BSDArchitecture)) && defined(HasBSD44Sockets)
|
||||||
+#endif
|
- EXTRA_DEFINES = -DBSD44SOCKETS
|
||||||
+
|
+ EXTRA_DEFINES = -DBSD44SOCKETS
|
||||||
+
|
#endif
|
||||||
EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\"
|
|
||||||
|
|
||||||
DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES)
|
XCOMM JET - see if we should avoid streams
|
||||||
- CONN_DEFINES = ConnectionFlags
|
|
||||||
+ CONN_DEFINES = ConnectionFlags $(SOCK_DEFINES)
|
|
||||||
|
|
||||||
HEADERS = Alibint.h Alibnet.h Xtutil.h audiolib.h audioutil.h snd.h wave.h \
|
|
||||||
voc.h aiff.h sound.h soundlib.h fileutil.h 8svx.h Astreams.h \
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ include/audio/audiolib.h
|
||||||
include/audio/audioutil.h
|
include/audio/audioutil.h
|
||||||
include/audio/fileutil.h
|
include/audio/fileutil.h
|
||||||
include/audio/mutex.h
|
include/audio/mutex.h
|
||||||
|
include/audio/release.h
|
||||||
include/audio/snd.h
|
include/audio/snd.h
|
||||||
include/audio/sound.h
|
include/audio/sound.h
|
||||||
include/audio/soundlib.h
|
include/audio/soundlib.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue