summaryrefslogtreecommitdiff
path: root/devel/ptl2
diff options
context:
space:
mode:
authortron <tron>1999-05-02 16:53:00 +0000
committertron <tron>1999-05-02 16:53:00 +0000
commite41cb803adbbc8b502385df9a638ca657bcc9284 (patch)
tree2ba8e1a43da1f8b4824986d088e7469590b7b83c /devel/ptl2
parent9d765b0e69072c54cee5b1eb59364630bf8bfec5 (diff)
downloadpkgsrc-e41cb803adbbc8b502385df9a638ca657bcc9284.tar.gz
Add missing prototypes to PTL's "include/arpa/inet.h". Patch supplied
by Michael Graff in PR pkg/7507.
Diffstat (limited to 'devel/ptl2')
-rw-r--r--devel/ptl2/patches/patch-ad15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/ptl2/patches/patch-ad b/devel/ptl2/patches/patch-ad
new file mode 100644
index 00000000000..75e86c913fa
--- /dev/null
+++ b/devel/ptl2/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 1999/05/02 16:53:00 tron Exp $
+
+--- include/arpa/inet.h.orig Sat May 1 21:51:06 1999
++++ include/arpa/inet.h Sat May 1 21:53:11 1999
+@@ -56,6 +56,11 @@
+ char * inet_ntoa __PTL_P((struct in_addr));
+ char * inet_ntoa_r __PTL_P((struct in_addr in, char *buf,
+ int bufsize));
++#if defined(__NetBSD__)
++int inet_pton __PTL_P((int, const char *, void *));
++const char *inet_ntop __PTL_P((int, const void *,
++ char *, size_t));
++#endif
+
+ __PTL_END_DECLS