summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-09-27 04:01:32 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-09-27 04:01:32 +0000
commit8936575cb8db4ae09e35151e4b6f8ddbe8df5586 (patch)
tree13e7585cb074ca53fc56af5fdf14847d9b32ebd8 /print
parent98befe5f99e00c090307f4636ee2ceebd28688ec (diff)
downloadpkgsrc-8936575cb8db4ae09e35151e4b6f8ddbe8df5586.tar.gz
fix compilation on sparc (all big endian machines?).
Diffstat (limited to 'print')
-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..2b4de3b5a6e 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.3 2002/09/27 04:01:32 dmcmahill 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..62f1c233a7e
--- /dev/null
+++ b/print/LPRng-core/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2002/09/27 04:01:32 dmcmahill 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 );
+