pkgsrc/misc/kdepim2/patches/patch-ab
bouyer 481cdd1560 Solaris's yacc doesn't work too well here, use bison on SunOS.
Solaris doesn't have yy_size_t, use int instead on SunOS.
2002-10-26 13:20:21 +00:00

16 lines
559 B
Text

$NetBSD: patch-ab,v 1.2 2002/10/26 13:20:21 bouyer Exp $
--- libical/src/libical/icallexer.l.orig Wed Apr 11 17:37:32 2001
+++ libical/src/libical/icallexer.l Sun Oct 20 16:46:08 2002
@@ -67,7 +67,11 @@
renaming hack applied in icalyacc.y */
YY_BUFFER_STATE ical_yy_scan_buffer ( char *base, yy_size_t size );
YY_BUFFER_STATE ical_yy_scan_string ( yyconst char *yy_str );
+#ifdef SunOS
YY_BUFFER_STATE ical_yy_scan_bytes ( yyconst char *bytes, int len );
+#else
+YY_BUFFER_STATE ical_yy_scan_bytes ( yyconst char *bytes, yy_size_t len );
+#endif
%}