[mythtv] MythTV 0.15 Port for FreeBSD
Nigel Pearson
nigel at ind.tansu.com.au
Sun Jun 6 20:43:19 EDT 2004
On Jun 5, 2004, at 12:42 AM, Stacey Son wrote:
> Here is a patch to mythmediamonitor.cpp that I believe will work on
> both linux and freebsd... Basicly, it changes the code so it uses
> getfsent(3) instead of getmntent(3).
Also good on Mac OS X with this trivial addition:
--- mythmediamonitor.cpp.old Mon Jun 7 03:06:17 2004
+++ mythmediamonitor.cpp Mon Jun 7 03:15:17 2004
@@ -25,7 +21,7 @@
#ifndef MNTTYPE_ISO9660
#ifdef linux
#define MNTTYPE_ISO9660 "iso9660"
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(CONFIG_DARWIN)
#define MNTTYPE_ISO9660 "cd9660"
#endif
#endif
--
Nigel Pearson, nigel at ind.tansu.com.au | "Now the world has gone to bed,
Telstra BI&D, Sydney, Australia | Darkness won't engulf my head,
Office: 8255 4222 Fax: 8255 3153 | I can see by infrared,
Mobile: 0408 664435 Home: 9792 6998 | How I hate the night." -Marvin
More information about the mythtv-dev
mailing list