summaryrefslogtreecommitdiff
path: root/lang/squeak-vm/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'lang/squeak-vm/patches/patch-ab')
-rw-r--r--lang/squeak-vm/patches/patch-ab18
1 files changed, 12 insertions, 6 deletions
diff --git a/lang/squeak-vm/patches/patch-ab b/lang/squeak-vm/patches/patch-ab
index aaa0a44eb6e..f8bce0c402b 100644
--- a/lang/squeak-vm/patches/patch-ab
+++ b/lang/squeak-vm/patches/patch-ab
@@ -1,12 +1,18 @@
-$NetBSD: patch-ab,v 1.1.1.1 2010/02/11 00:58:19 asau Exp $
+$NetBSD: patch-ab,v 1.2 2011/12/19 11:26:59 obache Exp $
Use proper OSS library.
Use proper audio device.
---- unix/vm-sound-OSS/config.cmake.orig 2009-08-26 22:44:21.000000000 +0400
-+++ unix/vm-sound-OSS/config.cmake 2010-01-24 06:10:44.000000000 +0300
-@@ -1,2 +1,2 @@
+--- unix/vm-sound-OSS/config.cmake.orig 2009-08-26 18:44:21 +0000
++++ unix/vm-sound-OSS/config.cmake
+@@ -1,2 +1,8 @@
-PLUGIN_REQUIRE_INCLUDE (ALSA_SOUNDLIB alsa/asoundlib.h)
-PLUGIN_REQUIRE_LIBRARY (ASOUND asound)
-+PLUGIN_REQUIRE_LIBRARY (ASOUND ossaudio)
-+PLUGIN_DEFINITIONS (-DDEVOSSAUDIO=\"${DEVOSSAUDIO}\")
++IF (DEFINED LIBOSSAUDIO)
++ IF (LIBOSSAUDIO)
++ PLUGIN_FIND_LIBRARY (ASOUND ${LIBOSSAUDIO})
++ ENDIF ()
++ PLUGIN_DEFINITIONS (-DDEVOSSAUDIO=\"${DEVOSSAUDIO}\")
++ELSE ()
++ PLUGIN_DISABLE ()
++ENDIF ()