mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
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)
This commit is contained in:
parent
8d1a3bfcb4
commit
4b3abf1c02
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143775
2 changed files with 44 additions and 0 deletions
22
multimedia/xmms/files/patch-Output__OSS__mixer.c
Normal file
22
multimedia/xmms/files/patch-Output__OSS__mixer.c
Normal file
|
@ -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();
|
22
multimedia/xmms/files/patch-Output__esd__mixer.c
Normal file
22
multimedia/xmms/files/patch-Output__esd__mixer.c
Normal file
|
@ -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;
|
Loading…
Add table
Reference in a new issue