summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/gv/files/gv-3.6.1-setenv.patch')
-rw-r--r--app-text/gv/files/gv-3.6.1-setenv.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/gv/files/gv-3.6.1-setenv.patch b/app-text/gv/files/gv-3.6.1-setenv.patch
new file mode 100644
index 000000000000..16545a47a33b
--- /dev/null
+++ b/app-text/gv/files/gv-3.6.1-setenv.patch
@@ -0,0 +1,21 @@
+--- src/setenv.c.orig Mon Mar 21 00:17:45 2005
++++ src/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;
+