Edit

IABSD.fr/ports/comms/tlf/patches/patch-src_audio_h

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2014-11-04 10:58:21
    Hash : 581f67f3
    Message : update to tlf-1.2.1 to unbreak

  • comms/tlf/patches/patch-src_audio_h
  • $OpenBSD: patch-src_audio_h,v 1.2 2014/11/04 10:58:21 sthen Exp $
    --- src/audio.h.orig	Fri Oct 31 18:10:24 2014
    +++ src/audio.h	Fri Oct 31 18:55:16 2014
    @@ -28,7 +28,11 @@
     #include <stdio.h>
     
     #ifdef __OpenBSD__
    -# include <soundcard.h>
    +#define HAVE_SNDIO
    +#endif
    +
    +#ifdef HAVE_SNDIO
    +# include <sndio.h>
     #else
     # include <sys/soundcard.h>
     #endif