pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/netatalk Fix build with gcc2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6af852ebdd8
branches:  trunk
changeset: 483083:f6af852ebdd8
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Nov 07 12:21:27 2004 +0000

description:
Fix build with gcc2.

diffstat:

 net/netatalk/distinfo         |   5 +++--
 net/netatalk/patches/patch-aa |  15 ++++++++++++---
 net/netatalk/patches/patch-aj |  21 +++++++++++++++++++++
 3 files changed, 36 insertions(+), 5 deletions(-)

diffs (72 lines):

diff -r 3d24280b1700 -r f6af852ebdd8 net/netatalk/distinfo
--- a/net/netatalk/distinfo     Sun Nov 07 11:20:58 2004 +0000
+++ b/net/netatalk/distinfo     Sun Nov 07 12:21:27 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.13 2004/11/03 20:53:15 markd Exp $
+$NetBSD: distinfo,v 1.14 2004/11/07 12:21:27 markd Exp $
 
 SHA1 (netatalk-2.0.1.tar.bz2) = b61fd7595b8d03971fbd6c0dce0ed307e8916628
 Size (netatalk-2.0.1.tar.bz2) = 1465827 bytes
-SHA1 (patch-aa) = 23c68f79a8eb8c360cd11f47a88d890b8fc88ab1
+SHA1 (patch-aa) = 038971eea8da4fbab0596b87aa0c2f8d01493a15
 SHA1 (patch-ab) = 057a8a4ef188068237550199e2c87db0c0cc5dfd
 SHA1 (patch-ac) = 18d3bff990ddb78146d1e1d2f9e07d6826a7bfd2
 SHA1 (patch-ad) = 311d00d165688d4baa1365ba6c4147bd6293f3d8
@@ -10,3 +10,4 @@
 SHA1 (patch-ag) = c99fdca284c08577194f0c8820f724793841208f
 SHA1 (patch-ah) = 318626f5c6d21f025ae5e08c9da76bd4c493f7e6
 SHA1 (patch-ai) = e8f453569db891100221f27bf579c66a18a650b7
+SHA1 (patch-aj) = f28c7ff090794e975ad6d0a0b5f31e03e953d409
diff -r 3d24280b1700 -r f6af852ebdd8 net/netatalk/patches/patch-aa
--- a/net/netatalk/patches/patch-aa     Sun Nov 07 11:20:58 2004 +0000
+++ b/net/netatalk/patches/patch-aa     Sun Nov 07 12:21:27 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.11 2004/11/02 11:26:28 markd Exp $
+$NetBSD: patch-aa,v 1.12 2004/11/07 12:21:27 markd Exp $
 
---- configure.orig     2004-09-15 23:44:25.000000000 +1200
+--- configure.orig     Thu Oct 28 03:42:21 2004
 +++ configure
-@@ -19013,7 +19013,7 @@ if test "${enable_krbV_uam+set}" = set; 
+@@ -18960,7 +18960,7 @@ if test "${enable_krbV_uam+set}" = set; 
                if test x"$enableval" = x"yes"; then
  
        FOUND_GSSAPI=no
@@ -11,3 +11,12 @@
        GSSAPI_CFLAGS=""
  
  
+@@ -19175,7 +19175,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #include <$ac_header>
+ _ACEOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
+-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
++  (eval $ac_cpp $ac_env_CPPFLAGS_value conftest.$ac_ext) 2>conftest.er1
+   ac_status=$?
+   grep -v '^ *+' conftest.er1 >conftest.err
+   rm -f conftest.er1
diff -r 3d24280b1700 -r f6af852ebdd8 net/netatalk/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netatalk/patches/patch-aj     Sun Nov 07 12:21:27 2004 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aj,v 1.4 2004/11/07 12:21:27 markd Exp $
+
+--- etc/uams/uams_gss.c.orig   Mon Nov  8 12:22:44 2004
++++ etc/uams/uams_gss.c
+@@ -135,6 +135,7 @@ static int do_gss_auth( char *service, c
+      * we should be able to detect it.
+      */
+     gss_buffer_desc s_princ_buffer;
++    u_int16_t auth_len;
+ 
+     s_princ_buffer.value = service;
+     s_princ_buffer.length = strlen( service ) + 1;
+@@ -209,7 +210,7 @@ static int do_gss_auth( char *service, c
+           if (wrap_buff.value)
+               gss_release_buffer( &minor_status, &wrap_buff );
+ 
+-          u_int16_t auth_len = htons( authenticator_buff.length );
++          auth_len = htons( authenticator_buff.length );
+           /* save the username... note that doing it this way is
+            * not the best idea: if a principal is truncated, a user could be
+            * impersonated



Home | Main Index | Thread Index | Old Index