summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc>2002-10-09 18:51:29 +0000
committeragc <agc>2002-10-09 18:51:29 +0000
commit9e3f9463ec1d3f911f09b187da35af448cd93113 (patch)
tree71879a9fcdf4bdd7a9304519d2a19d1eeafe35f4
parente7fc49a55347c373949d1540f000b08004a0b836 (diff)
downloadpkgsrc-9e3f9463ec1d3f911f09b187da35af448cd93113.tar.gz
Pullup rev 1.1 of pkgsrc/print/LPRng-core/patches/patch-aa onto the
netbsd-1-6 pkgsrc branch, and regen the distinfo file. Requested by Dan McMahill. Use the result of the autoconf check for inet_ntop and don't include a bad prototype if this exists. Fixes compilation problems seen on sparc.
-rw-r--r--print/LPRng-core/distinfo3
-rw-r--r--print/LPRng-core/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
diff --git a/print/LPRng-core/distinfo b/print/LPRng-core/distinfo
index 68ff39a8227..479f773d976 100644
--- a/print/LPRng-core/distinfo
+++ b/print/LPRng-core/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:41:48 agc Exp $
+$NetBSD: distinfo,v 1.2.8.1 2002/10/09 18:51:29 agc Exp $
SHA1 (LPRng-3.6.26.tgz) = 9ca6e7eff9acbcaad81109e34a47cab1675fc030
Size (LPRng-3.6.26.tgz) = 2135703 bytes
+SHA1 (patch-aa) = b205c5fb93c47bd8cbfce6fecc765e9c4101d7c6
SHA1 (patch-ac) = 18672f47fd9fcb8288c070a89278ecb1c8ee8242
diff --git a/print/LPRng-core/patches/patch-aa b/print/LPRng-core/patches/patch-aa
new file mode 100644
index 00000000000..947ca0d7ea9
--- /dev/null
+++ b/print/LPRng-core/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.2.2 2002/10/09 18:51:30 agc Exp $
+
+--- src/include/linksupport.h.orig Fri Oct 13 11:08:35 2000
++++ src/include/linksupport.h
+@@ -42,8 +42,10 @@ const char *Link_err_str (int n);
+ const char *Ack_err_str (int n);
+ int AF_Protocol(void);
+ int inet_pton( int family, const char *strptr, void *addr );
++#ifndef HAVE_INET_NTOP
+ const char *inet_ntop( int family, const void *addr,
+ char *str, size_t len );
++#endif
+ const char *inet_ntop_sockaddr( struct sockaddr *addr,
+ char *str, int len );
+