mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
1- Fix build with gcc-42;
2- Correct pkg-descr. Reported by: pointyhat via pav (1)
This commit is contained in:
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
21
textproc/sowing/files/patch-src_sys_arch.c
Normal file
21
textproc/sowing/files/patch-src_sys_arch.c
Normal 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 );
|
|
@ -1,4 +1,4 @@
|
|||
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/
|
||||
|
|
Loading…
Add table
Reference in a new issue