summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2015-11-07 22:19:46 +0000
committerdholland <dholland@pkgsrc.org>2015-11-07 22:19:46 +0000
commitc2b1d70e903520f4397ce9edacebae0d142d0777 (patch)
tree6109ad6571a2ebf6002018629264cd7778281435 /chat
parent4105406b73c85d6b2d0a587622ecc99f43c49e89 (diff)
downloadpkgsrc-c2b1d70e903520f4397ce9edacebae0d142d0777.tar.gz
Add missing <limits.h>, seen on MacOS.
Diffstat (limited to 'chat')
-rw-r--r--chat/phone/distinfo4
-rw-r--r--chat/phone/patches/patch-client_defs.h16
2 files changed, 11 insertions, 9 deletions
diff --git a/chat/phone/distinfo b/chat/phone/distinfo
index 5dc27bd43ee..e2cc4d3c147 100644
--- a/chat/phone/distinfo
+++ b/chat/phone/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 01:20:23 agc Exp $
+$NetBSD: distinfo,v 1.9 2015/11/07 22:19:46 dholland Exp $
SHA1 (phone-2.0nb1/phone-2.0.tar.gz) = 0d89cc63225ee96d821dd3d8ab310ac5ea69b40a
RMD160 (phone-2.0nb1/phone-2.0.tar.gz) = c43ac0cd5de357cfb5dee1ac1546f2c2926be6ab
SHA512 (phone-2.0nb1/phone-2.0.tar.gz) = 6bca3dc04a35b2604097e512d4520dadeda93a341631b68cc5ae8a837114877baa45d58971d1cc9bfb6d0192a275e566c0cab86f2cbfedaac240b26bed2d7e0b
Size (phone-2.0nb1/phone-2.0.tar.gz) = 45663 bytes
SHA1 (patch-client_Makefile) = 8f501f4dc5fe7f1ef2ce89f618980c8ea0a9e2fc
-SHA1 (patch-client_defs.h) = 1c88fff63c7db4d55ee35692e8882c620f9c1b7d
+SHA1 (patch-client_defs.h) = a2f807945ff17d0f3664789bbe94487e8e31672c
SHA1 (patch-client_misc.c) = 70ce9dec31c95d63eabb17e9c618e91d7c49fd86
SHA1 (patch-conv_Makefile) = fdacf30c339aecaf2326da956196e65bf6c8fe47
SHA1 (patch-conv_convd.c) = 627f5a0d604857681c6c41d999a8ccafb488b316
diff --git a/chat/phone/patches/patch-client_defs.h b/chat/phone/patches/patch-client_defs.h
index 91f7cab418d..a5ef99005bc 100644
--- a/chat/phone/patches/patch-client_defs.h
+++ b/chat/phone/patches/patch-client_defs.h
@@ -1,22 +1,24 @@
-$NetBSD: patch-client_defs.h,v 1.1 2014/09/11 07:15:56 dholland Exp $
+$NetBSD: patch-client_defs.h,v 1.2 2015/11/07 22:19:46 dholland Exp $
- Don't rely on __unused from netbsd's <cdefs.h> existing.
- Use a more portable username size symbol for the sake of Solaris.
+- Also include limits.h to make sure that symbol is defined.
---- client/defs.h~ 2013-01-02 23:00:42.000000000 +0000
+--- client/defs.h.orig 2013-01-02 23:00:42.000000000 +0000
+++ client/defs.h
-@@ -25,6 +25,10 @@
+@@ -24,6 +24,11 @@
+ #include <poll.h>
#include <curses.h>
#include <netdb.h>
-
++#include <limits.h>
++
+#ifndef __unused
+#define __unused __attribute__((__unused__))
+#endif
-+
+
int msgpending;
int killedchild;
- int changed_size;
-@@ -38,7 +38,7 @@ char *mytty; /* tty he's on
+@@ -38,7 +43,7 @@ char *mytty; /* tty he's on
char *home; /* home directory */
const char *shell; /* preferred shell */
char myhost[MAXHOSTNAMELEN]; /* local host name */