Index: head/japanese/ebview-gtk2/Makefile =================================================================== --- head/japanese/ebview-gtk2/Makefile (revision 377541) +++ head/japanese/ebview-gtk2/Makefile (revision 377542) @@ -1,46 +1,46 @@ # $FreeBSD$ PORTNAME= ebview PORTVERSION= 0.3.6 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= japanese MASTER_SITES= SF PKGNAMESUFFIX= -gtk2 MAINTAINER= ports@FreeBSD.org COMMENT= Electronic Book Viewer LICENSE= GPLv2 # (or later) LIB_DEPENDS= libeb.so:${PORTSDIR}/japanese/eb CONFLICTS= ja-ebview-[0-9]* USES= gettext gmake pkgconfig USE_GNOME= gtk20 pangox-compat USE_CSTD= gnu89 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-eb-conf=${LOCALBASE}/etc/eb.conf SUB_FILES= ebview.desktop CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED 1||g' \ ${WRKSRC}/src/ebview.c post-install: (cd ${WRKDIR} && ${INSTALL_DATA} ${SUB_FILES} \ ${STAGEDIR}${DESKTOPDIR}) (cd ${WRKSRC}/pixmaps && ${INSTALL_DATA} ebview.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ChangeLog README (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor .include Index: head/japanese/ebview-gtk2/files/patch-src_eb.c =================================================================== --- head/japanese/ebview-gtk2/files/patch-src_eb.c (nonexistent) +++ head/japanese/ebview-gtk2/files/patch-src_eb.c (revision 377542) @@ -0,0 +1,68 @@ +--- src/eb.c.orig 2014-12-22 16:50:58.000000000 +0900 ++++ src/eb.c 2014-12-22 16:54:43.000000000 +0900 +@@ -674,7 +674,8 @@ + EB_Error_Code error_code=EB_SUCCESS; + EB_Position text_position; + char data[EB_SIZE_PAGE+4]; +- int i, length; ++ int i; ++ ssize_t length; + + int start_page; + int end_page; +@@ -856,7 +857,8 @@ + char data[EB_SIZE_PAGE]; + char *jisword; + char *word_p; +- int i, length; ++ int i; ++ ssize_t length; + char *p; + char heading[MAXLEN_TEXT + 1]; + RESULT *rp; +@@ -1053,7 +1055,7 @@ + char data[EB_SIZE_PAGE]; + char *jisword; + char *word_p; +- int length; ++ ssize_t length; + char *p; + char heading[MAXLEN_TEXT + 1]; + RESULT *rp; +@@ -1679,7 +1681,8 @@ + gint ebook_simple_search2(BOOK_INFO *binfo, char *word, gint method, gchar *title) + { + EB_Error_Code error_code=EB_SUCCESS; +- int i, len, total_hits=0; ++ int i, total_hits=0; ++ ssize_t len; + EB_Hit hits[MAX_HITS]; + int hitcount; + char heading[MAXLEN_HEADING + 1]; +@@ -1988,7 +1991,7 @@ + gchar *ebook_get_heading(BOOK_INFO *binfo, int page, int offset) + { + EB_Error_Code error_code; +- int len; ++ ssize_t len; + char heading[MAXLEN_HEADING + 1]; + EB_Position position; + gchar *p; +@@ -2021,7 +2024,7 @@ + + gchar *ebook_get_text(BOOK_INFO *binfo, int page, int offset){ + EB_Error_Code error_code; +- int len; ++ ssize_t len; + char text[MAXLEN_TEXT + 1]; + EB_Position position; + gchar *p; +@@ -2064,7 +2067,7 @@ + gchar *ebook_get_candidate(BOOK_INFO *binfo, int page, int offset) + { + EB_Error_Code error_code; +- int len; ++ ssize_t len; + char text[MAXLEN_TEXT + 1]; + EB_Position position; + gchar *p; Property changes on: head/japanese/ebview-gtk2/files/patch-src_eb.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property