pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/monotone Added a patch that #includes <unistd.h>...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/361bde8aae88
branches:  trunk
changeset: 493578:361bde8aae88
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon May 09 23:50:05 2005 +0000

description:
Added a patch that #includes <unistd.h> for non-Win32 systems. Approved
by xtraeme.

diffstat:

 devel/monotone/distinfo         |   3 ++-
 devel/monotone/patches/patch-aa |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 0de3def12c6c -r 361bde8aae88 devel/monotone/distinfo
--- a/devel/monotone/distinfo   Mon May 09 23:46:46 2005 +0000
+++ b/devel/monotone/distinfo   Mon May 09 23:50:05 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2005/05/04 12:17:59 jmmv Exp $
+$NetBSD: distinfo,v 1.8 2005/05/09 23:50:05 rillig Exp $
 
 SHA1 (monotone-0.19.tar.gz) = 49a4094ecc0ca817c193bd10158d3e4f6af11cbc
 RMD160 (monotone-0.19.tar.gz) = 9bcc5f9a5d03b452f49e4d6dacda682e1f3f6a64
 Size (monotone-0.19.tar.gz) = 4796447 bytes
+SHA1 (patch-aa) = 173b48dea55518a7d4c23d90a6a958339f26f4ac
diff -r 0de3def12c6c -r 361bde8aae88 devel/monotone/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone/patches/patch-aa   Mon May 09 23:50:05 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.4 2005/05/09 23:50:06 rillig Exp $
+
+Needed for chdir() on POSIX systems.
+
+--- app_state.cc.orig  Sun May  1 08:09:52 2005
++++ app_state.cc       Mon May  9 19:42:52 2005
+@@ -3,6 +3,8 @@
+ #include <vector>
+ #ifdef WIN32
+ #include <io.h> /* for chdir() */
++#else
++#include <unistd.h>
+ #endif
+ #include <cstdlib>              // for strtoul()
+ 



Home | Main Index | Thread Index | Old Index