This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libmcal/libmcal-0.7-flex-2.5.37.patch

15 lines
406 B
Diff

--- libmcal.orig/icalroutines.h 2003-01-28 18:45:21.000000000 +0100
+++ libmcal/icalroutines.h 2013-02-04 01:54:27.833995640 +0100
@@ -48,8 +48,10 @@
/* ICAL parser. */
+#ifndef ical_yytext
extern char *ical_yytext;
-extern int ical_yyleng;
+extern size_t ical_yyleng;
+#endif
int ical_yylex(void);
void ical_usebuf(const char *buf, size_t size);
void ical_preprocess(char *buf, size_t *size);