pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/pardiff Make this build on Mac OS X.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6a9ddd8dd587
branches: trunk
changeset: 542241:6a9ddd8dd587
user: agc <agc%pkgsrc.org@localhost>
date: Fri May 09 18:30:49 2008 +0000
description:
Make this build on Mac OS X.
diffstat:
devel/pardiff/distinfo | 6 +++---
devel/pardiff/patches/patch-aa | 4 ++--
devel/pardiff/patches/patch-ab | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diffs (52 lines):
diff -r 44a8d7236d6a -r 6a9ddd8dd587 devel/pardiff/distinfo
--- a/devel/pardiff/distinfo Fri May 09 17:01:58 2008 +0000
+++ b/devel/pardiff/distinfo Fri May 09 18:30:49 2008 +0000
@@ -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 -r 44a8d7236d6a -r 6a9ddd8dd587 devel/pardiff/patches/patch-aa
--- a/devel/pardiff/patches/patch-aa Fri May 09 17:01:58 2008 +0000
+++ b/devel/pardiff/patches/patch-aa Fri May 09 18:30:49 2008 +0000
@@ -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 @@
/* 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 -r 44a8d7236d6a -r 6a9ddd8dd587 devel/pardiff/patches/patch-ab
--- a/devel/pardiff/patches/patch-ab Fri May 09 17:01:58 2008 +0000
+++ b/devel/pardiff/patches/patch-ab Fri May 09 18:30:49 2008 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index