diff options
author | ryoon <ryoon> | 2012-06-07 21:35:37 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2012-06-07 21:35:37 +0000 |
commit | 2f788b929e8290c8651668cd8c969aace2745255 (patch) | |
tree | 9b46c76641c80d1438ea4d4f1e7c596897fb5bd9 /emulators/qemu0/patches/patch-ef | |
parent | 5ffa419ea2561d930a44c529e571c509b5111f41 (diff) | |
download | pkgsrc-2f788b929e8290c8651668cd8c969aace2745255.tar.gz |
Readd qemu-0.15.1nb5 as emularoes/qemu0
This package tracks qemu-0.*.
At least, NetBSD/sparc 5.1.2 and 6.0_BETA2 does not work stably on
qemu-system-sparc from newer qemu-1.1.0.
Diffstat (limited to 'emulators/qemu0/patches/patch-ef')
-rw-r--r-- | emulators/qemu0/patches/patch-ef | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/qemu0/patches/patch-ef b/emulators/qemu0/patches/patch-ef new file mode 100644 index 00000000000..af9e9071f79 --- /dev/null +++ b/emulators/qemu0/patches/patch-ef @@ -0,0 +1,16 @@ +$NetBSD: patch-ef,v 1.1 2012/06/07 21:35:37 ryoon 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 2011-08-08 18:28:42 +0000 ++++ audio/audio.c +@@ -1162,7 +1162,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; + } + |