Upgrade to 1.9.14

Submitted by:	Andy Miller <andy@trit.org>
This commit is contained in:
Dima Dorfman 2004-09-03 11:01:18 +00:00
parent 30f3ea4a7d
commit b02b794e5e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118028
3 changed files with 5 additions and 26 deletions

View File

@ -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" \

View File

@ -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

View File

@ -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 <osreldate.h>
+#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 @@