aboutsummaryrefslogtreecommitdiff
path: root/audio/esound
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-27 03:38:33 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-04-27 03:38:33 +0000
commitfc0c338e9f2edac130ccf2b8513cbb2ab20719e2 (patch)
tree8adafcf6166d295f8d81100346af0cdf95f7d21c /audio/esound
parente80c719a2e3ba2ab2b3bbcd8555da47ef06b612d (diff)
downloadports-fc0c338e9f2edac130ccf2b8513cbb2ab20719e2.tar.gz
ports-fc0c338e9f2edac130ccf2b8513cbb2ab20719e2.zip
Notes
Diffstat (limited to 'audio/esound')
-rw-r--r--audio/esound/Makefile2
-rw-r--r--audio/esound/files/patch-esddsp.c18
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/esound/Makefile b/audio/esound/Makefile
index d94f8666d479..36f660dd667a 100644
--- a/audio/esound/Makefile
+++ b/audio/esound/Makefile
@@ -7,7 +7,7 @@
PORTNAME= esound
PORTVERSION= 0.2.35
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.2
diff --git a/audio/esound/files/patch-esddsp.c b/audio/esound/files/patch-esddsp.c
new file mode 100644
index 000000000000..c1175da944ab
--- /dev/null
+++ b/audio/esound/files/patch-esddsp.c
@@ -0,0 +1,18 @@
+--- esddsp.c.orig Tue Apr 26 22:41:23 2005
++++ esddsp.c Tue Apr 26 22:42:04 2005
+@@ -223,9 +223,12 @@ open (const char *pathname, int flags, .
+
+ dsp_init ();
+
+- va_start (args, flags);
+- mode = va_arg (args, mode_t);
+- va_end (args);
++ if ((flags & O_CREAT) != 0)
++ {
++ va_start (args, flags);
++ mode = va_arg (args, int);
++ va_end (args);
++ }
+
+ if (!strcmp (pathname, "/dev/dsp"))
+ {