summaryrefslogtreecommitdiff
path: root/multimedia/totem/files/patch-src_totem-disk.c
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-04-29 23:03:03 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-04-29 23:03:03 +0000
commitd8e1e16e64701b6d51c9402ad779fd5560b8ce51 (patch)
tree266f139932061c245ade2aa3ef5c087c802dc5e3 /multimedia/totem/files/patch-src_totem-disk.c
parent- Update to 1.0.0 (diff)
- Update gstreamer to 0.10
- Move all old gstreamer 0.8 ports to gstreamer*80 [1] - Chase all ports with new gstreamer or gstreaemer moves Repocopied by: marcus [1]
Notes
Notes: svn path=/head/; revision=160858
Diffstat (limited to 'multimedia/totem/files/patch-src_totem-disk.c')
-rw-r--r--multimedia/totem/files/patch-src_totem-disk.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/multimedia/totem/files/patch-src_totem-disk.c b/multimedia/totem/files/patch-src_totem-disk.c
index d522008f04bc..6b6ef565e287 100644
--- a/multimedia/totem/files/patch-src_totem-disk.c
+++ b/multimedia/totem/files/patch-src_totem-disk.c
@@ -1,14 +1,8 @@
---- src/plparse/totem-disc.c.orig Sun Mar 13 08:37:57 2005
-+++ src/plparse/totem-disc.c Wed Mar 23 03:29:26 2005
-@@ -34,18 +34,40 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <errno.h>
--#include <mntent.h>
- #include <string.h>
-
- #include <sys/ioctl.h>
- #include <sys/stat.h>
+--- src/plparse/totem-disc.c.orig Thu Nov 24 16:53:02 2005
++++ src/plparse/totem-disc.c Sun Dec 18 13:34:12 2005
+@@ -43,7 +43,29 @@
+ #include <glib/gi18n.h>
+ #include <libgnomevfs/gnome-vfs.h>
+#ifdef __FreeBSD__
+#include <sys/cdio.h>
@@ -31,16 +25,8 @@
+#define ENOMEDIUM ENODEV
+#define CDROM_GET_CAPABILITY CDIOCCLRDEBUG
+#else
-+#include <mntent.h>
-+#include <linux/cdrom.h>
+ #include <linux/cdrom.h>
+#endif
-+
- #include <glib.h>
- #include <glib/gi18n.h>
- #include <libgnomevfs/gnome-vfs.h>
--#include <linux/cdrom.h>
--
#include "totem-disc.h"
- typedef struct _CdCache {