diff options
author | agc <agc> | 2002-10-09 18:51:29 +0000 |
---|---|---|
committer | agc <agc> | 2002-10-09 18:51:29 +0000 |
commit | 9e3f9463ec1d3f911f09b187da35af448cd93113 (patch) | |
tree | 71879a9fcdf4bdd7a9304519d2a19d1eeafe35f4 /print/LPRng-core/patches/patch-aa | |
parent | e7fc49a55347c373949d1540f000b08004a0b836 (diff) | |
download | pkgsrc-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.
Diffstat (limited to 'print/LPRng-core/patches/patch-aa')
-rw-r--r-- | print/LPRng-core/patches/patch-aa | 15 |
1 files changed, 15 insertions, 0 deletions
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 ); + |