1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to 0.2.40.

This commit is contained in:
Joe Marcus Clarke 2008-09-08 02:25:14 +00:00
parent d5bd4d2dc3
commit 0d0680aaab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220206
4 changed files with 13 additions and 29 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= esound
PORTVERSION= 0.2.39
PORTREVISION= 1
PORTVERSION= 0.2.40
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.2

View File

@ -1,3 +1,3 @@
MD5 (gnome/esound-0.2.39.tar.bz2) = d950b9cd0d7b5406cc4bb16bcdcea8f4
SHA256 (gnome/esound-0.2.39.tar.bz2) = 41ce2f8c84f7703d0b62ed1f49d0885ac006563d86f8cacaa0c770180b81c289
SIZE (gnome/esound-0.2.39.tar.bz2) = 423581
MD5 (gnome/esound-0.2.40.tar.bz2) = e9009889ab81269f3021ebcad8addb96
SHA256 (gnome/esound-0.2.40.tar.bz2) = 74b6d9f3dd68ee0b8d95d4d2c78cbd913807cb6c0739d05d8dd75a73fc84d4a7
SIZE (gnome/esound-0.2.40.tar.bz2) = 423798

View File

@ -1,5 +1,5 @@
--- esdlib.c.orig 2008-07-15 11:35:15.000000000 -0400
+++ esdlib.c 2008-07-18 00:33:42.000000000 -0400
--- esdlib.c.orig 2008-07-30 17:08:59.000000000 -0400
+++ esdlib.c 2008-09-07 22:19:48.000000000 -0400
@@ -21,6 +21,8 @@
#include <errno.h>
#include <sys/wait.h>
@ -9,16 +9,7 @@
#include <sys/un.h>
@@ -152,6 +154,8 @@ write_timeout (int fd, const char *buf,
if (n > 0)
nwritten += n;
+ else if (n < 0)
+ break;
} while (nwritten < buflen);
fcntl (fd, F_SETFL, flags);
@@ -889,8 +893,7 @@ int esd_open_sound( const char *host )
@@ -895,8 +897,7 @@ int esd_open_sound( const char *host )
setsid();
cmd = malloc(strlen(SERVERDIR"/esd -spawnfd 999999") + (esd_spawn_options?strlen(esd_spawn_options):0));
@ -28,7 +19,7 @@
execl("/bin/sh", "/bin/sh", "-c", cmd, NULL);
perror("execl");
_exit(1);
@@ -1703,3 +1706,34 @@ int esd_close( int esd )
@@ -1709,3 +1710,34 @@ int esd_close( int esd )
return close( esd );
}

View File

@ -1,21 +1,15 @@
--- audio_oss.c.orig 2008-07-15 12:00:03.000000000 -0400
+++ audio_oss.c 2008-07-17 13:56:25.000000000 -0400
@@ -1,4 +1,5 @@
#include "config.h"
+#include <errno.h>
--- audio_oss.c.orig 2008-07-29 14:07:50.000000000 -0400
+++ audio_oss.c 2008-09-07 22:22:15.000000000 -0400
@@ -12,8 +13,14 @@
#ifdef HAVE_MACHINE_SOUNDCARD_H
# include <machine/soundcard.h>
@@ -10,9 +11,14 @@
# endif
#endif
#include <errno.h>
+#if defined(__sparc__) || defined(__powerpc__)
+#define AFMT_S16_NE AFMT_S16_BE
+#else
+#define AFMT_S16_NE AFMT_S16_LE
+#endif
+
/* FreeBSD uses a different identifier? what other BSDs? */
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#ifndef SNDCTL_DSP_SETDUPLEX