aboutsummaryrefslogtreecommitdiff
path: root/textproc/sowing
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-07-06 21:39:06 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-07-06 21:39:06 +0000
commitd88b781b263deffe9969f33108f404c1dc428f06 (patch)
tree8ee81b67aea6f1041e18315293e8968eae15d4ad /textproc/sowing
parentc12838c9849d7d888f38052c268c0e6e671356db (diff)
downloadports-d88b781b263deffe9969f33108f404c1dc428f06.tar.gz
ports-d88b781b263deffe9969f33108f404c1dc428f06.zip
1- Fix build with gcc-42;
2- Correct pkg-descr. Reported by: pointyhat via pav (1)
Notes
Notes: svn path=/head/; revision=195106
Diffstat (limited to 'textproc/sowing')
-rw-r--r--textproc/sowing/files/patch-src_sys_arch.c21
-rw-r--r--textproc/sowing/pkg-descr2
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/