aboutsummaryrefslogtreecommitdiff
path: root/net-im/gale
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-07-03 13:22:51 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-07-03 13:22:51 +0000
commitbee443e8234ef59c48409cd8ef8728146f84864f (patch)
treed380c1a6c639fbb36ffbaa1f28c4a6dad281cab1 /net-im/gale
parentf7c24f7087d26fbb0768f06d7fef06e341e42b8d (diff)
downloadports-bee443e8234ef59c48409cd8ef8728146f84864f.tar.gz
ports-bee443e8234ef59c48409cd8ef8728146f84864f.zip
Notes
Diffstat (limited to 'net-im/gale')
-rw-r--r--net-im/gale/Makefile9
-rw-r--r--net-im/gale/distinfo2
-rw-r--r--net-im/gale/files/patch-aa10
-rw-r--r--net-im/gale/files/patch-ab345
-rw-r--r--net-im/gale/files/patch-ac24
-rw-r--r--net-im/gale/files/patch-configure13
-rw-r--r--net-im/gale/files/patch-crypto12
-rw-r--r--net-im/gale/files/patch-wcwidth14
-rw-r--r--net-im/gale/pkg-plist15
9 files changed, 55 insertions, 389 deletions
diff --git a/net-im/gale/Makefile b/net-im/gale/Makefile
index afcbc6997ce7..2b5be8424fa6 100644
--- a/net-im/gale/Makefile
+++ b/net-im/gale/Makefile
@@ -6,25 +6,26 @@
#
PORTNAME= gale
-PORTVERSION= 0.99a
+PORTVERSION= 0.99d
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.gale.org/
+DISTNAME= ${PORTNAME}-${PORTVERSION}anger
MAINTAINER= peterh@sapros.com
BUILD_DEPENDS= ${LOCALBASE}/lib/libgc.a:${PORTSDIR}/devel/boehm-gc
LIB_DEPENDS= wwwcore.1:${PORTSDIR}/www/libwww \
- adns.1:${PORTSDIR}/net/adns \
- rsaref.2:${PORTSDIR}/security/rsaref
+ adns.1:${PORTSDIR}/net/adns
+USE_OPENSSL= yes
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
-I${LOCALBASE}/include/w3c-libwww
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" INSTALL=""
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
post-install:
${CAT} ${PKGMESSAGE}
diff --git a/net-im/gale/distinfo b/net-im/gale/distinfo
index 0581da2fd519..3c96238b45ea 100644
--- a/net-im/gale/distinfo
+++ b/net-im/gale/distinfo
@@ -1 +1 @@
-MD5 (gale-0.99a.tar.gz) = ebb72dde51299182e93fe15da3aa4209
+MD5 (gale-0.99danger.tar.gz) = 4d29cc71a47c219aa4d1d90bf87fd975
diff --git a/net-im/gale/files/patch-aa b/net-im/gale/files/patch-aa
deleted file mode 100644
index 87bf32d6e357..000000000000
--- a/net-im/gale/files/patch-aa
+++ /dev/null
@@ -1,10 +0,0 @@
---- liboop/configure.orig Sun Jul 16 04:58:10 2000
-+++ liboop/configure Sun Jul 16 04:57:48 2000
-@@ -7,6 +7,7 @@
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
-
-+INSTALL=
- # Defaults:
- ac_help=
- ac_default_prefix=/usr/local
diff --git a/net-im/gale/files/patch-ab b/net-im/gale/files/patch-ab
deleted file mode 100644
index cf10aa54bf4d..000000000000
--- a/net-im/gale/files/patch-ab
+++ /dev/null
@@ -1,345 +0,0 @@
---- configure.orig Mon Oct 2 23:25:16 2000
-+++ configure Mon Oct 2 23:25:19 2000
-@@ -2626,22 +2626,65 @@
- GALE_LIBS="$GALE_LIBS -lrsaref"
- fi
-
-+echo $ac_n "checking for res_init in -lresolv""... $ac_c" 1>&6
-+echo "configure:2631: checking for res_init in -lresolv" >&5
-+ac_lib_var=`echo resolv'_'res_init | sed 'y%./+-%__p_%'`
-+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-+ echo $ac_n "(cached) $ac_c" 1>&6
-+else
-+ ac_save_LIBS="$LIBS"
-+LIBS="-lresolv $LIBS"
-+cat > conftest.$ac_ext <<EOF
-+#line 2639 "configure"
-+#include "confdefs.h"
-+/* Override any gcc2 internal prototype to avoid an error. */
-+/* We use char because int might match the return type of a gcc2
-+ builtin and then its argument prototype would still apply. */
-+char res_init();
-+
-+int main() {
-+res_init()
-+; return 0; }
-+EOF
-+if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-+ rm -rf conftest*
-+ eval "ac_cv_lib_$ac_lib_var=yes"
-+else
-+ echo "configure: failed program was:" >&5
-+ cat conftest.$ac_ext >&5
-+ rm -rf conftest*
-+ eval "ac_cv_lib_$ac_lib_var=no"
-+fi
-+rm -f conftest*
-+LIBS="$ac_save_LIBS"
-+
-+fi
-+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
-+ echo "$ac_t""yes" 1>&6
-+
-+ RESOLV_LIBS="-lresolv"
-+
-+else
-+ echo "$ac_t""no" 1>&6
-+fi
-+
-+
- echo $ac_n "checking for local copy of liboop""... $ac_c" 1>&6
--echo "configure:2631: checking for local copy of liboop" >&5
-+echo "configure:2674: checking for local copy of liboop" >&5
- if test -f "${srcdir}/liboop/oop.h"; then
- echo "$ac_t""yes" 1>&6
- CPPFLAGS="-I\${top_srcdir}/liboop $CPPFLAGS"
- build_liboop=true
- echo $ac_n "checking for adns_init in -ladns""... $ac_c" 1>&6
--echo "configure:2637: checking for adns_init in -ladns" >&5
-+echo "configure:2680: checking for adns_init in -ladns" >&5
- ac_lib_var=`echo adns'_'adns_init | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-ladns -lresolv $LIBS"
-+LIBS="-ladns $RESOLV_LIBS $LIBS"
- cat > conftest.$ac_ext <<EOF
--#line 2645 "configure"
-+#line 2688 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
-@@ -2652,7 +2695,7 @@
- adns_init()
- ; return 0; }
- EOF
--if { (eval echo configure:2656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-+if { (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
-@@ -2668,7 +2711,7 @@
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
-- GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop-adns.la -ladns -lresolv"
-+ GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop-adns.la -ladns ${RESOLV_LIBS}"
- cat >> confdefs.h <<\EOF
- #define HAVE_ADNS 1
- EOF
-@@ -2683,7 +2726,7 @@
- else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for oop_sys_new in -loop""... $ac_c" 1>&6
--echo "configure:2687: checking for oop_sys_new in -loop" >&5
-+echo "configure:2730: checking for oop_sys_new in -loop" >&5
- ac_lib_var=`echo oop'_'oop_sys_new | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-@@ -2691,7 +2734,7 @@
- ac_save_LIBS="$LIBS"
- LIBS="-loop $LIBS"
- cat > conftest.$ac_ext <<EOF
--#line 2695 "configure"
-+#line 2738 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
-@@ -2702,7 +2745,7 @@
- oop_sys_new()
- ; return 0; }
- EOF
--if { (eval echo configure:2706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-+if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
-@@ -2726,7 +2769,7 @@
- fi
-
- echo $ac_n "checking for adns_init in -ladns""... $ac_c" 1>&6
--echo "configure:2730: checking for adns_init in -ladns" >&5
-+echo "configure:2773: checking for adns_init in -ladns" >&5
- ac_lib_var=`echo adns'_'adns_init | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-@@ -2734,7 +2777,7 @@
- ac_save_LIBS="$LIBS"
- LIBS="-ladns -lresolv $LIBS"
- cat > conftest.$ac_ext <<EOF
--#line 2738 "configure"
-+#line 2781 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
-@@ -2745,7 +2788,7 @@
- adns_init()
- ; return 0; }
- EOF
--if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-+if { (eval echo configure:2792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
-@@ -2776,7 +2819,7 @@
- fi
-
- echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
--echo "configure:2780: checking how to run the C preprocessor" >&5
-+echo "configure:2823: checking how to run the C preprocessor" >&5
- # On Suns, sometimes $CPP names a directory.
- if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-@@ -2791,13 +2834,13 @@
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp.
- cat > conftest.$ac_ext <<EOF
--#line 2795 "configure"
-+#line 2838 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
--{ (eval echo configure:2801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-+{ (eval echo configure:2844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- :
-@@ -2808,13 +2851,13 @@
- rm -rf conftest*
- CPP="${CC-cc} -E -traditional-cpp"
- cat > conftest.$ac_ext <<EOF
--#line 2812 "configure"
-+#line 2855 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
--{ (eval echo configure:2818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-+{ (eval echo configure:2861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- :
-@@ -2825,13 +2868,13 @@
- rm -rf conftest*
- CPP="${CC-cc} -nologo -E"
- cat > conftest.$ac_ext <<EOF
--#line 2829 "configure"
-+#line 2872 "configure"
- #include "confdefs.h"
- #include <assert.h>
- Syntax Error
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
--{ (eval echo configure:2835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-+{ (eval echo configure:2878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- :
-@@ -2859,17 +2902,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
--echo "configure:2863: checking for $ac_hdr" >&5
-+echo "configure:2906: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
--#line 2868 "configure"
-+#line 2911 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
--{ (eval echo configure:2873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-+{ (eval echo configure:2916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
-@@ -2901,17 +2944,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
--echo "configure:2905: checking for $ac_hdr" >&5
-+echo "configure:2948: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
--#line 2910 "configure"
-+#line 2953 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
--{ (eval echo configure:2915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-+{ (eval echo configure:2958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
-@@ -2946,17 +2989,17 @@
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
--echo "configure:2950: checking for $ac_hdr" >&5
-+echo "configure:2993: checking for $ac_hdr" >&5
- if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
--#line 2955 "configure"
-+#line 2998 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
--{ (eval echo configure:2960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-+{ (eval echo configure:3003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
-@@ -2987,7 +3030,7 @@
- fi
-
- echo $ac_n "checking size of int""... $ac_c" 1>&6
--echo "configure:2991: checking size of int" >&5
-+echo "configure:3034: checking size of int" >&5
- if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-@@ -2995,7 +3038,7 @@
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- else
- cat > conftest.$ac_ext <<EOF
--#line 2999 "configure"
-+#line 3042 "configure"
- #include "confdefs.h"
- #include <stdio.h>
- main()
-@@ -3006,7 +3049,7 @@
- exit(0);
- }
- EOF
--if { (eval echo configure:3010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-+if { (eval echo configure:3053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- ac_cv_sizeof_int=`cat conftestval`
- else
-@@ -3026,7 +3069,7 @@
-
-
- echo $ac_n "checking size of short""... $ac_c" 1>&6
--echo "configure:3030: checking size of short" >&5
-+echo "configure:3073: checking size of short" >&5
- if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-@@ -3034,7 +3077,7 @@
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- else
- cat > conftest.$ac_ext <<EOF
--#line 3038 "configure"
-+#line 3081 "configure"
- #include "confdefs.h"
- #include <stdio.h>
- main()
-@@ -3045,7 +3088,7 @@
- exit(0);
- }
- EOF
--if { (eval echo configure:3049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-+if { (eval echo configure:3092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- ac_cv_sizeof_short=`cat conftestval`
- else
-@@ -3065,7 +3108,7 @@
-
-
- echo $ac_n "checking size of long""... $ac_c" 1>&6
--echo "configure:3069: checking size of long" >&5
-+echo "configure:3112: checking size of long" >&5
- if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-@@ -3073,7 +3116,7 @@
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
- else
- cat > conftest.$ac_ext <<EOF
--#line 3077 "configure"
-+#line 3120 "configure"
- #include "confdefs.h"
- #include <stdio.h>
- main()
-@@ -3084,7 +3127,7 @@
- exit(0);
- }
- EOF
--if { (eval echo configure:3088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-+if { (eval echo configure:3131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- ac_cv_sizeof_long=`cat conftestval`
- else
diff --git a/net-im/gale/files/patch-ac b/net-im/gale/files/patch-ac
deleted file mode 100644
index 6e51eec807cb..000000000000
--- a/net-im/gale/files/patch-ac
+++ /dev/null
@@ -1,24 +0,0 @@
---- configure.in.orig Thu Jul 13 17:42:14 2000
-+++ configure.in Mon Oct 2 23:24:49 2000
-@@ -174,15 +174,19 @@
- GALE_LIBS="$GALE_LIBS -lrsaref"
- fi
-
-+AC_CHECK_LIB(resolv,res_init,[
-+ RESOLV_LIBS="-lresolv"
-+])
-+
- AC_MSG_CHECKING([for local copy of liboop])
- if test -f "${srcdir}/liboop/oop.h"; then
- AC_MSG_RESULT(yes)
- CPPFLAGS="-I\${top_srcdir}/liboop $CPPFLAGS"
- build_liboop=true
- AC_CHECK_LIB(adns,adns_init,[
-- GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop-adns.la -ladns -lresolv"
-+ GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop-adns.la -ladns ${RESOLV_LIBS}"
- AC_DEFINE(HAVE_ADNS)
-- ],[:],-lresolv)
-+ ],[:],$RESOLV_LIBS)
- GALE_LIBS="$GALE_LIBS \${top_builddir}/liboop/liboop.la"
- else
- AC_MSG_RESULT(no)
diff --git a/net-im/gale/files/patch-configure b/net-im/gale/files/patch-configure
new file mode 100644
index 000000000000..0ea0fc4319aa
--- /dev/null
+++ b/net-im/gale/files/patch-configure
@@ -0,0 +1,13 @@
+--- configure.orig Mon Jul 2 18:23:09 2001
++++ configure Mon Jul 2 18:23:19 2001
+@@ -3475,10 +3475,6 @@
+ *) # Relative path.
+ ac_sub_cache_file="$ac_dots$cache_file" ;;
+ esac
+- case "$ac_given_INSTALL" in
+- [/$]*) INSTALL="$ac_given_INSTALL" ;;
+- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+- esac
+
+ echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
+ # The eval makes quoting arguments work.
diff --git a/net-im/gale/files/patch-crypto b/net-im/gale/files/patch-crypto
new file mode 100644
index 000000000000..a32964ccf76f
--- /dev/null
+++ b/net-im/gale/files/patch-crypto
@@ -0,0 +1,12 @@
+--- libgale/crypto_i.c.orig Mon Jul 2 17:33:39 2001
++++ libgale/crypto_i.c Mon Jul 2 17:38:27 2001
+@@ -3,7 +3,9 @@
+ #include <openssl/rand.h>
+ #include <openssl/err.h>
+
++#ifndef __FreeBSD__
+ #include <sys/vfs.h>
++#endif /* __FreeBSD__ */
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
diff --git a/net-im/gale/files/patch-wcwidth b/net-im/gale/files/patch-wcwidth
new file mode 100644
index 000000000000..df5b644e4610
--- /dev/null
+++ b/net-im/gale/files/patch-wcwidth
@@ -0,0 +1,14 @@
+--- libgale/wcwidth.c.orig Mon Jul 2 17:35:54 2001
++++ libgale/wcwidth.c Mon Jul 2 17:37:48 2001
+@@ -6,7 +6,11 @@
+ * Markus Kuhn -- 2000-02-08 -- public domain
+ */
+
++#ifdef __FreeBSD__
++#include <rune.h>
++#else /* __FreeBSD__ */
+ #include <wchar.h>
++#endif /* __FreeBSD__ */
+
+ /* These functions define the column width of an ISO 10646 character
+ * as follows:
diff --git a/net-im/gale/pkg-plist b/net-im/gale/pkg-plist
index 1ac315340cef..2ccb07f71354 100644
--- a/net-im/gale/pkg-plist
+++ b/net-im/gale/pkg-plist
@@ -7,7 +7,6 @@ bin/gkinfo
bin/gksign
bin/gsend
bin/gsub
-bin/gwatch
etc/gale/COPYING
etc/gale/auth/trusted/ROOT
include/gale/all.h
@@ -16,8 +15,10 @@ include/gale/client.h
include/gale/compat.h
include/gale/config.h
include/gale/core.h
+include/gale/crypto.h
include/gale/globals.h
include/gale/gsubrc.h
+include/gale/key.h
include/gale/misc.h
include/gale/types.h
include/oop-adns.h
@@ -27,15 +28,19 @@ include/oop.h
lib/libgale.a
lib/libgale.la
lib/libgale.so
-lib/libgale.so.10
+lib/libgale.so.11
lib/liboop-adns.a
lib/liboop-adns.la
lib/liboop-adns.so
-lib/liboop-adns.so.1
+lib/liboop-adns.so.2
lib/liboop-glib.a
lib/liboop-glib.la
lib/liboop-glib.so
-lib/liboop-glib.so.0
+lib/liboop-glib.so.1
+lib/liboop-rl.a
+lib/liboop-rl.la
+lib/liboop-rl.so
+lib/liboop-rl.so.0
lib/liboop-www.a
lib/liboop-www.la
lib/liboop-www.so
@@ -43,7 +48,7 @@ lib/liboop-www.so.0
lib/liboop.a
lib/liboop.la
lib/liboop.so
-lib/liboop.so.2
+lib/liboop.so.3
sbin/gksign
@dirrm include/gale
@dirrm etc/gale/auth/trusted