1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix build on -current (machine/soundcard.h -> sys/soundcard.h, and #ifdef 0

-> #if 0)
This commit is contained in:
Kris Kennaway 2002-09-08 00:48:14 +00:00
parent 71b7408810
commit 11c21c16d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65810
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- voxware.h.orig Sat Sep 7 16:51:45 2002
+++ voxware.h Sat Sep 7 16:51:58 2002
@@ -30,9 +30,7 @@
#ifndef __VOXWARE_H
#define __VOXWARE_H
-#if defined(__FreeBSD__)
-# include <machine/soundcard.h>
-#elif defined(linux) || defined(__bsdi__)
+#if defined(linux) || defined(__bsdi__) || defined(__FreeBSD__)
# include <sys/soundcard.h>
#elif defined(__NetBSD__) || defined(__OpenBSD__)
# include <soundcard.h>

View File

@ -0,0 +1,11 @@
--- remote.c.orig Sat Sep 7 16:54:12 2002
+++ remote.c Sat Sep 7 16:54:24 2002
@@ -65,7 +65,7 @@
/* ******************** Local defines ************** */
/* FIXME: Remove this old code someday */
-#ifdef 0
+#if 0
# define OLD_DEV_SYSMOUSE_STUFF
#endif

View File

@ -0,0 +1,13 @@
--- voxware.h.orig Sat Sep 7 16:51:45 2002
+++ voxware.h Sat Sep 7 16:51:58 2002
@@ -30,9 +30,7 @@
#ifndef __VOXWARE_H
#define __VOXWARE_H
-#if defined(__FreeBSD__)
-# include <machine/soundcard.h>
-#elif defined(linux) || defined(__bsdi__)
+#if defined(linux) || defined(__bsdi__) || defined(__FreeBSD__)
# include <sys/soundcard.h>
#elif defined(__NetBSD__) || defined(__OpenBSD__)
# include <soundcard.h>

View File

@ -0,0 +1,11 @@
--- remote.c.orig Sat Sep 7 16:54:12 2002
+++ remote.c Sat Sep 7 16:54:24 2002
@@ -65,7 +65,7 @@
/* ******************** Local defines ************** */
/* FIXME: Remove this old code someday */
-#ifdef 0
+#if 0
# define OLD_DEV_SYSMOUSE_STUFF
#endif