diff options
author | agc <agc@pkgsrc.org> | 2008-05-09 18:30:49 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2008-05-09 18:30:49 +0000 |
commit | 189d58e58fe18517a09f637a563197ec8f75c25f (patch) | |
tree | 7ff8be0843c99ca9d94035d473e4b8379ae39c8b /devel/pardiff | |
parent | fbb329cda23db2138de0a333c9205b5b9cf94bc9 (diff) | |
download | pkgsrc-189d58e58fe18517a09f637a563197ec8f75c25f.tar.gz |
Make this build on Mac OS X.
Diffstat (limited to 'devel/pardiff')
-rw-r--r-- | devel/pardiff/distinfo | 6 | ||||
-rw-r--r-- | devel/pardiff/patches/patch-aa | 4 | ||||
-rw-r--r-- | devel/pardiff/patches/patch-ab | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/devel/pardiff/distinfo b/devel/pardiff/distinfo index ee577ad2295..46ac9a14982 100644 --- a/devel/pardiff/distinfo +++ b/devel/pardiff/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.5 2006/01/09 17:57:15 joerg Exp $ +$NetBSD: distinfo,v 1.6 2008/05/09 18:30:49 agc Exp $ SHA1 (pardiff-0.9.4.tar.gz) = 285248293feb87a03d410caa9193c4ac47f9942d RMD160 (pardiff-0.9.4.tar.gz) = a573efe90c9bcdb2bad85c3c7a2240b0db5878ab Size (pardiff-0.9.4.tar.gz) = 40325 bytes -SHA1 (patch-aa) = 04d6ee8e9ca5c939c5729beb171f81c04a6c46f2 -SHA1 (patch-ab) = 7916dc6cc60468e338a8d349baed07d6e153ae6d +SHA1 (patch-aa) = 9b2853227cf79bf4d0cf7641bce24f9bf82039cb +SHA1 (patch-ab) = fdd5abd1e5c7107ba3d7ed74a21073383acf9d2b diff --git a/devel/pardiff/patches/patch-aa b/devel/pardiff/patches/patch-aa index 07a6f89fb4a..daf01389ea7 100644 --- a/devel/pardiff/patches/patch-aa +++ b/devel/pardiff/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.4 2006/01/09 17:57:15 joerg Exp $ +$NetBSD: patch-aa,v 1.5 2008/05/09 18:30:49 agc Exp $ --- pardiff/pardiff.h.orig 2006-01-09 17:36:02.000000000 +0000 +++ pardiff/pardiff.h @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.4 2006/01/09 17:57:15 joerg Exp $ /* include files to determine the width of the output terminal */ #include <fcntl.h> -#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ -+#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __DragonFly__ ++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) #include <sys/ttycom.h> #else #include <termio.h> diff --git a/devel/pardiff/patches/patch-ab b/devel/pardiff/patches/patch-ab index 5d540e0a1ef..d7eaa5aaafd 100644 --- a/devel/pardiff/patches/patch-ab +++ b/devel/pardiff/patches/patch-ab @@ -1,13 +1,13 @@ -$NetBSD: patch-ab,v 1.4 2006/01/09 17:57:15 joerg Exp $ +$NetBSD: patch-ab,v 1.5 2008/05/09 18:30:49 agc Exp $ --- pardiff/pardiff.c.orig 2006-01-09 17:50:29.000000000 +0000 +++ pardiff/pardiff.c -@@ -287,7 +287,7 @@ pardiff_main ( +@@ -287,7 +287,7 @@ * Preprocess lines to get a consistent EOL */ if (convertCrlf) { -#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ -+#if defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __DragonFly__ ++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__APPLE__) line_len = strlen(nextline); #else line_len = strnlen(nextline, PARDIFF_LINE_BUF_SIZE); |