summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLina Pezzella <j4rg0n@gentoo.org>2005-04-03 05:54:30 +0000
committerLina Pezzella <j4rg0n@gentoo.org>2005-04-03 05:54:30 +0000
commit9f05c79a734ef734680a432972ad6fe5f0ff903b (patch)
tree96ddf9a887f2ae6e5528459ab9517cb4948e9bff /app-text/gv/files
parentTesting ppc-macos. Makefile and source patches added for Darwin compatibility. (diff)
downloadgentoo-2-9f05c79a734ef734680a432972ad6fe5f0ff903b.tar.gz
gentoo-2-9f05c79a734ef734680a432972ad6fe5f0ff903b.tar.bz2
gentoo-2-9f05c79a734ef734680a432972ad6fe5f0ff903b.zip
Testing ppc-macos. Bug #86072
(Portage version: 2.0.51.19)
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;
+