diff options
author | thierry <thierry@FreeBSD.org> | 2007-07-07 05:39:06 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2007-07-07 05:39:06 +0800 |
commit | e220613de85f25495be341d55cf1f2f9bde9dd4c (patch) | |
tree | 9312e8a18f8d2090d598c18c8c1533c96da5c26d /textproc | |
parent | 21b1cd5d4b76141bccc0fc9c9c9a61a7c5791148 (diff) | |
download | freebsd-ports-gnome-e220613de85f25495be341d55cf1f2f9bde9dd4c.tar.gz freebsd-ports-gnome-e220613de85f25495be341d55cf1f2f9bde9dd4c.tar.zst freebsd-ports-gnome-e220613de85f25495be341d55cf1f2f9bde9dd4c.zip |
1- Fix build with gcc-42;
2- Correct pkg-descr.
Reported by: pointyhat via pav (1)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/sowing/files/patch-src_sys_arch.c | 21 | ||||
-rw-r--r-- | textproc/sowing/pkg-descr | 2 |
2 files changed, 22 insertions, 1 deletions
diff --git a/textproc/sowing/files/patch-src_sys_arch.c b/textproc/sowing/files/patch-src_sys_arch.c new file mode 100644 index 000000000000..5a7f73e82b31 --- /dev/null +++ b/textproc/sowing/files/patch-src_sys_arch.c @@ -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 ); diff --git a/textproc/sowing/pkg-descr b/textproc/sowing/pkg-descr index 933377151af0..b4d76c2db776 100644 --- a/textproc/sowing/pkg-descr +++ b/textproc/sowing/pkg-descr @@ -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/ |