pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/solid Fix: error: C++ style comments are not ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d2033deb577d
branches: trunk
changeset: 355274:d2033deb577d
user: kamil <kamil%pkgsrc.org@localhost>
date: Sun Nov 27 22:56:17 2016 +0000
description:
Fix: error: C++ style comments are not allowed in ISO C90
No functional change.
diffstat:
sysutils/solid/distinfo | 3 +-
sysutils/solid/patches/patch-__KDE__build_src_solid_predicate__lexer.c | 21 ++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r f088b3982754 -r d2033deb577d sysutils/solid/distinfo
--- a/sysutils/solid/distinfo Sun Nov 27 22:55:51 2016 +0000
+++ b/sysutils/solid/distinfo Sun Nov 27 22:56:17 2016 +0000
@@ -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 -r f088b3982754 -r d2033deb577d sysutils/solid/patches/patch-__KDE__build_src_solid_predicate__lexer.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/solid/patches/patch-__KDE__build_src_solid_predicate__lexer.c Sun Nov 27 22:56:17 2016 +0000
@@ -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;
+ }
+-
+-
Home |
Main Index |
Thread Index |
Old Index