summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-09-29 13:03:19 +0000
committermnag <mnag@FreeBSD.org>2005-09-29 13:03:19 +0000
commitb19756e57222118b65b1a247c155089c296d85ad (patch)
tree33489187f9cbce9d1012d5da47da3febb02b11ab /multimedia
parente2e5ccf3108149d3bcaa559ffe6a8f5e8a2a8d10 (diff)
downloadFreeBSD-ports-b19756e57222118b65b1a247c155089c296d85ad.zip
FreeBSD-ports-b19756e57222118b65b1a247c155089c296d85ad.tar.gz
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)
Diffstat (limited to 'multimedia')
-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 0000000..adcf4cb
--- /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 0000000..7023466
--- /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;
OpenPOWER on IntegriCloud