diff options
author | wrstuden <wrstuden@pkgsrc.org> | 1999-08-31 22:09:42 +0000 |
---|---|---|
committer | wrstuden <wrstuden@pkgsrc.org> | 1999-08-31 22:09:42 +0000 |
commit | 08b5ce4b6877da83d98283960a49b69415763c03 (patch) | |
tree | 4c2b3388653eaad703e12eeab06417e2da83972f /net/netatalk/patches/patch-ag | |
parent | e8a3e20748f042c68973a59eae1c391bf4f46a3f (diff) | |
download | pkgsrc-08b5ce4b6877da83d98283960a49b69415763c03.tar.gz |
Fix two PRs on this package, and make it compile on macppc.
Sample files are installed in pkg/share/examples/netatalk, addressing
PR 7920 by rnestor@metronet.com.
Now include elf support, addressing PR 8125 by Takahiro Kambe,
<taca@sky.yamashina.kyoto.jp> with slight changes by me.
Cleaned up some lint warnings and fixed an unsigned character comparison
problem with assistance from cgd@netbsd.org.
Disabled building of libatalk_p.a (profiling libatalk) as not all ports
support it which will generate plist errors.
Diffstat (limited to 'net/netatalk/patches/patch-ag')
-rw-r--r-- | net/netatalk/patches/patch-ag | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/net/netatalk/patches/patch-ag b/net/netatalk/patches/patch-ag index ee41c53ec31..391c830888a 100644 --- a/net/netatalk/patches/patch-ag +++ b/net/netatalk/patches/patch-ag @@ -1,9 +1,21 @@ -$NetBSD: patch-ag,v 1.1.1.1 1998/12/26 22:09:27 agc Exp $ +$NetBSD: patch-ag,v 1.2 1999/08/31 22:09:43 wrstuden Exp $ ---- /dev/null Mon Oct 26 13:12:53 1998 -+++ libatalk/asp/Makefile.inc Mon Oct 26 13:19:11 1998 -@@ -0,0 +1,4 @@ -+.PATH: ${.CURDIR}/asp -+ -+SRCS+= asp_close.c asp_cmdreply.c asp_getreq.c -+SRCS+= asp_getsess.c asp_init.c asp_write.c asp_shutdown.c +--- etc/papd/session.c Wed Sep 23 07:15:11 1998 ++++ etc/papd/session.c Mon Aug 30 06:47:42 1999 +@@ -3,6 +3,7 @@ + * All Rights Reserved. See COPYRIGHT. + */ + ++#include <string.h> + #include <sys/types.h> + #include <sys/syslog.h> + #include <sys/time.h> +@@ -53,7 +54,7 @@ + fd_set fds; + char cbuf[ 578 ]; + int i, cc, timeout = 0, readpending = 0; +- u_short seq = 1, rseq = 1, netseq; ++ u_short seq = 0, rseq = 1, netseq; + u_char readport; + + infile.pf_state = PF_BOT; |