From d88b781b263deffe9969f33108f404c1dc428f06 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Fri, 6 Jul 2007 21:39:06 +0000 Subject: [PATCH] 1- Fix build with gcc-42; 2- Correct pkg-descr. Reported by: pointyhat via pav (1) --- textproc/sowing/files/patch-src_sys_arch.c | 21 +++++++++++++++++++++ textproc/sowing/pkg-descr | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 textproc/sowing/files/patch-src_sys_arch.c 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/