pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/unison-devel Added a chunk to patch-ac to fix non-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c3ee7dfc8c4
branches:  trunk
changeset: 497872:8c3ee7dfc8c4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Aug 06 12:44:26 2005 +0000

description:
Added a chunk to patch-ac to fix non-ISO-C90 code.

diffstat:

 net/unison-devel/distinfo         |   4 ++--
 net/unison-devel/patches/patch-ac |  20 ++++++++++++++++----
 2 files changed, 18 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r 24cf34508965 -r 8c3ee7dfc8c4 net/unison-devel/distinfo
--- a/net/unison-devel/distinfo Sat Aug 06 12:29:25 2005 +0000
+++ b/net/unison-devel/distinfo Sat Aug 06 12:44:26 2005 +0000
@@ -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 -r 24cf34508965 -r 8c3ee7dfc8c4 net/unison-devel/patches/patch-ac
--- a/net/unison-devel/patches/patch-ac Sat Aug 06 12:29:25 2005 +0000
+++ b/net/unison-devel/patches/patch-ac Sat Aug 06 12:44:26 2005 +0000
@@ -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 @@
  #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;



Home | Main Index | Thread Index | Old Index