freebsd-ports/graphics/libflash/files/patch-ai
Pav Lucistnik 97a4c60baf - Switch to ./configure make make install way
Submitted by:	Li-Lun Wang (Leland Wang) <llwang@infor.org>
2004-11-18 09:55:55 +00:00

24 lines
515 B
Plaintext

--- lib/sound.cc.orig Sat Oct 16 03:16:19 2004
+++ lib/sound.cc Sat Oct 23 17:44:05 2004
@@ -20,7 +20,7 @@
// Author : Olivier Debon <odebon@club-internet.fr>
//
-#if ! defined(__linux__)
+#if ! defined(__linux__) && ! defined(__FreeBSD__)
#warning no sound support for your OS in lib/sound.cc
#define NOSOUND
#endif
@@ -33,6 +33,11 @@
#ifndef NOSOUND
#ifdef __linux__
#include <linux/soundcard.h>
+#else
+#ifdef __FreeBSD__
+#include <sys/param.h>
+#include <sys/soundcard.h>
+#endif
#endif
#endif