From 3afaf6c2a5be5117ed7d56d4c80a6eb5053ccbae Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Wed, 29 Jun 2005 09:41:47 +0000 Subject: - Update snapshot. - Unbreak on 4.x box. --- textproc/senna/Makefile | 2 +- textproc/senna/distinfo | 4 ++-- textproc/senna/files/configure.ac | 16 ---------------- textproc/senna/files/patch-senna_in.h | 27 +++++++++++++++++++++++++++ textproc/senna/pkg-plist | 1 + 5 files changed, 31 insertions(+), 19 deletions(-) delete mode 100644 textproc/senna/files/configure.ac create mode 100644 textproc/senna/files/patch-senna_in.h (limited to 'textproc') diff --git a/textproc/senna/Makefile b/textproc/senna/Makefile index f1959e5d1eb6..97a866425259 100644 --- a/textproc/senna/Makefile +++ b/textproc/senna/Makefile @@ -24,7 +24,7 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" WRKSRC= ${WRKDIR}/${PORTNAME} -SNAPDATE= 20050529 +SNAPDATE= 20050628 SENNA_HOME?= /var/senna post-patch: diff --git a/textproc/senna/distinfo b/textproc/senna/distinfo index fda1ed46a97b..ee0499178e5b 100644 --- a/textproc/senna/distinfo +++ b/textproc/senna/distinfo @@ -1,2 +1,2 @@ -MD5 (senna-20050529-svn.tar.gz) = 3a850d5b4171906e1ea2023abae2566a -SIZE (senna-20050529-svn.tar.gz) = 332776 +MD5 (senna-20050628-svn.tar.gz) = 9e0e5a89aea29989db7e3b4f1bbab291 +SIZE (senna-20050628-svn.tar.gz) = 338431 diff --git a/textproc/senna/files/configure.ac b/textproc/senna/files/configure.ac deleted file mode 100644 index 5d69864b1ec8..000000000000 --- a/textproc/senna/files/configure.ac +++ /dev/null @@ -1,16 +0,0 @@ -AC_INIT([senna],[0.0],[senna@razil.jp]) -AM_INIT_AUTOMAKE([senna], 0.0) -AM_CONFIG_HEADER(config.h) - -SENNA_HOME="/var/senna" - -AC_ARG_WITH(sennahome, - [ --with-sennahome=DIR Specify Senna home dictionary],SENNA_HOME="$withval") - -AC_PROG_CC -AM_PROG_LIBTOOL -AC_CONFIG_FILES([Makefile test/Makefile lib/Makefile]) -AC_SUBST(SENNA_HOME) -AC_CHECK_LIB(mecab-razil, mecab_new3, [],[echo "No libmecab-razil found (You need a patched version, if using mecab without mecab_new3)"; exit 1]) - -AC_OUTPUT diff --git a/textproc/senna/files/patch-senna_in.h b/textproc/senna/files/patch-senna_in.h new file mode 100644 index 000000000000..4a3f70dd6bd7 --- /dev/null +++ b/textproc/senna/files/patch-senna_in.h @@ -0,0 +1,27 @@ +--- lib/senna_in.h.orig Fri Jun 3 23:59:02 2005 ++++ lib/senna_in.h Wed Jun 29 01:59:39 2005 +@@ -14,6 +14,9 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + ++#ifndef _SENNA_IN_H ++#define _SENNA_IN_H ++ + #include "config.h" + + #ifdef HAVE_STDLIB_H +@@ -22,8 +25,14 @@ + + #ifdef HAVE_STDINT_H + #include ++#else ++#include ++typedef uint8_t uint_least8_t; ++typedef int8_t int_least8_t; + #endif /* HAVE_STDINT_H */ + + #ifndef _SENNA_H + #include "senna.h" + #endif /* _SENNA_H */ ++ ++#endif /* _SENNA_IN_H */ diff --git a/textproc/senna/pkg-plist b/textproc/senna/pkg-plist index 751f7b6d1b3c..2b4c4669af67 100644 --- a/textproc/senna/pkg-plist +++ b/textproc/senna/pkg-plist @@ -1,3 +1,4 @@ +bin/senna-cfg include/senna/senna.h lib/libsenna.a lib/libsenna.so -- cgit v1.2.3