mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
While here - Add LICENSE_FILE, USES=localbase - Strip library - Group audio backend options - Use options helpers for VGL I think the configure script patch needs to be explained. OpenBSD regenerates the configure script from configure.in after patching sndio detection into it. However SDL 1.2 requires an older autoconf version (2.59) which is not available on FreeBSD. Lots of errors when using autoconf 2.69. Since I was unable to regenerate it I opted to edit configure manually. So it does the bare minimum to wire the backend sources into the build and make sure that SNDIO_CONFIGURE_ENABLE can do its job in enabling/disabling sndio support. Approved by: lme (mentor) Obtained from: OpenBSD Differential Revision: https://reviews.freebsd.org/D10658
13 lines
449 B
C
13 lines
449 B
C
$OpenBSD: patch-src_audio_SDL_sysaudio_h,v 1.6 2012/03/02 09:10:38 dcoppa Exp $
|
|
--- src/audio/SDL_sysaudio.h.orig 2012-01-19 06:30:06 UTC
|
|
+++ src/audio/SDL_sysaudio.h
|
|
@@ -105,6 +105,9 @@ typedef struct AudioBootStrap {
|
|
#if SDL_AUDIO_DRIVER_BSD
|
|
extern AudioBootStrap BSD_AUDIO_bootstrap;
|
|
#endif
|
|
+#if SDL_AUDIO_DRIVER_SNDIO
|
|
+extern AudioBootStrap SNDIO_bootstrap;
|
|
+#endif
|
|
#if SDL_AUDIO_DRIVER_PULSE
|
|
extern AudioBootStrap PULSE_bootstrap;
|
|
#endif
|