aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2008-07-23 23:10:42 +0800
committerjmz <jmz@FreeBSD.org>2008-07-23 23:10:42 +0800
commita052016855b2bc583eb8c84bdd1df7baa9ebdc13 (patch)
tree453cd14ca09c6a747e34df454ba99e940584f66d
parent5604f156dfd9a55a5867dde0ff850ebf0f7545d8 (diff)
downloadfreebsd-ports-graphics-a052016855b2bc583eb8c84bdd1df7baa9ebdc13.tar.gz
freebsd-ports-graphics-a052016855b2bc583eb8c84bdd1df7baa9ebdc13.tar.zst
freebsd-ports-graphics-a052016855b2bc583eb8c84bdd1df7baa9ebdc13.zip
Fix the build on 8-current
PR: ports/125841 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp>
-rw-r--r--textproc/ispell/Makefile2
-rw-r--r--textproc/ispell/files/patch-ispell.c4
-rw-r--r--textproc/ispell/files/patch-term.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile
index 89d8e869387..00747335b95 100644
--- a/textproc/ispell/Makefile
+++ b/textproc/ispell/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= ispell
PORTVERSION?= 3.3.02
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES+= textproc
MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/ \
http://distfiles.opendarwin.org/
diff --git a/textproc/ispell/files/patch-ispell.c b/textproc/ispell/files/patch-ispell.c
index 1cdc4acee13..3af7e8bd12c 100644
--- a/textproc/ispell/files/patch-ispell.c
+++ b/textproc/ispell/files/patch-ispell.c
@@ -63,10 +63,10 @@
}
-#ifndef __bsdi__
-+#ifndef BSD_4_4
++#ifndef BSD4_4
setbuf (stdout, outbuf);
-#endif /* __bsdi__ */
-+#endif /* BSD_4_4 */
++#endif /* BSD4_4 */
if (lflag)
{
infile = setupdefmt(NULL, NULL);
diff --git a/textproc/ispell/files/patch-term.c b/textproc/ispell/files/patch-term.c
index 81e01dd1168..7f25ea9a1f3 100644
--- a/textproc/ispell/files/patch-term.c
+++ b/textproc/ispell/files/patch-term.c
@@ -4,7 +4,7 @@
#include "ispell.h"
#include "proto.h"
#include "msgs.h"
-+#ifdef BSD_4_4
++#ifdef BSD4_4
+#define USG
+#endif
#ifdef USG