summaryrefslogtreecommitdiff
path: root/japanese/gn-gnspool
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-24 12:28:41 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-24 12:28:41 +0000
commit953bf638de614b4381b248370998f2b602bdb73f (patch)
tree57a66f8d2eeeabbfae67307e3809ffe620d06a19 /japanese/gn-gnspool
parentNew port: postgresql-contrib (diff)
Compiling error in /usr/ports/japanese/gn-gnspool
And unbreak it too PR: ports/51941 Submitted by: Keiichi Inoue <sanremo@po.shiojiri.ne.jp>
Notes
Notes: svn path=/head/; revision=87604
Diffstat (limited to 'japanese/gn-gnspool')
-rw-r--r--japanese/gn-gnspool/Makefile2
-rw-r--r--japanese/gn-gnspool/files/patch-client.c11
2 files changed, 11 insertions, 2 deletions
diff --git a/japanese/gn-gnspool/Makefile b/japanese/gn-gnspool/Makefile
index 10cd8ad772a6..8cac3b89abc1 100644
--- a/japanese/gn-gnspool/Makefile
+++ b/japanese/gn-gnspool/Makefile
@@ -19,8 +19,6 @@ COMMENT= Simple Japanese Newsreader with Local Spool Support
IS_INTERACTIVE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-BROKEN= "Does not compile"
-
pre-configure:
@${CP} ${WRKDIR}/${DISTNAME}/mkfiles/unix/common ${WRKSRC}/Makefile
@${PATCH} -d ${WRKSRC} < ${FILESDIR}/Makefile.patch
diff --git a/japanese/gn-gnspool/files/patch-client.c b/japanese/gn-gnspool/files/patch-client.c
new file mode 100644
index 000000000000..d4463734c04d
--- /dev/null
+++ b/japanese/gn-gnspool/files/patch-client.c
@@ -0,0 +1,11 @@
+--- client.c.orig Sat May 2 11:11:26 1998
++++ client.c Sat May 3 20:13:18 2003
+@@ -718,7 +718,7 @@
+ # ifndef ESPX
+ # ifndef WIN32
+ # ifndef linux
+- unsigned long inet_addr();
++ in_addr_t inet_addr();
+ # endif /* (!linux) */
+ # endif /* (!WIN32) */
+ # endif /* (!ESPX) */