summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-06 00:14:17 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-06 00:14:17 +0000
commit90b30b726c599d9f4ac8f25aadb0fdf24554e2a9 (patch)
treead3b5739d4fe121e525df8084216b9b7251aa1e2 /media-sound/esound/files
parentRun elibtoolize and add ~x86-fbsd keyword. (diff)
downloadgentoo-2-90b30b726c599d9f4ac8f25aadb0fdf24554e2a9.tar.gz
gentoo-2-90b30b726c599d9f4ac8f25aadb0fdf24554e2a9.tar.bz2
gentoo-2-90b30b726c599d9f4ac8f25aadb0fdf24554e2a9.zip
Add ~x86-fbsd keyword and a patch to fix mode_t vaarg passing.
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'media-sound/esound/files')
-rw-r--r--media-sound/esound/files/digest-esound-0.2.36-r12
-rw-r--r--media-sound/esound/files/esound-0.2.36-mode_t.patch16
2 files changed, 18 insertions, 0 deletions
diff --git a/media-sound/esound/files/digest-esound-0.2.36-r1 b/media-sound/esound/files/digest-esound-0.2.36-r1
index 171c1f34096e..9ec79c050716 100644
--- a/media-sound/esound/files/digest-esound-0.2.36-r1
+++ b/media-sound/esound/files/digest-esound-0.2.36-r1
@@ -1 +1,3 @@
MD5 3facb5aa0115cc1c31771b9ad454ae76 esound-0.2.36.tar.bz2 369952
+RMD160 1a6d4a1f31311e6265324fb1a392f9b0491cf1f9 esound-0.2.36.tar.bz2 369952
+SHA256 68bf399fcbd45c5e9ba99cd13a3a479e4ef2bc5dc52e540ffa00aef1e1b19a76 esound-0.2.36.tar.bz2 369952
diff --git a/media-sound/esound/files/esound-0.2.36-mode_t.patch b/media-sound/esound/files/esound-0.2.36-mode_t.patch
new file mode 100644
index 000000000000..b7b610e71de2
--- /dev/null
+++ b/media-sound/esound/files/esound-0.2.36-mode_t.patch
@@ -0,0 +1,16 @@
+Index: esound-0.2.36/esddsp.c
+===================================================================
+--- esound-0.2.36.orig/esddsp.c
++++ esound-0.2.36/esddsp.c
+@@ -227,7 +227,10 @@ open (const char *pathname, int flags, .
+ dsp_init ();
+
+ va_start (args, flags);
+- mode = va_arg (args, mode_t);
++ if ( sizeof(mode_t) < sizeof(int) )
++ mode = va_arg (args, int);
++ else
++ mode = va_arg (args, mode_t);
+ va_end (args);
+
+ if (!strcmp (pathname, "/dev/dsp"))