ports/devel/allegro/files/patch-src_unix_usnddrv.c
Tobias Kortkamp 03f1c01e0f - Add sndio support [1]
- Remove ALSA from default options
- Switch to options helpers
- Move audio output options to their own option group
- Make OSS support an explicit option, so that it can be turned off
- Remove OGG option and make it mandatory: audio/libogg is already a
  dependency via audio/libvorbis
- Make the port simpler by not building the examples and not
  installing the example games (if necessary installing them can be done
  later in a separate port)
- Add LICENSE
- Fix WWW
- Allegro never directly links with libpng or libGLU; make them a build
  dependency only
- Reset maintainer

PR:		215838
Obtained from:	OpenBSD [1]
Approved by:	mat (mentor), maintainer timeout (5 months)
Differential Revision:	https://reviews.freebsd.org/D11039
2017-06-09 13:30:19 +00:00

12 lines
423 B
C

--- src/unix/usnddrv.c.orig 2004-09-24 14:45:03 UTC
+++ src/unix/usnddrv.c
@@ -24,6 +24,9 @@ BEGIN_DIGI_DRIVER_LIST
#if (defined ALLEGRO_WITH_JACKDIGI) && (!defined ALLEGRO_WITH_MODULES)
DIGI_DRIVER_JACK
#endif
+#if (defined ALLEGRO_WITH_SNDIODIGI) && (!defined ALLEGRO_WITH_MODULES)
+ DIGI_DRIVER_SNDIO
+#endif
#if (defined ALLEGRO_WITH_SGIALDIGI) && (!defined ALLEGRO_WITH_MODULES)
DIGI_DRIVER_SGIAL
#endif