summaryrefslogtreecommitdiff
path: root/devel/gvfs/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gvfs/files')
-rw-r--r--devel/gvfs/files/patch-Makefile.in11
-rw-r--r--devel/gvfs/files/patch-client_Makefile.in11
-rw-r--r--devel/gvfs/files/patch-client_gvfsfusedaemon.c12
-rw-r--r--devel/gvfs/files/patch-configure84
-rw-r--r--devel/gvfs/files/patch-daemon_gvfswritechannel.c10
-rw-r--r--devel/gvfs/files/patch-hal_ghalvolume.c14
6 files changed, 142 insertions, 0 deletions
diff --git a/devel/gvfs/files/patch-Makefile.in b/devel/gvfs/files/patch-Makefile.in
new file mode 100644
index 000000000000..7832811c4608
--- /dev/null
+++ b/devel/gvfs/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2008-02-11 20:04:47.000000000 -0500
++++ Makefile.in 2008-02-11 20:05:02.000000000 -0500
+@@ -60,7 +60,7 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-re
+ distclean-recursive maintainer-clean-recursive
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = common client daemon gconf po programs test hal
++DIST_SUBDIRS = common client daemon gconf po programs hal
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
diff --git a/devel/gvfs/files/patch-client_Makefile.in b/devel/gvfs/files/patch-client_Makefile.in
new file mode 100644
index 000000000000..ffbfd5878dc1
--- /dev/null
+++ b/devel/gvfs/files/patch-client_Makefile.in
@@ -0,0 +1,11 @@
+--- client/Makefile.in.orig 2008-02-11 20:05:14.000000000 -0500
++++ client/Makefile.in 2008-02-11 20:05:42.000000000 -0500
+@@ -152,7 +152,7 @@ EXEEXT = @EXEEXT@
+ F77 = @F77@
+ FFLAGS = @FFLAGS@
+ FUSE_CFLAGS = @FUSE_CFLAGS@
+-FUSE_LIBS = @FUSE_LIBS@
++FUSE_LIBS = @FUSE_LIBS@ -lfuse
+ GCONF_CFLAGS = @GCONF_CFLAGS@
+ GCONF_LIBS = @GCONF_LIBS@
+ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
diff --git a/devel/gvfs/files/patch-client_gvfsfusedaemon.c b/devel/gvfs/files/patch-client_gvfsfusedaemon.c
new file mode 100644
index 000000000000..3733aa7e3cd9
--- /dev/null
+++ b/devel/gvfs/files/patch-client_gvfsfusedaemon.c
@@ -0,0 +1,12 @@
+--- client/gvfsfusedaemon.c.orig 2007-11-06 18:06:41.000000000 -0500
++++ client/gvfsfusedaemon.c 2007-11-06 18:07:30.000000000 -0500
+@@ -28,7 +28,9 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
++#ifdef __linux__
+ #include <sys/vfs.h>
++#endif
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <stdlib.h>
diff --git a/devel/gvfs/files/patch-configure b/devel/gvfs/files/patch-configure
new file mode 100644
index 000000000000..5187da5d4282
--- /dev/null
+++ b/devel/gvfs/files/patch-configure
@@ -0,0 +1,84 @@
+--- configure.orig 2008-02-25 16:48:49.000000000 -0500
++++ configure 2008-02-25 16:51:17.000000000 -0500
+@@ -24589,7 +24589,7 @@ if test "x$enable_http" != "xno"; then
+ msg_http=yes
+ fi
+
+- if test "x$msg_http" == "xyes"; then
++ if test "x$msg_http" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for HTTP" >&5
+@@ -24857,7 +24857,7 @@ if test "x$enable_cdda" != "xno"; then
+ msg_cdda=yes
+ fi
+
+- if test "x$msg_cdda" == "xyes"; then
++ if test "x$msg_cdda" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for CDDA" >&5
+@@ -25008,7 +25008,7 @@ if test "x$enable_fuse" != "xno"; then
+ msg_fuse=yes
+ fi
+
+- if test "x$msg_fuse" == "xyes"; then
++ if test "x$msg_fuse" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for FUSE" >&5
+@@ -25159,7 +25159,7 @@ if test "x$enable_gconf" != "xno"; then
+ msg_gconf=yes
+ fi
+
+- if test "x$msg_gconf" == "xyes"; then
++ if test "x$msg_gconf" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for GCONF" >&5
+@@ -25312,7 +25312,7 @@ if test "x$enable_hal" != "xno"; then
+ msg_hal=yes
+ fi
+
+- if test "x$msg_hal" == "xyes"; then
++ if test "x$msg_hal" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for HAL" >&5
+@@ -25494,7 +25494,7 @@ if test $ac_cv_lib_hal_libhal_get_all_de
+ have_hal_fast_init=yes
+ fi
+
+- if test "x$have_hal_fast_init" == "xyes"; then
++ if test "x$have_hal_fast_init" = "xyes"; then
+
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_HAL_FAST_INIT 1
+@@ -25540,13 +25540,16 @@ fi
+ *-linux*)
+ use_gphoto2=yes
+ ;;
++ *-freebsd*)
++ use_gphoto2=yes
++ ;;
+ *)
+ use_gphoto2=no
+ ;;
+ esac
+
+- if test "x$msg_gphoto2" == "xyes"; then
+- if test "x$use_gphoto2" == "xyes"; then
++ if test "x$msg_gphoto2" = "xyes"; then
++ if test "x$use_gphoto2" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for GPHOTO2" >&5
+@@ -25702,7 +25705,7 @@ if test "x$enable_keyring" != "xno"; the
+ msg_keyring=yes
+ fi
+
+- if test "x$msg_keyring" == "xyes"; then
++ if test "x$msg_keyring" = "xyes"; then
+
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for KEYRING" >&5
diff --git a/devel/gvfs/files/patch-daemon_gvfswritechannel.c b/devel/gvfs/files/patch-daemon_gvfswritechannel.c
new file mode 100644
index 000000000000..54c4216873e4
--- /dev/null
+++ b/devel/gvfs/files/patch-daemon_gvfswritechannel.c
@@ -0,0 +1,10 @@
+--- daemon/gvfswritechannel.c.orig 2007-12-22 18:50:10.000000000 -0500
++++ daemon/gvfswritechannel.c 2007-12-22 18:50:20.000000000 -0500
+@@ -30,6 +30,7 @@
+ #include <sys/un.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <string.h>
+
+ #include <glib.h>
+ #include <glib-object.h>
diff --git a/devel/gvfs/files/patch-hal_ghalvolume.c b/devel/gvfs/files/patch-hal_ghalvolume.c
new file mode 100644
index 000000000000..519718969441
--- /dev/null
+++ b/devel/gvfs/files/patch-hal_ghalvolume.c
@@ -0,0 +1,14 @@
+--- hal/ghalvolume.c.orig 2008-02-25 16:51:39.000000000 -0500
++++ hal/ghalvolume.c 2008-02-25 16:52:00.000000000 -0500
+@@ -550,7 +550,11 @@ g_hal_volume_new (GVolumeMonitor *volu
+ return NULL;
+
+ /* TODO: other OS'es? Will address this with DK aka HAL 2.0 */
++#ifdef __FreeBSD__
++ device_path = hal_device_get_property_string (drive_device, "freebsd.device_file");
++#else
+ device_path = hal_device_get_property_string (drive_device, "linux.device_file");
++#endif
+ if (strlen (device_path) == 0)
+ device_path = NULL;
+