summaryrefslogtreecommitdiff
path: root/lang/tcl85/files/patch-tclUnixPort.h
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2015-06-24 07:46:58 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2015-06-24 07:46:58 +0000
commit70e4722e89eb8d63aaaf0f480b7d4ade5e0868ab (patch)
tree447481c99b13b7834e1ca617e9d3dc68320f2ed7 /lang/tcl85/files/patch-tclUnixPort.h
parentUpdate to the 20150623 snapshot of GCC 5. (diff)
- Add a couple of symlinks needed by databases/casstcl
- Bump PORTREVISION - While at it, make makepatch-ify
Notes
Notes: svn path=/head/; revision=390470
Diffstat (limited to 'lang/tcl85/files/patch-tclUnixPort.h')
-rw-r--r--lang/tcl85/files/patch-tclUnixPort.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/tcl85/files/patch-tclUnixPort.h b/lang/tcl85/files/patch-tclUnixPort.h
new file mode 100644
index 000000000000..d91d22a955e8
--- /dev/null
+++ b/lang/tcl85/files/patch-tclUnixPort.h
@@ -0,0 +1,13 @@
+--- tclUnixPort.h.orig 2015-02-12 15:13:16 UTC
++++ tclUnixPort.h
+@@ -625,7 +625,9 @@ typedef int socklen_t;
+ # include <pthread.h>
+ /* #define localtime(x) TclpLocaltime(x)
+ * #define gmtime(x) TclpGmtime(x) */
+-# undef inet_ntoa
++# ifdef inet_ntoa
++# undef inet_ntoa
++# endif
+ # define inet_ntoa(x) TclpInetNtoa(x)
+ # ifdef HAVE_PTHREAD_ATTR_GET_NP
+ # define TclpPthreadGetAttrs pthread_attr_get_np