diff options
-rw-r--r-- | sysutils/solid/distinfo | 3 | ||||
-rw-r--r-- | sysutils/solid/patches/patch-__KDE__build_src_solid_predicate__lexer.c | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/solid/distinfo b/sysutils/solid/distinfo index 270114afd84..f00ebad72b1 100644 --- a/sysutils/solid/distinfo +++ b/sysutils/solid/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2016/08/21 21:24:50 markd Exp $ +$NetBSD: distinfo,v 1.3 2016/11/27 22:56:17 kamil Exp $ SHA1 (solid-5.25.0.tar.xz) = 2094bded5c49f963d952fcbee8000e496c0df7b4 RMD160 (solid-5.25.0.tar.xz) = e6998bcd2b4edb64686e596c42cfd4027239645e SHA512 (solid-5.25.0.tar.xz) = c5e1b139daebfee25a786540b0dc59ac51cf630aada5faffb4e6d72ab18c3c066a3de968c9158a24bd901e96fa7cfdfe219a5196b6f3d0640647a03cdb3b9237 Size (solid-5.25.0.tar.xz) = 245604 bytes +SHA1 (patch-__KDE__build_src_solid_predicate__lexer.c) = 7cab6934098cbe0d75101ae0907c7d06933c1e7d diff --git a/sysutils/solid/patches/patch-__KDE__build_src_solid_predicate__lexer.c b/sysutils/solid/patches/patch-__KDE__build_src_solid_predicate__lexer.c new file mode 100644 index 00000000000..d21209f504c --- /dev/null +++ b/sysutils/solid/patches/patch-__KDE__build_src_solid_predicate__lexer.c @@ -0,0 +1,21 @@ +$NetBSD: patch-__KDE__build_src_solid_predicate__lexer.c,v 1.1 2016/11/27 22:56:17 kamil Exp $ + +Fix: error: C++ style comments are not allowed in ISO C90 + +--- _KDE_build/src/solid/predicate_lexer.c.orig 2016-11-27 22:27:30.788034675 +0000 ++++ _KDE_build/src/solid/predicate_lexer.c +@@ -1589,7 +1589,7 @@ static void Solidensure_buffer_stack (yy + * scanner will even need a stack. We use 2 instead of 1 to avoid an + * immediate realloc on the next call. + */ +- num_to_alloc = 1; // After all that talk, this was set to 1 anyways... ++ num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ + yyg->yy_buffer_stack = (struct yy_buffer_state**)Solidalloc + (num_to_alloc * sizeof(struct yy_buffer_state*) + , yyscanner); +@@ -2140,5 +2140,3 @@ int Solidwrap( yyscan_t _scanner ) + Solid_delete_buffer( YY_CURRENT_BUFFER, _scanner ); + return 1; + } +- +- |