--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/screen/misc.c.patch Mon Feb 14 01:11:45 2011 -0800
@@ -0,0 +1,12 @@
+--- screen-4.0.2/misc.c 2003-12-05 19:15:41.000000000 +0530
++++ screen-4.0.2/misc.c 2006-04-03 16:46:19.150133000 +0530
+@@ -613,7 +613,7 @@
+ */
+ # endif /* NEEDSETENV */
+ #else /* USESETENV */
+-# if defined(linux) || defined(__convex__) || (BSD >= 199103)
++# if defined(linux) || defined(__convex__) || (BSD >= 199103) || (__sun)
+ setenv(var, value, 1);
+ # else
+ setenv(var, value);
+