summaryrefslogtreecommitdiff
path: root/net/unison-devel
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-08-06 12:44:26 +0000
committerrillig <rillig@pkgsrc.org>2005-08-06 12:44:26 +0000
commita175190b3c225c1e70e852cee041bb9b39415f91 (patch)
treea68453063020f556b6b4fc831f1daae24419fa22 /net/unison-devel
parent02216dc14b1e95658fe9545506b64b6a425d5ccb (diff)
downloadpkgsrc-a175190b3c225c1e70e852cee041bb9b39415f91.tar.gz
Added a chunk to patch-ac to fix non-ISO-C90 code.
Diffstat (limited to 'net/unison-devel')
-rw-r--r--net/unison-devel/distinfo4
-rw-r--r--net/unison-devel/patches/patch-ac20
2 files changed, 18 insertions, 6 deletions
diff --git a/net/unison-devel/distinfo b/net/unison-devel/distinfo
index 9dcc0fe33e3..39b0e27cfb3 100644
--- a/net/unison-devel/distinfo
+++ b/net/unison-devel/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2005/08/03 12:45:27 tonio Exp $
+$NetBSD: distinfo,v 1.8 2005/08/06 12:44:26 rillig Exp $
SHA1 (unison-2.13.0/unison-2.13.0.tar.gz) = c6eebdff8cd103fd560288b9fbff92703edf29f8
RMD160 (unison-2.13.0/unison-2.13.0.tar.gz) = 423d354806d5c4d982113740c16be99ede4a170c
Size (unison-2.13.0/unison-2.13.0.tar.gz) = 390341 bytes
SHA1 (patch-aa) = 9e10cd0cd5369955c8494d03dedd73116d334aab
SHA1 (patch-ab) = 1718f7648403ca617d562b632260d64632fc462b
-SHA1 (patch-ac) = 0f99bc55a3341493df33812e4a647d24772b6c66
+SHA1 (patch-ac) = 9c2c7ded25b184156ff75ea64f08ec32620beb60
diff --git a/net/unison-devel/patches/patch-ac b/net/unison-devel/patches/patch-ac
index 7bf77509163..aa11b9629e8 100644
--- a/net/unison-devel/patches/patch-ac
+++ b/net/unison-devel/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.4 2005/08/03 12:45:27 tonio Exp $
+$NetBSD: patch-ac,v 1.5 2005/08/06 12:44:26 rillig Exp $
---- pty.c.orig 2005-08-03 11:31:38.000000000 +0200
-+++ pty.c 2005-08-03 11:33:07.000000000 +0200
-@@ -15,7 +15,7 @@
+--- pty.c.orig Mon May 30 14:15:43 2005
++++ pty.c Sat Aug 6 14:41:44 2005
+@@ -15,7 +15,7 @@ extern void uerror (char * cmdname, valu
#define HAS_OPENPTY 1
#endif
@@ -11,3 +11,15 @@ $NetBSD: patch-ac,v 1.4 2005/08/03 12:45:27 tonio Exp $
#include <util.h>
#define HAS_OPENPTY 1
#endif
+@@ -40,9 +40,10 @@ CAMLprim value setControllingTerminal(va
+ /* c_openpty: unit -> (int * Unix.file_descr) */
+ CAMLprim value c_openpty() {
+ int master,slave;
++ value pair;
+ if (openpty(&master,&slave,NULL,NULL,NULL) < 0)
+ uerror("openpty", (value) 0);
+- value pair = alloc_tuple(2);
++ pair = alloc_tuple(2);
+ Store_field(pair,0,Val_int(master));
+ Store_field(pair,1,Val_int(slave));
+ return pair;