summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorrillig <rillig>2005-12-10 23:28:13 +0000
committerrillig <rillig>2005-12-10 23:28:13 +0000
commit2d112892cbe855f606933d45fe3d9771e58f41ed (patch)
tree4f02ae9ac7e1e4e85ac79877c5fd87ea8984d6cb /misc
parent8fdc8015febba3248aeb6ee2933b36ccd5d3555d (diff)
downloadpkgsrc-2d112892cbe855f606933d45fe3d9771e58f41ed.tar.gz
Added patch-aq, which makes screen use the setenv() function with three
parameters instead of the one with two parameters. The setenv() function has been added to Solaris recently, so this wasn't necessary before. Should fix PR 32273.
Diffstat (limited to 'misc')
-rw-r--r--misc/screen/distinfo3
-rw-r--r--misc/screen/patches/patch-aq15
2 files changed, 17 insertions, 1 deletions
diff --git a/misc/screen/distinfo b/misc/screen/distinfo
index f9ac10a7861..4450eb9a81c 100644
--- a/misc/screen/distinfo
+++ b/misc/screen/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2005/11/08 12:58:47 joerg Exp $
+$NetBSD: distinfo,v 1.26 2005/12/10 23:28:13 rillig Exp $
SHA1 (screen-4.0.2.tar.gz) = 461eb9d5edc211e1480d7b5e94d89c4d9ba3643f
RMD160 (screen-4.0.2.tar.gz) = 42aea3d27ed25104f2a48606ea73234b715e480f
@@ -15,3 +15,4 @@ SHA1 (patch-am) = 5fdc32f33ebbb5385292919f6cd01bedc30491d9
SHA1 (patch-an) = 79d84b0caaad6044cf81c0fcfc1cd8470c9378d8
SHA1 (patch-ao) = 81b0d64dd5918cd4d6fbc02dff0470a441a200d4
SHA1 (patch-ap) = e44fa5dd2cadb307f12291ed67ca3f1cc03f8297
+SHA1 (patch-aq) = 997a0ce76086f1dd966868b1fc9ca3bb96b4b4fb
diff --git a/misc/screen/patches/patch-aq b/misc/screen/patches/patch-aq
new file mode 100644
index 00000000000..5bb7f3c2c76
--- /dev/null
+++ b/misc/screen/patches/patch-aq
@@ -0,0 +1,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);