diff options
Diffstat (limited to 'audio/xmms-fmradio/patches/patch-ac')
-rw-r--r-- | audio/xmms-fmradio/patches/patch-ac | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/audio/xmms-fmradio/patches/patch-ac b/audio/xmms-fmradio/patches/patch-ac new file mode 100644 index 00000000000..6005b11f2e4 --- /dev/null +++ b/audio/xmms-fmradio/patches/patch-ac @@ -0,0 +1,66 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/01/06 06:50:35 jmcneill Exp $ + +--- radio.h.orig Sun Jan 6 02:34:32 2002 ++++ radio.h Sun Jan 6 02:36:15 2002 +@@ -45,11 +45,11 @@ + #include <math.h> + + #ifdef HAVE_SYS_SOUNDCARD_H +-#ifdef __OpenBSD__ ++#if defined(__OpenBSD__) || defined(__NetBSD__) + #include <sys/audioio.h> + #else + #include <sys/soundcard.h> +-#endif /* __OpenBSD__ */ ++#endif /* __OpenBSD__ || __NetBSD__ */ + #else + #ifdef HAVE_MACHINE_SOUNDCARD_H + #include <machine/soundcard.h> +@@ -58,9 +58,9 @@ + + #ifdef linux + #include <linux/videodev.h> +-#elif defined __OpenBSD__ ++#elif defined(__OpenBSD__) || defined(__NetBSD__) + #include <sys/radioio.h> +-#endif /* linux || __OpenBSD__ */ ++#endif /* linux || __OpenBSD__ || __NetBSD__ */ + + #include <fcntl.h> + +@@ -94,10 +94,10 @@ + + #define STR_LEN_MAX 80 + +-#ifdef __OpenBSD__ ++#if defined(__OpenBSD__) || defined(__NetBSD__) + #define GET_INFO 0 + #define SET_INFO 1 +-#endif /* __OpenBSD__ */ ++#endif /* __OpenBSD__ || __NetBSD__ */ + + typedef struct + { +@@ -108,9 +108,9 @@ + RadioConfig; + + extern RadioConfig radio_cfg; +-#ifdef __OpenBSD__ ++#if defined(__OpenBSD__) || defined(__NetBSD__) + extern struct radio_info ri; +-#endif /* __OpenBSD__ */ ++#endif /* __OpenBSD__ || defined(__NetBSD__) */ + + extern gint radio_fd; + extern gint freq,volume; +@@ -121,8 +121,8 @@ + + void radio_file_info_box(char *filename); + +-#ifdef __OpenBSD__ ++#if defined(__OpenBSD__) || defined(__NetBSD__) + int SetGetRadioInfo(int); +-#endif /* __OpenBSD__ */ ++#endif /* __OpenBSD__ || __NetBSD__ */ + + #endif /* RADIO_H */ |