1- Fix build with gcc-42;

2- Correct pkg-descr.

Reported by:	pointyhat via pav (1)
This commit is contained in:
Thierry Thomas 2007-07-06 21:39:06 +00:00
parent c12838c984
commit d88b781b26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195106
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,21 @@
--- src/sys/arch.c.orig Wed Sep 20 20:01:15 2000
+++ src/sys/arch.c Fri Jul 6 23:08:27 2007
@@ -11,7 +11,7 @@
defined(NeXT) || defined(WIN32)
#undef HAS_UNAME
#endif
-#if defined(dec5000) || defined(rs6000)
+#if defined(dec5000) || defined(rs6000) || defined(__FreeBSD__)
#undef HAS_UNAME
#endif
#if defined(sun4) && defined(sun4Pre41)
@@ -91,6 +91,9 @@
#elif defined(NeXT)
strncpy( str, "NeXT", slen );
+
+#elif defined(__FreeBSD__)
+ strncpy( str, "FreeBSD", slen );
#else
strncpy( str, "Unknown", slen );

View file

@ -1,4 +1,4 @@
Text processing tools developed by Bill Gropp. Text processing tools developed by Bill Gropp.
It is required to build the PETSc & MPICH documentation. It might be used to build the PETSc & MPICH documentation.
WWW: http://www-unix.mcs.anl.gov/petsc/petsc-2/developers/ WWW: http://www-unix.mcs.anl.gov/petsc/petsc-2/developers/