summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-11-27 22:17:22 +0000
committerkamil <kamil@pkgsrc.org>2016-11-27 22:17:22 +0000
commit3d83cdf040b8af0956172c3832a91a535b191927 (patch)
tree4d77b78b682106f511de9b351d300def4b129ec9 /devel
parent1ecf2919f1cfca795e65d2c384e16d3b1be14c56 (diff)
downloadpkgsrc-3d83cdf040b8af0956172c3832a91a535b191927.tar.gz
Add new patch to fix "error: C++ style comments are not allowed in ISO C90"
No functional change in the package.
Diffstat (limited to 'devel')
-rw-r--r--devel/kservice/distinfo3
-rw-r--r--devel/kservice/patches/patch-__KDE__build_src_lex.c20
2 files changed, 22 insertions, 1 deletions
diff --git a/devel/kservice/distinfo b/devel/kservice/distinfo
index 935affb4807..ea900bab6b7 100644
--- a/devel/kservice/distinfo
+++ b/devel/kservice/distinfo
@@ -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 --git a/devel/kservice/patches/patch-__KDE__build_src_lex.c b/devel/kservice/patches/patch-__KDE__build_src_lex.c
new file mode 100644
index 00000000000..aa790242a7c
--- /dev/null
+++ b/devel/kservice/patches/patch-__KDE__build_src_lex.c
@@ -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;
+ }
+-