aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-05-07 13:13:14 +0800
committermarcus <marcus@FreeBSD.org>2006-05-07 13:13:14 +0800
commit9e4636946da22fa4476773c9ce25b29f27a0d16e (patch)
tree23d216ff0477615f6018db3e856ba8f80e19dd10 /devel/gnome-vfs
parenta4fc62f81e5b4865d1880eae5796b9f2459ba72d (diff)
downloadfreebsd-ports-graphics-9e4636946da22fa4476773c9ce25b29f27a0d16e.tar.gz
freebsd-ports-graphics-9e4636946da22fa4476773c9ce25b29f27a0d16e.tar.zst
freebsd-ports-graphics-9e4636946da22fa4476773c9ce25b29f27a0d16e.zip
Fix the build with HAL present.
Reported by: Caelian on #freebsd-gnome
Diffstat (limited to 'devel/gnome-vfs')
-rw-r--r--devel/gnome-vfs/files/patch-aa27
-rw-r--r--devel/gnome-vfs/files/patch-config.h.in12
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c12
3 files changed, 42 insertions, 9 deletions
diff --git a/devel/gnome-vfs/files/patch-aa b/devel/gnome-vfs/files/patch-aa
index 4b5c0cfaea3..37ce76b20c7 100644
--- a/devel/gnome-vfs/files/patch-aa
+++ b/devel/gnome-vfs/files/patch-aa
@@ -1,6 +1,6 @@
---- configure.orig Mon Nov 14 11:43:13 2005
-+++ configure Mon Nov 28 13:52:39 2005
-@@ -23123,6 +23123,8 @@
+--- configure.orig Sun May 7 00:51:33 2006
++++ configure Sun May 7 00:53:15 2006
+@@ -23482,6 +23482,8 @@ echo $ECHO_N "checking for $ac_func... $
if eval "test \"\${$as_ac_var+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -9,7 +9,7 @@
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
-@@ -23205,6 +23207,7 @@
+@@ -23564,6 +23566,7 @@ eval "$as_ac_var=no"
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
@@ -17,7 +17,7 @@
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
-@@ -24296,6 +24299,7 @@
+@@ -24655,6 +24658,7 @@ if test `eval echo '${'$as_ac_var'}'` =
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
@@ -25,7 +25,16 @@
have_ngettext=yes
else
echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
-@@ -33559,7 +33563,7 @@
+@@ -25708,7 +25712,7 @@ done
+
+
+
+-for ac_header in mntent.h sys/mnttab.h sys/vfstab.h sys/cdio.h sys/mount.h sys/mntctl.h sys/vfs.h sys/vmount.h sys/sysctl.h fstab.h fnmatch.h
++for ac_header in mntent.h sys/mnttab.h sys/vfstab.h sys/cdio.h sys/mount.h sys/mntctl.h sys/vfs.h sys/vmount.h sys/sysctl.h fstab.h fnmatch.h sys/sysmacros.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
+@@ -34025,7 +34029,7 @@ if test "${openssl_libs+set}" = set; the
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -34,7 +43,7 @@
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
-@@ -37107,6 +37111,9 @@
+@@ -38165,6 +38169,9 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
@@ -44,7 +53,7 @@
#include <sys/statfs.h>
#include <sys/fstyp.h>
_ACEOF
-@@ -37148,6 +37155,9 @@
+@@ -38206,6 +38213,9 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
@@ -54,7 +63,7 @@
#include <sys/statfs.h>
#include <sys/vmount.h>
_ACEOF
-@@ -38604,6 +38614,7 @@
+@@ -39645,6 +39655,7 @@ s,@TEST_LIBS@,$TEST_LIBS,;t t
s,@ORBIT_IDL@,$ORBIT_IDL,;t t
s,@BONOBO_IDLDIR@,$BONOBO_IDLDIR,;t t
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
diff --git a/devel/gnome-vfs/files/patch-config.h.in b/devel/gnome-vfs/files/patch-config.h.in
new file mode 100644
index 00000000000..70edbcd4549
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-config.h.in
@@ -0,0 +1,12 @@
+--- config.h.in.orig Sun May 7 00:54:09 2006
++++ config.h.in Sun May 7 00:54:46 2006
+@@ -121,6 +121,9 @@
+ /* Define to 1 if you have the <fnmatch.h> header file. */
+ #undef HAVE_FNMATCH_H
+
++/* Define to 1 if you have the <sys/sysmacros.h> header file. */
++#undef HAVE_SYS_SYSMACROS_H
++
+ /* Define to 1 if you have the <fstab.h> header file. */
+ #undef HAVE_FSTAB_H
+
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c
new file mode 100644
index 00000000000..05dd579ba16
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-hal-mounts.c
@@ -0,0 +1,12 @@
+--- libgnomevfs/gnome-vfs-hal-mounts.c.orig Sun May 7 01:07:27 2006
++++ libgnomevfs/gnome-vfs-hal-mounts.c Sun May 7 01:07:42 2006
+@@ -32,7 +32,9 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/stat.h>
++#ifdef HAVE_SYS_SYSMACROS_H
+ #include <sys/sysmacros.h>
++#endif
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <limits.h>