Forgotten patch for devel/gnomevfs2?

看板DFBSD_submit作者時間21年前 (2005/03/15 02:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
--f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello. It seems that support for DragonFly has been added to the mainstream code of gnomevfs2, but building it with gcc34 still fails because of some missing preprocessor conditionals(attached). Does anyone know who/where to contact with to get it fixed? Regards. --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-zzz-dfly --- gnome-vfs-2.10.0/modules/cdda-method.c.orig 2005-03-14 18:11:04.000000000 +0900 +++ gnome-vfs-2.10.0/modules/cdda-method.c 2005-03-14 18:11:37.000000000 +0900 @@ -625,7 +625,7 @@ if (global_context != NULL) { #ifdef __linux__ if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) == 0) { -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) == 0) { #endif use_cache = TRUE; @@ -715,7 +715,7 @@ if (global_context != NULL) { #ifdef __linux__ if (strcmp (drive->cdda_device_name, global_context->drive->cdda_device_name) != 0) { -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) if (strcmp (drive->dev->device_path, global_context->drive->dev->device_path) != 0) { #endif /* Clear old cache */ --- gnome-vfs-2.10.0/libgnomevfs/gnome-vfs-volume-ops.c.orig 2005-03-14 18:11:04.000000000 +0900 +++ gnome-vfs-2.10.0/libgnomevfs/gnome-vfs-volume-ops.c 2005-03-14 18:11:48.000000000 +0900 @@ -261,7 +261,7 @@ } if (info->should_eject) { -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__DragonFly__) char *argv[5] = { "cdcontrol", "-f", --f2QGlHpHGjS2mn6Y--
文章代碼(AID): #12DT6W00 (DFBSD_submit)
文章代碼(AID): #12DT6W00 (DFBSD_submit)