pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/kservice Add new patch to fix "error: C++ style ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/432ddd406fdd
branches: trunk
changeset: 355272:432ddd406fdd
user: kamil <kamil%pkgsrc.org@localhost>
date: Sun Nov 27 22:17:22 2016 +0000
description:
Add new patch to fix "error: C++ style comments are not allowed in ISO C90"
No functional change in the package.
diffstat:
devel/kservice/distinfo | 3 ++-
devel/kservice/patches/patch-__KDE__build_src_lex.c | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 0191a441a68a -r 432ddd406fdd devel/kservice/distinfo
--- a/devel/kservice/distinfo Sun Nov 27 21:07:21 2016 +0000
+++ b/devel/kservice/distinfo Sun Nov 27 22:17:22 2016 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2016/08/21 21:17:58 markd Exp $
+$NetBSD: distinfo,v 1.3 2016/11/27 22:17:22 kamil Exp $
SHA1 (kservice-5.25.0.tar.xz) = cdabee17256efb020b3f7ad6d678f881cbbe6483
RMD160 (kservice-5.25.0.tar.xz) = e4e8f46e96e434972def82ff187e6ed2d4924223
SHA512 (kservice-5.25.0.tar.xz) = 5ad213e4f91645dba34ac6cd937b888f07a339d61e94a82ad08b8a2ef387bb84672d52f06aa16ac0de2dcc7f5ac8a9ea3c3f0018529796bd5d29e8437a562b4e
Size (kservice-5.25.0.tar.xz) = 245492 bytes
+SHA1 (patch-__KDE__build_src_lex.c) = 37d177079e40fe21f0819b47aed4ec37964ef634
SHA1 (patch-src_CMakeLists.txt) = 5aba4175867e285af4f24de9aea19c859f7bdf55
diff -r 0191a441a68a -r 432ddd406fdd devel/kservice/patches/patch-__KDE__build_src_lex.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kservice/patches/patch-__KDE__build_src_lex.c Sun Nov 27 22:17:22 2016 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-__KDE__build_src_lex.c,v 1.1 2016/11/27 22:17:22 kamil Exp $
+
+Fix: error: C++ style comments are not allowed in ISO C90
+
+--- _KDE_build/src/lex.c.orig 2016-11-27 22:10:29.983786387 +0000
++++ _KDE_build/src/lex.c
+@@ -1710,7 +1710,7 @@ static void kiotraderensure_buffer_stack
+ * 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**)kiotraderalloc
+ (num_to_alloc * sizeof(struct yy_buffer_state*)
+ , yyscanner);
+@@ -2303,4 +2303,3 @@ int kiotraderwrap(yyscan_t _scanner )
+ kiotrader_delete_buffer(YY_CURRENT_BUFFER,_scanner );
+ return 1;
+ }
+-
Home |
Main Index |
Thread Index |
Old Index