mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
17 lines
473 B
Plaintext
17 lines
473 B
Plaintext
$NetBSD: patch-ef,v 1.7 2014/01/15 18:26:20 wiz Exp $
|
|
|
|
Avoid conflicts with SSP read() macro in NetBSD's <ssp/unistd.h>
|
|
(PR lib/43832: ssp causes common names to be defines)
|
|
|
|
--- audio/audio.c.orig 2013-11-27 22:15:55.000000000 +0000
|
|
+++ audio/audio.c
|
|
@@ -1173,7 +1173,7 @@ int AUD_read (SWVoiceIn *sw, void *buf,
|
|
return 0;
|
|
}
|
|
|
|
- bytes = sw->hw->pcm_ops->read (sw, buf, size);
|
|
+ bytes = (*sw->hw->pcm_ops->read)(sw, buf, size);
|
|
return bytes;
|
|
}
|
|
|