summaryrefslogtreecommitdiff
path: root/devel/pardiff/patches/patch-ab
blob: 5d540e0a1ef17096a7762ef6d28403ab84d28dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.4 2006/01/09 17:57:15 joerg Exp $

--- pardiff/pardiff.c.orig	2006-01-09 17:50:29.000000000 +0000
+++ pardiff/pardiff.c
@@ -287,7 +287,7 @@ pardiff_main (
          * 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__
             line_len = strlen(nextline);
 #else
             line_len = strnlen(nextline, PARDIFF_LINE_BUF_SIZE);