Forgotten patch for devel/gnomevfs2?
YONETANI Tomokazu
qhwt+dfly at les.ath.cx
Mon Mar 14 09:08:05 PST 2005
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.
--- 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",
More information about the Submit
mailing list