aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/gcc-spec-env.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-26 17:49:23 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-26 17:49:45 -0500
commit747f87be523e41dc48e026c813b013e30334f79f (patch)
treea11d69a5b2ac2434138c69a7db58849d92801ece /main/gcc/gcc-spec-env.patch
parent7bc48c254509bd5d03f785e2c0ce90d1bf3186f4 (diff)
downloadaports-747f87be523e41dc48e026c813b013e30334f79f.tar.bz2
aports-747f87be523e41dc48e026c813b013e30334f79f.tar.xz
main/gcc: upgrade to 4.6.0
Diffstat (limited to 'main/gcc/gcc-spec-env.patch')
-rw-r--r--main/gcc/gcc-spec-env.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/gcc/gcc-spec-env.patch b/main/gcc/gcc-spec-env.patch
index 9d5e666a54..f891d57f51 100644
--- a/main/gcc/gcc-spec-env.patch
+++ b/main/gcc/gcc-spec-env.patch
@@ -15,7 +15,7 @@
+ * each spec listed, the string is overwritten at token boundaries
+ * (':') with '\0', an effect of strtok_r().
+ */
-+ GET_ENVIRONMENT (specs_file, "GCC_SPECS");
++ specs_file = getenv("GCC_SPECS");
+ if (specs_file && (strlen(specs_file) > 0))
+ {
+ char *spec, *saveptr;