From b02b794e5ebb37a3b9e789b15cf27df8b95ea75d Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Fri, 3 Sep 2004 11:01:18 +0000
Subject: [PATCH] Upgrade to 1.9.14
Submitted by: Andy Miller
---
net/dictd/Makefile | 6 +++---
net/dictd/distinfo | 4 ++--
net/dictd/files/patch-break-utf8 | 21 ---------------------
3 files changed, 5 insertions(+), 26 deletions(-)
diff --git a/net/dictd/Makefile b/net/dictd/Makefile
index 9454cef29cf7..2cdd3a899786 100644
--- a/net/dictd/Makefile
+++ b/net/dictd/Makefile
@@ -7,8 +7,8 @@
#
PORTNAME= dictd
-PORTVERSION= 1.9.11
-PORTREVISION= 1
+PORTVERSION= 1.9.14
+PORTREVISION= 0
CATEGORIES+= net textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dict
@@ -23,7 +23,7 @@ USE_LIBLTDL= yes
USE_RC_SUBR= yes
USE_REINPLACE= yes
USE_BISON= yes
-USE_LIBTOOL_VER=13
+USE_LIBTOOL_VER=15
CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc --with-cflags="${CFLAGS}" \
--without-local-zlib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/net/dictd/distinfo b/net/dictd/distinfo
index a4bb5a1069d7..6804e3652237 100644
--- a/net/dictd/distinfo
+++ b/net/dictd/distinfo
@@ -1,2 +1,2 @@
-MD5 (dictd-1.9.11.tar.gz) = 4d06aabf573c862fd29e409984f71a67
-SIZE (dictd-1.9.11.tar.gz) = 695037
+MD5 (dictd-1.9.14.tar.gz) = 5db913e545ee483b1385696ff8a6bd24
+SIZE (dictd-1.9.14.tar.gz) = 749577
diff --git a/net/dictd/files/patch-break-utf8 b/net/dictd/files/patch-break-utf8
index a1a30e1d431c..e9c172b2ac72 100644
--- a/net/dictd/files/patch-break-utf8
+++ b/net/dictd/files/patch-break-utf8
@@ -1,24 +1,3 @@
---- dictd.c.orig Mon Mar 10 01:07:36 2003
-+++ dictd.c Fri Oct 10 00:19:17 2003
-@@ -1064,6 +1064,8 @@
-
- static void set_utf8bit_mode (const char *loc)
- {
-+#include
-+#if __FreeBSD_version > 499999
- char *locale_copy;
- locale_copy = strdup (loc);
- strlwr_8bit (locale_copy);
-@@ -1075,6 +1077,9 @@
- bit8_mode = !utf8_mode && (locale_copy [0] != 'c' || locale_copy [1] != 0);
-
- free (locale_copy);
-+#else
-+ utf8_mode = 0;
-+#endif
- }
-
- static void init (const char *fn)
--- index.c.orig Mon Jan 26 02:52:14 2004
+++ index.c Mon Jan 26 03:02:18 2004
@@ -144,9 +144,12 @@