summaryrefslogtreecommitdiffstats
path: root/main/gcc/gcc-spec-env.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-28 03:01:22 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-28 03:01:22 -0500
commitf260a7f562cfefb8097041a1458c97b4859f2900 (patch)
treed8569d91ff478ac01b59dd37c90eaecdcd4082c6 /main/gcc/gcc-spec-env.patch
parent483bab0868b4286248a3f8ff6ea817fdeb993356 (diff)
downloadaports-f260a7f562cfefb8097041a1458c97b4859f2900.tar.bz2
aports-f260a7f562cfefb8097041a1458c97b4859f2900.tar.xz
Revert "main/gcc: upgrade to 4.6.0"
Too many issues before freeze to be system compiler. This reverts commit 747f87be523e41dc48e026c813b013e30334f79f.
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 f891d57f5..9d5e666a5 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().
+ */
-+ specs_file = getenv("GCC_SPECS");
++ GET_ENVIRONMENT (specs_file, "GCC_SPECS");
+ if (specs_file && (strlen(specs_file) > 0))
+ {
+ char *spec, *saveptr;