aboutsummaryrefslogtreecommitdiff
path: root/devel/gnome-vfs1/files/patch-modules_cdda-method.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2004-10-29 09:06:05 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2004-10-29 09:06:05 +0000
commit3add449a170be706377b66bee46af25633bc945c (patch)
tree7415df14a37624ff0b24fd40bde079927a88c28a /devel/gnome-vfs1/files/patch-modules_cdda-method.c
parent975af646f278430e563b72219a2c3055b211eb1a (diff)
Notes
Diffstat (limited to 'devel/gnome-vfs1/files/patch-modules_cdda-method.c')
-rw-r--r--devel/gnome-vfs1/files/patch-modules_cdda-method.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/devel/gnome-vfs1/files/patch-modules_cdda-method.c b/devel/gnome-vfs1/files/patch-modules_cdda-method.c
deleted file mode 100644
index d1692cc03e47..000000000000
--- a/devel/gnome-vfs1/files/patch-modules_cdda-method.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- modules/cdda-method.c.orig Wed Jan 22 13:54:31 2003
-+++ modules/cdda-method.c Wed Jan 22 13:54:33 2003
-@@ -623,7 +623,11 @@
- // Check and see if we already have opened and stashed this drive
- if (!use_base) {
- if (global_context != NULL) {
-+#ifdef Linux
- if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) == 0) {
-+#elif defined(__FreeBSD__)
-+ if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) == 0) {
-+#endif
- use_cache = TRUE;
- cdda_close (drive);
- gnome_vfs_file_info_copy (file_info, global_context->file_info);
-@@ -709,7 +713,11 @@
- if (!use_base) {
- // Check for cache
- if (global_context != NULL) {
-+#ifdef Linux
- if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) != 0) {
-+#elif defined(__FreeBSD__)
-+ if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) != 0) {
-+#endif
- // Clear old cache
- cdda_context_free (global_context);
- global_context = cdda_context_new (drive, uri);