summaryrefslogtreecommitdiffstats
path: root/multimedia/totem/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-04-18 07:01:00 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-04-18 07:01:00 +0800
commit40a79e8b139e09362e38024dccd949ed3e389315 (patch)
treef8b6a6afed41935b655eb42d120d613871faf52a /multimedia/totem/files
parent26cffe25a74c920a66c27824a19359e08a81b47f (diff)
downloadmarcuscom-ports-40a79e8b139e09362e38024dccd949ed3e389315.tar
marcuscom-ports-40a79e8b139e09362e38024dccd949ed3e389315.tar.gz
marcuscom-ports-40a79e8b139e09362e38024dccd949ed3e389315.tar.bz2
marcuscom-ports-40a79e8b139e09362e38024dccd949ed3e389315.tar.lz
marcuscom-ports-40a79e8b139e09362e38024dccd949ed3e389315.tar.xz
marcuscom-ports-40a79e8b139e09362e38024dccd949ed3e389315.tar.zst
marcuscom-ports-40a79e8b139e09362e38024dccd949ed3e389315.zip
Update to 1.1.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3941 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/totem/files')
-rw-r--r--multimedia/totem/files/patch-src::Makefile.in12
-rw-r--r--multimedia/totem/files/patch-src_totem-disk.c46
2 files changed, 58 insertions, 0 deletions
diff --git a/multimedia/totem/files/patch-src::Makefile.in b/multimedia/totem/files/patch-src::Makefile.in
new file mode 100644
index 000000000..d9ca8ee2b
--- /dev/null
+++ b/multimedia/totem/files/patch-src::Makefile.in
@@ -0,0 +1,12 @@
+--- src/Makefile.in.orig Tue Apr 12 20:47:33 2005
++++ src/Makefile.in Tue Apr 12 20:48:08 2005
+@@ -228,7 +228,8 @@
+ libbaconmessageconnection.la
+
+ plugin_LTLIBRARIES = $(TOTEM_MOZILLA_PLUGIN)
+-plugindir = $(libdir)/mozilla/plugins/
++@HAVE_MOZILLA_FALSE@plugindir =
++@HAVE_MOZILLA_TRUE@plugindir = $(libdir)/mozilla/plugins/
+ nautilus_LTLIBRARIES = $(TOTEM_PROPERTIES_PAGE)
+
+ modules_flags = -avoid-version -module
diff --git a/multimedia/totem/files/patch-src_totem-disk.c b/multimedia/totem/files/patch-src_totem-disk.c
new file mode 100644
index 000000000..d522008f0
--- /dev/null
+++ b/multimedia/totem/files/patch-src_totem-disk.c
@@ -0,0 +1,46 @@
+--- 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>
+
++#ifdef __FreeBSD__
++#include <sys/cdio.h>
++#include <sys/disklabel.h>
++
++#define CDROM_DRIVE_STATUS 0x5326
++#define CDROM_DISC_STATUS 0x5327
++#define CDS_AUDIO 100
++#define CDS_MIXED 105
++#define CDS_DATA_1 101
++#define CDS_DATA_2 102
++#define CDS_NO_INFO 0 /* if not implemented */
++#define CDS_NO_DISC 1
++#define CDS_TRAY_OPEN 2
++#define CDS_DRIVE_NOT_READY 3
++#define CDS_DISC_OK 4
++#define CDS_XA_2_1 103
++#define CDS_XA_2_2 104
++#define CDC_DVD 0x8000
++#define ENOMEDIUM ENODEV
++#define CDROM_GET_CAPABILITY CDIOCCLRDEBUG
++#else
++#include <mntent.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 {