summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/gv/files')
-rw-r--r--app-text/gv/files/gv-3.5.8-setenv.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/gv/files/gv-3.5.8-setenv.diff b/app-text/gv/files/gv-3.5.8-setenv.diff
new file mode 100644
index 000000000000..6c4ef2c26b26
--- /dev/null
+++ b/app-text/gv/files/gv-3.5.8-setenv.diff
@@ -0,0 +1,21 @@
+--- source/setenv.c.orig Mon Mar 21 00:17:45 2005
++++ source/setenv.c Mon Mar 21 00:27:46 2005
+@@ -39,7 +39,7 @@
+ */
+ int
+ setenv(name, value, rewrite)
+- register char *name, *value;
++ const char *name, *value;
+ int rewrite;
+ {
+ extern char **environ;
+@@ -97,7 +97,7 @@
+ */
+ void
+ unsetenv(name)
+- char *name;
++ const char *name;
+ {
+ extern char **environ;
+ register char **P;
+