pkgsrc/sysutils/gvfs/patches/patch-aa
obache 1a29f8ae5c Update gvfs to 1.6.7.
pkgsrc changes:
 * set LICENSE as gnu-lgpl-v2 from COPYING.
 * drop -DG_DISABLE_DEPREATED in whole build instead of just in a directory
   by patch-ah, because much deprecated warnings will be appeared with recent
   glib2.
 * fix specify to configure of samba location.

Major changes in 1.6.7
======================
This is a convenient release for people who want to have old
gnome 2.32 and new glib:
 * Do not build app lookup extension if we have glib >= 2.27.1

Other fixes:
* build: Adapt autogen.sh to libtool-2.4
* build: Bump fuse requirement for ATOMIC_O_TRUNC support
2013-05-10 14:37:42 +00:00

38 lines
1.5 KiB
Text

$NetBSD: patch-aa,v 1.9 2013/05/10 14:37:42 obache Exp $
* killed -DG_DISABLED_DEPRECATED, so msg_gconf_gio will be built even with
gio-2.0>2.27.1
* add RPATH for samba
*
--- configure.orig 2011-03-21 16:02:39.000000000 +0000
+++ configure
@@ -15633,8 +15633,8 @@ fi
msg_gconf_gio=no
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 <= 2.27.1\""; } >&5
- ($PKG_CONFIG --exists --print-errors "gio-2.0 <= 2.27.1") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
@@ -16928,7 +16928,7 @@ $as_echo "#define HAVE_SAMBA /**/" >>con
msg_samba="yes"
if test x$with_samba_libs != x/usr/lib; then
- SAMBA_LIBS="-L$with_samba_libs -lsmbclient"
+ SAMBA_LIBS="-L$with_samba_libs -lsmbclient -Wl,-R$with_samba_libs"
else
SAMBA_LIBS="-lsmbclient"
fi
@@ -17376,7 +17376,7 @@ _ACEOF
fi
-if test "$ac_cv_func_statfs" = yes ; then
+if test "$ac_cv_func_statvfs" != yes -a "$ac_cv_func_statfs" = yes ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking number of arguments to statfs()" >&5
$as_echo_n "checking number of arguments to statfs()... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext