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

(-)Makefile (-1 / +6 lines)
Lines 32-39 Link Here
32
32
33
MAN1=		nip2.1
33
MAN1=		nip2.1
34
34
35
.include <bsd.port.options.mk>
36
37
.if ${OSVERSION} >= 1000013
38
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src-parser.h
39
.endif
40
35
post-patch:
41
post-patch:
36
	${REINPLACE_CMD} -e 's, malkovich,,' ${WRKSRC}/configure
37
	@${REINPLACE_CMD} -e 's|n_bytes|x_n_bytes|g' -e 's|text_size|x_text_size|g' \
42
	@${REINPLACE_CMD} -e 's|n_bytes|x_n_bytes|g' -e 's|text_size|x_text_size|g' \
38
		${WRKSRC}/src/gtkitementry.c
43
		${WRKSRC}/src/gtkitementry.c
39
44
(-)files/extra-patch-src-parser.h (+11 lines)
Line 0 Link Here
1
--- src/parser.h.orig	2011-01-25 19:44:07.000000000 +0300
2
+++ src/parser.h	2013-11-28 04:22:09.853554221 +0400
3
@@ -54,7 +54,7 @@
4
  */
5
 void yyerror( const char *sub, ... )
6
 	__attribute__((format(printf, 1, 2)));
7
-extern int yyleng;			/* lex stuff */
8
+extern size_t yyleng;			/* lex stuff */
9
 
10
 /* Lex gathers tokens here for workspace.c
11
  */
(-)files/patch-src-graphwindow.c (+11 lines)
Line 0 Link Here
1
--- src/graphwindow.c.orig	2011-01-25 19:44:07.000000000 +0300
2
+++ src/graphwindow.c	2013-11-28 03:48:15.996694984 +0400
3
@@ -260,7 +260,7 @@
4
 
5
 	IM_FREEF( agclose, graphwindow->graph );
6
 
7
-	graphwindow->graph = agread( of->fp );
8
+	graphwindow->graph = agread( of->fp, NULL );
9
 
10
 	ifile_close( of );
11
 	unlinkf( "%s", tname );

Return to bug 184345