summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/patches/patch-ca
blob: 03793a1b377d8fa379c4d675281b82a9d776cc95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ca,v 1.2 2002/08/25 19:23:56 jlam Exp $

--- kdesu/kdesu_pty.cpp.orig	Mon Aug 19 20:55:44 2002
+++ kdesu/kdesu_pty.cpp
@@ -20,7 +20,7 @@
 #define _GNU_SOURCE   /* Needed for getpt, ptsname in glibc 2.1.x systems */
 #endif
 
-#if !defined(_XOPEN_SOURCE) && !defined(__osf__)
+#if !defined(_XOPEN_SOURCE) && !defined(__osf__) && !defined(__NetBSD__)
 #define _XOPEN_SOURCE /* Needed for grantpt, unlockpt in glibc 2.1.x      */
 #endif