freebsd-ports/multimedia/xmms/files/patch-Output__esd__mixer.c
Marcus Alves Grando 4b3abf1c02 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)
2005-09-29 13:03:19 +00:00

22 lines
439 B
C

--- 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;