summaryrefslogtreecommitdiff
path: root/devel/kdevelop-base/patches/patch-ai
blob: 3057cbd44cb1f1505b50a62bd05a66add9fc30ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.2 2007/04/04 13:25:28 joerg Exp $

--- vcs/clearcase/clearcasemanipulator.cpp.orig	2007-01-26 04:41:45.000000000 +1300
+++ vcs/clearcase/clearcasemanipulator.cpp
@@ -20,7 +20,7 @@
 #include <libgen.h>
 #include <errno.h>
 
-#if defined(Q_OS_MACX) || defined(MACOSX)
++#if defined(Q_OS_MACX) || defined(MACOSX) || defined(__NetBSD__) || defined(__DragonFly__) || defined(USE_SOLARIS)
 //this function is taken from GNU libc
 //it does not exist on macos
 int getline(char **lineptr, size_t *n, FILE *stream)