Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2008 13:10:16 +0900 (JST)
From:      Ayumi M <ayu@commun.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/129605: [PATCH] textproc/senna: update to 1.1.4
Message-ID:  <20081213041016.ABD7762E5@dahlia.commun.jp>
Resent-Message-ID: <200812130420.mBD4K1f4095790@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129605
>Category:       ports
>Synopsis:       [PATCH] textproc/senna: update to 1.1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 13 04:20:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ayumi M
>Release:        FreeBSD 7.0-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD dahlia.commun.jp 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct  1 10:10:12 UTC
>Description:
- Update to 1.1.4

Removed file(s):
- files/patch-store.c

Port maintainer (kuriyama@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- senna-1.1.4,1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/senna.1.0.9/Makefile /usr/ports/textproc/senna/Makefile
--- /usr/ports/textproc/senna.1.0.9/Makefile	2008-12-13 12:21:59.000000000 +0900
+++ /usr/ports/textproc/senna/Makefile	2008-12-13 13:07:12.000000000 +0900
@@ -6,11 +6,11 @@
 #
 
 PORTNAME=	senna
-PORTVERSION=	1.0.9
+PORTVERSION=	1.1.4
 PORTEPOCH=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR=	senna/27317
+MASTER_SITE_SUBDIR=	senna/33763
 
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT=	Embeddable Fulltext Search Engine
@@ -23,8 +23,6 @@
 MAKE_ARGS=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
-SENNA_HOME?=	/var/senna
-
 OPTIONS=	MECAB	"use mecab for morphological analysis" on \
 		NFKC	"use nfkc based utf8 normalization" on
 
@@ -36,7 +34,7 @@
 
 .if defined(WITH_MECAB)
 CONFIGURE_ARGS+=	--with-mecab
-LIB_DEPENDS=	mecab:${PORTSDIR}/japanese/mecab
+LIB_DEPENDS+=	mecab:${PORTSDIR}/japanese/mecab
 .else
 CONFIGURE_ARGS+=	--without-mecab
 .endif
diff -ruN --exclude=CVS /usr/ports/textproc/senna.1.0.9/distinfo /usr/ports/textproc/senna/distinfo
--- /usr/ports/textproc/senna.1.0.9/distinfo	2008-12-13 12:21:59.000000000 +0900
+++ /usr/ports/textproc/senna/distinfo	2008-12-13 12:35:18.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (senna-1.0.9.tar.gz) = fed9f190e06fefcbb4d3a44830e96224
-SHA256 (senna-1.0.9.tar.gz) = 569dcfb062beff8c772e4e168568e75db46f9eebf1e13c4ab33508a14552a373
-SIZE (senna-1.0.9.tar.gz) = 1046287
+MD5 (senna-1.1.4.tar.gz) = 1d896f46ef1def47ebe0d72c7eb21a60
+SHA256 (senna-1.1.4.tar.gz) = fd0fb0ba818d3bed4c4b6fac17cbf8829b58ebc66c88678abd9937113ec8f5bc
+SIZE (senna-1.1.4.tar.gz) = 1121030
diff -ruN --exclude=CVS /usr/ports/textproc/senna.1.0.9/files/patch-store.c /usr/ports/textproc/senna/files/patch-store.c
--- /usr/ports/textproc/senna.1.0.9/files/patch-store.c	2008-12-13 12:21:59.000000000 +0900
+++ /usr/ports/textproc/senna/files/patch-store.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,24 +0,0 @@
---- lib/store.c.orig	Tue Aug 29 03:00:23 2006
-+++ lib/store.c	Tue Aug 29 16:42:28 2006
-@@ -18,6 +18,7 @@
- #include "str.h"
- #include "inv.h"
- #include "store.h"
-+#include <stddef.h>
- #include <string.h>
- 
- static int len_sum = 0;
-@@ -60,10 +61,12 @@
- sen_store_buf_add(sen_store_buf *b, sen_id tid)
- {
-   uint8_t dummybuf[8], *dummyp;
-+  ptrdiff_t pd;
-   if (b->tvp < b->tve) { *b->tvp++ = tid; }
-   dummyp = dummybuf;
-   SEN_B_ENC(tid, dummyp);
--  simple_sum += dummyp - dummybuf;
-+  pd = dummyp - dummybuf;
-+  simple_sum += (int)pd;
-   return sen_success;
- }
- 
--- senna-1.1.4,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081213041016.ABD7762E5>