From 0a749340bed8e23a6e42421b34a6cc84e1d48c20 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Fri, 10 Feb 2006 03:30:45 +0000 Subject: - Unbreak on 4.x. Reported by: pointyhat via kris --- textproc/senna/Makefile | 4 ++-- textproc/senna/files/patch-senna_in.h | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 textproc/senna/files/patch-senna_in.h diff --git a/textproc/senna/Makefile b/textproc/senna/Makefile index 1fbad39b2e6..f4415752825 100644 --- a/textproc/senna/Makefile +++ b/textproc/senna/Makefile @@ -21,8 +21,8 @@ USE_AUTOTOOLS= automake:14 autoconf:259 libtool:15 USE_GMAKE= YES INSTALLS_SHLIB= YES CONFIGURE_ARGS= --with-sennahome=${SENNA_HOME} -CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" -MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" +MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" WRKSRC= ${WRKDIR}/${PORTNAME} SNAPDATE= 20060130 diff --git a/textproc/senna/files/patch-senna_in.h b/textproc/senna/files/patch-senna_in.h new file mode 100644 index 00000000000..a0a842d15e0 --- /dev/null +++ b/textproc/senna/files/patch-senna_in.h @@ -0,0 +1,13 @@ +--- lib/senna_in.h.orig Fri Feb 10 12:01:06 2006 ++++ lib/senna_in.h Fri Feb 10 12:05:57 2006 +@@ -83,6 +83,10 @@ + #define PATH_SEPARATOR "/" + #endif /* WIN32 */ + ++#if defined(__FreeBSD__) && __FreeBSD__ <= 4 ++typedef u_int8_t uint_least8_t; ++#endif ++ + #ifdef HAVE_PTHREAD_H + #include + typedef pthread_mutex_t sen_mutex; -- cgit