From 4b3abf1c02ab311b483878c89cabcaf690c67fd2 Mon Sep 17 00:00:00 2001 From: Marcus Alves Grando Date: Thu, 29 Sep 2005 13:03:19 +0000 Subject: [PATCH] Uses 32bit int for ioctl rather than 64bit long on amd64 Patches are obtained from (multimedia/beep-media-player) PR: 82618 Submitted by: Ryan R. Approved by: pav (mentor), esk@ira.uka.de (maintainer timeout, 96 days) --- .../xmms/files/patch-Output__OSS__mixer.c | 22 +++++++++++++++++++ .../xmms/files/patch-Output__esd__mixer.c | 22 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 multimedia/xmms/files/patch-Output__OSS__mixer.c create mode 100644 multimedia/xmms/files/patch-Output__esd__mixer.c diff --git a/multimedia/xmms/files/patch-Output__OSS__mixer.c b/multimedia/xmms/files/patch-Output__OSS__mixer.c new file mode 100644 index 000000000000..adcf4cbab9ca --- /dev/null +++ b/multimedia/xmms/files/patch-Output__OSS__mixer.c @@ -0,0 +1,22 @@ +--- Output/OSS/mixer.c.orig Thu Sep 29 09:46:32 2005 ++++ Output/OSS/mixer.c Thu Sep 29 09:47:14 2005 +@@ -34,7 +34,8 @@ + + void oss_get_volume(int *l, int *r) + { +- int fd, v, cmd, devs; ++ int fd, v, devs; ++ long cmd; + gchar *devname; + + devname = get_mixer_device(); +@@ -66,7 +67,8 @@ + + void oss_set_volume(int l, int r) + { +- int fd, v, cmd, devs; ++ int fd, v, devs; ++ long cmd; + gchar *devname; + + devname = get_mixer_device(); diff --git a/multimedia/xmms/files/patch-Output__esd__mixer.c b/multimedia/xmms/files/patch-Output__esd__mixer.c new file mode 100644 index 000000000000..7023466be2f2 --- /dev/null +++ b/multimedia/xmms/files/patch-Output__esd__mixer.c @@ -0,0 +1,22 @@ +--- Output/esd/mixer.c.orig Thu Sep 29 09:48:56 2005 ++++ Output/esd/mixer.c Thu Sep 29 09:49:25 2005 +@@ -146,7 +146,8 @@ + + static void esdout_get_oss_volume(int *l, int *r) + { +- int fd, v, cmd, devs; ++ int fd, v, devs; ++ long cmd; + + if (esd_cfg.use_remote) + return; +@@ -173,7 +174,8 @@ + + static void esdout_set_oss_volume(int l, int r) + { +- int fd, v, cmd, devs; ++ int fd, v, devs; ++ long cmd; + + if (esd_cfg.use_remote) + return;