diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-02 05:19:55 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-02 05:19:55 +0800 |
commit | 96d1e38b74c64152a662d7a669c897875ef96f56 (patch) | |
tree | ecb8ce705b4e57dd139dbe5a06ae029d256ae3c6 /multimedia/totem/files/patch-src_totem-disk.c | |
parent | 34ab1e4937b0e8e74539b2fb2857cada47e8fa19 (diff) | |
download | marcuscom-ports-96d1e38b74c64152a662d7a669c897875ef96f56.tar marcuscom-ports-96d1e38b74c64152a662d7a669c897875ef96f56.tar.gz marcuscom-ports-96d1e38b74c64152a662d7a669c897875ef96f56.tar.bz2 marcuscom-ports-96d1e38b74c64152a662d7a669c897875ef96f56.tar.lz marcuscom-ports-96d1e38b74c64152a662d7a669c897875ef96f56.tar.xz marcuscom-ports-96d1e38b74c64152a662d7a669c897875ef96f56.tar.zst marcuscom-ports-96d1e38b74c64152a662d7a669c897875ef96f56.zip |
Readd totem
Pointyhat to: me for removing this.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3783 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/totem/files/patch-src_totem-disk.c')
-rw-r--r-- | multimedia/totem/files/patch-src_totem-disk.c | 39 |
1 files changed, 39 insertions, 0 deletions
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..f5d9c6848 --- /dev/null +++ b/multimedia/totem/files/patch-src_totem-disk.c @@ -0,0 +1,39 @@ +--- src/totem-disc.c.orig Tue Nov 23 04:03:19 2004 ++++ src/totem-disc.c Tue Nov 23 04:05:27 2004 +@@ -25,12 +25,35 @@ + #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> |