View | Details | Raw Unified | Return to bug 129605
Collapse All | Expand All

(-)/usr/ports/textproc/senna/Makefile (-5 / +3 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	senna
8
PORTNAME=	senna
9
PORTVERSION=	1.0.9
9
PORTVERSION=	1.1.4
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES=	textproc
11
CATEGORIES=	textproc
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
13
MASTER_SITE_SUBDIR=	senna/27317
13
MASTER_SITE_SUBDIR=	senna/33763
14
14
15
MAINTAINER=	kuriyama@FreeBSD.org
15
MAINTAINER=	kuriyama@FreeBSD.org
16
COMMENT=	Embeddable Fulltext Search Engine
16
COMMENT=	Embeddable Fulltext Search Engine
Lines 23-30 Link Here
23
MAKE_ARGS=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
23
MAKE_ARGS=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
24
WRKSRC=		${WRKDIR}/${DISTNAME}
24
WRKSRC=		${WRKDIR}/${DISTNAME}
25
25
26
SENNA_HOME?=	/var/senna
27
28
OPTIONS=	MECAB	"use mecab for morphological analysis" on \
26
OPTIONS=	MECAB	"use mecab for morphological analysis" on \
29
		NFKC	"use nfkc based utf8 normalization" on
27
		NFKC	"use nfkc based utf8 normalization" on
30
28
Lines 36-42 Link Here
36
34
37
.if defined(WITH_MECAB)
35
.if defined(WITH_MECAB)
38
CONFIGURE_ARGS+=	--with-mecab
36
CONFIGURE_ARGS+=	--with-mecab
39
LIB_DEPENDS=	mecab:${PORTSDIR}/japanese/mecab
37
LIB_DEPENDS+=	mecab:${PORTSDIR}/japanese/mecab
40
.else
38
.else
41
CONFIGURE_ARGS+=	--without-mecab
39
CONFIGURE_ARGS+=	--without-mecab
42
.endif
40
.endif
(-)/usr/ports/textproc/senna/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (senna-1.0.9.tar.gz) = fed9f190e06fefcbb4d3a44830e96224
1
MD5 (senna-1.1.4.tar.gz) = 1d896f46ef1def47ebe0d72c7eb21a60
2
SHA256 (senna-1.0.9.tar.gz) = 569dcfb062beff8c772e4e168568e75db46f9eebf1e13c4ab33508a14552a373
2
SHA256 (senna-1.1.4.tar.gz) = fd0fb0ba818d3bed4c4b6fac17cbf8829b58ebc66c88678abd9937113ec8f5bc
3
SIZE (senna-1.0.9.tar.gz) = 1046287
3
SIZE (senna-1.1.4.tar.gz) = 1121030
(-)/usr/ports/textproc/senna/files/patch-store.c (-24 lines)
Lines 1-24 Link Here
1
--- lib/store.c.orig	Tue Aug 29 03:00:23 2006
2
+++ lib/store.c	Tue Aug 29 16:42:28 2006
3
@@ -18,6 +18,7 @@
4
 #include "str.h"
5
 #include "inv.h"
6
 #include "store.h"
7
+#include <stddef.h>
8
 #include <string.h>
9
 
10
 static int len_sum = 0;
11
@@ -60,10 +61,12 @@
12
 sen_store_buf_add(sen_store_buf *b, sen_id tid)
13
 {
14
   uint8_t dummybuf[8], *dummyp;
15
+  ptrdiff_t pd;
16
   if (b->tvp < b->tve) { *b->tvp++ = tid; }
17
   dummyp = dummybuf;
18
   SEN_B_ENC(tid, dummyp);
19
-  simple_sum += dummyp - dummybuf;
20
+  pd = dummyp - dummybuf;
21
+  simple_sum += (int)pd;
22
   return sen_success;
23
 }
24
 

Return to bug 129605