aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmms
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-29 13:03:19 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-29 13:03:19 +0000
commit4b3abf1c02ab311b483878c89cabcaf690c67fd2 (patch)
tree01a432c4015bf5aeb2a5fa713798291270a62e71 /multimedia/xmms
parent8d1a3bfcb426bb7cf13d39dd15a61182c7ea7fdd (diff)
downloadports-4b3abf1c02ab311b483878c89cabcaf690c67fd2.tar.gz
ports-4b3abf1c02ab311b483878c89cabcaf690c67fd2.zip
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. <freebsd@epicoftimewasted.com> Approved by: pav (mentor), esk@ira.uka.de (maintainer timeout, 96 days)
Notes
Notes: svn path=/head/; revision=143775
Diffstat (limited to 'multimedia/xmms')
-rw-r--r--multimedia/xmms/files/patch-Output__OSS__mixer.c22
-rw-r--r--multimedia/xmms/files/patch-Output__esd__mixer.c22
2 files changed, 44 insertions, 0 deletions
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;