f12ee9219b
new bootstrap compiler and fix so that it builds under -current. Approved by: portmgr
30 lines
641 B
Text
30 lines
641 B
Text
*** ada/a-adaint.c.orig Thu Oct 24 04:02:15 2002
|
|
--- ada/a-adaint.c Fri Nov 22 09:53:21 2002
|
|
***************
|
|
*** 605,610 ****
|
|
--- 605,612 ----
|
|
|
|
#if defined (linux) && !defined (__vxworks)
|
|
return mkstemp (path);
|
|
+ #elif defined (__FreeBSD__)
|
|
+ return mkstemp (path);
|
|
#elif defined (__Lynx__)
|
|
mktemp (path);
|
|
#else
|
|
***************
|
|
*** 673,679 ****
|
|
|
|
free (pname);
|
|
}
|
|
! #elif defined (linux)
|
|
char *tmpdir = getenv ("TMPDIR");
|
|
|
|
if (tmpdir == NULL)
|
|
--- 675,681 ----
|
|
|
|
free (pname);
|
|
}
|
|
! #elif defined (linux) || defined (__FreeBSD__)
|
|
char *tmpdir = getenv ("TMPDIR");
|
|
|
|
if (tmpdir == NULL)
|