summaryrefslogtreecommitdiff
path: root/misc/screen/patches/patch-aq
blob: 5bb7f3c2c767607c292dd4777b4fc3fca269509d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aq,v 1.1 2005/12/10 23:28:13 rillig Exp $

In Solaris 10, the setenv() function has been added.

--- misc.c.orig	2003-12-05 14:45:41.000000000 +0100
+++ misc.c	2005-12-11 00:23:50.130241500 +0100
@@ -613,7 +613,7 @@ char *value;
    */
 # endif /* NEEDSETENV */
 #else /* USESETENV */
-# if defined(linux) || defined(__convex__) || (BSD >= 199103)
+# if defined(linux) || defined(__convex__) || (BSD >= 199103) || defined(__sun)
   setenv(var, value, 1);
 # else
   setenv(var, value);