pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/kservice



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sun Nov 27 22:17:22 UTC 2016

Modified Files:
        pkgsrc/devel/kservice: distinfo
Added Files:
        pkgsrc/devel/kservice/patches: patch-__KDE__build_src_lex.c

Log Message:
Add new patch to fix "error: C++ style comments are not allowed in ISO C90"

No functional change in the package.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/kservice/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/kservice/patches/patch-__KDE__build_src_lex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/kservice/distinfo
diff -u pkgsrc/devel/kservice/distinfo:1.2 pkgsrc/devel/kservice/distinfo:1.3
--- pkgsrc/devel/kservice/distinfo:1.2  Sun Aug 21 21:17:58 2016
+++ pkgsrc/devel/kservice/distinfo      Sun Nov 27 22:17:22 2016
@@ -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

Added files:

Index: pkgsrc/devel/kservice/patches/patch-__KDE__build_src_lex.c
diff -u /dev/null pkgsrc/devel/kservice/patches/patch-__KDE__build_src_lex.c:1.1
--- /dev/null   Sun Nov 27 22:17:22 2016
+++ pkgsrc/devel/kservice/patches/patch-__KDE__build_src_lex.c  Sun Nov 27 22:17:22 2016
@@ -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