diff options
author | obrien <obrien@FreeBSD.org> | 1998-08-13 17:55:40 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-08-13 17:55:40 +0000 |
commit | 2f5a4e942f5f252ddd7f947f8f3a73ee8b272e9c (patch) | |
tree | c22805ae80387828c101b279e0233c81bd4733be /lang/gcc28/files/patch-04 | |
parent | ff7288a01888859eeecaf442ecb4e122053cbf4e (diff) | |
download | FreeBSD-ports-2f5a4e942f5f252ddd7f947f8f3a73ee8b272e9c.zip FreeBSD-ports-2f5a4e942f5f252ddd7f947f8f3a73ee8b272e9c.tar.gz |
* Minor bug fixes from OpenBSD (and some stuff to ease diff'ing in the future)
* Some initial support for FreeBSD-alpha
* Add some optimizations required by g77, which still might be of some use
to adventuring C/C++ programmers.
Obtained from: OpenBSD (parts)
Diffstat (limited to 'lang/gcc28/files/patch-04')
-rw-r--r-- | lang/gcc28/files/patch-04 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/gcc28/files/patch-04 b/lang/gcc28/files/patch-04 new file mode 100644 index 0000000..cf942a2 --- /dev/null +++ b/lang/gcc28/files/patch-04 @@ -0,0 +1,20 @@ +--- choose-temp.c.orig Thu Dec 4 06:17:56 1997 ++++ choose-temp.c Tue Aug 11 04:05:05 1998 +@@ -107,12 +107,17 @@ + base = try (getenv ("TMP"), base); + base = try (getenv ("TEMP"), base); + ++#ifdef COMMENT_OUT /* XXX - P_tmpdir is not /tmp in 4.4BSD */ + #ifdef P_tmpdir + base = try (P_tmpdir, base); + #endif ++#endif /* XXX */ + + /* Try /usr/tmp, then /tmp. */ ++#ifdef COMMENT_OUT /* XXX - want /tmp used, peroid. Sometimes pkg_add can ++ create a /usr/tmp, so beware. */ + base = try (usrtmp, base); ++#endif /* XXX */ + base = try (tmp, base); + + /* If all else fails, use the current directory! */ |