pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/editors/codelite
Module Name: pkgsrc
Committed By: nros
Date: Thu Nov 2 12:04:02 UTC 2023
Modified Files:
pkgsrc/editors/codelite: distinfo
pkgsrc/editors/codelite/patches: patch-CodeLite_cpp__expr__parser.cpp
patch-CodeLite_cpp__func__parser.cpp patch-CodeLite_pp.cpp
patch-CodeLite_scope__parser.cpp patch-CodeLite_typedef__parser.cpp
patch-CodeLite_var__parser.cpp
Log Message:
codelite: iso C++ patches: put the vars inside yyparse where they are used
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/editors/codelite/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__expr__parser.cpp \
pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__func__parser.cpp \
pkgsrc/editors/codelite/patches/patch-CodeLite_pp.cpp \
pkgsrc/editors/codelite/patches/patch-CodeLite_scope__parser.cpp \
pkgsrc/editors/codelite/patches/patch-CodeLite_typedef__parser.cpp \
pkgsrc/editors/codelite/patches/patch-CodeLite_var__parser.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/editors/codelite/distinfo
diff -u pkgsrc/editors/codelite/distinfo:1.13 pkgsrc/editors/codelite/distinfo:1.14
--- pkgsrc/editors/codelite/distinfo:1.13 Thu Oct 26 10:46:58 2023
+++ pkgsrc/editors/codelite/distinfo Thu Nov 2 12:04:02 2023
@@ -1,17 +1,17 @@
-$NetBSD: distinfo,v 1.13 2023/10/26 10:46:58 nros Exp $
+$NetBSD: distinfo,v 1.14 2023/11/02 12:04:02 nros Exp $
BLAKE2s (codelite-17.0.0.tar.gz) = f87eff56ee8f9af203a6212cc19e9031f70a396982a9f6fe276dc879f960f4dc
SHA512 (codelite-17.0.0.tar.gz) = e36b6dcc37cd036a301a78714e8d5f2a61714b58fe006398fe0e959be59992dd7cc7d2a59661d364e371c750ca15cc21d4085d207738a7e3ede09ec0de125cff
Size (codelite-17.0.0.tar.gz) = 33541958 bytes
SHA1 (patch-CMakeLists.txt) = 00128fd4c090b6d0ce69c290e12ce6717008fd53
SHA1 (patch-CodeLite_MSYS2.hpp) = 6e4019a99a28478a6cc10ba10835d4a73979bf3a
-SHA1 (patch-CodeLite_cpp__expr__parser.cpp) = 672e675d6b9f6049de5da282855fa40f8d025b37
-SHA1 (patch-CodeLite_cpp__func__parser.cpp) = 02cbdca2ba0e880d4865ba6453b1abc5850f7d61
-SHA1 (patch-CodeLite_pp.cpp) = 056c7dc59924476fe547fbca2672ead0f3634e18
-SHA1 (patch-CodeLite_scope__parser.cpp) = b7cc03dd965abb4bdf88ad231c5045f7dd61f8a2
+SHA1 (patch-CodeLite_cpp__expr__parser.cpp) = d9a7a8619952405fe8a7d0ecd5ac65f519c47e68
+SHA1 (patch-CodeLite_cpp__func__parser.cpp) = 2c9654a3a39b44df9b467e50e4d449323a990acc
+SHA1 (patch-CodeLite_pp.cpp) = 6135a513abcaa106b14fb7a99e94fe994697b4b7
+SHA1 (patch-CodeLite_scope__parser.cpp) = 255b14be59b8ca6881407dfa0866cd0bd1fae31a
SHA1 (patch-CodeLite_tags_storage_sqlite3.h) = 5de0ea959cbdcec260f4d7e8ad55a59ec65b83aa
-SHA1 (patch-CodeLite_typedef__parser.cpp) = 3778e1978e6445849ed17321913f14272960993f
-SHA1 (patch-CodeLite_var__parser.cpp) = 110ad9f032d31376ae1e92fc78255e687f0eb969
+SHA1 (patch-CodeLite_typedef__parser.cpp) = a50aae5944738b6753dba90a98b58be06c4e9a4b
+SHA1 (patch-CodeLite_var__parser.cpp) = b203df64291ee93275f66be82ddb6176ac37e8e3
SHA1 (patch-LanguageServer_LanguageServerLogView.h) = e098709cd6e6cf76a5416b1b8e93f60a6b636bd6
SHA1 (patch-LiteEditor_CMakeLists.txt) = 34a788336a9a90b1b2960385c28cc5ace4abbfa0
SHA1 (patch-LiteEditor_clConfigurationSelectionCtrl.h) = 3432007081056ca29f71324f47d994e00a592d86
Index: pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__expr__parser.cpp
diff -u pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__expr__parser.cpp:1.1 pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__expr__parser.cpp:1.2
--- pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__expr__parser.cpp:1.1 Thu Oct 26 10:46:58 2023
+++ pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__expr__parser.cpp Thu Nov 2 12:04:02 2023
@@ -1,20 +1,19 @@
-$NetBSD: patch-CodeLite_cpp__expr__parser.cpp,v 1.1 2023/10/26 10:46:58 nros Exp $
+$NetBSD: patch-CodeLite_cpp__expr__parser.cpp,v 1.2 2023/11/02 12:04:02 nros Exp $
Fix Warning: ISO C++ forbids converting a string constant to char*
---- CodeLite/cpp_expr_parser.cpp.orig 2023-10-25 12:56:08.662150675 +0000
+--- CodeLite/cpp_expr_parser.cpp.orig 2023-10-26 10:47:53.397149452 +0000
+++ CodeLite/cpp_expr_parser.cpp
-@@ -47,6 +47,9 @@ void cl_expr_error(char *string);
-
- static ExpressionResult result;
-
-+static char semsg[] = "syntax error";
-+static char ysomsg[] = "yacc stack overflow";
-+
- /*---------------------------------------------*/
- /* externs defined in the lexer*/
- /*---------------------------------------------*/
-@@ -595,7 +598,7 @@ yyloop:
+@@ -530,6 +530,8 @@ int
+ yyparse()
+ {
+ register int yym, yyn, yystate;
++ char semsg[] = "syntax error";
++ char ysomsg[] = "yacc stack overflow";
+ #if YYDEBUG
+ register char *yys;
+ extern char *getenv();
+@@ -595,7 +597,7 @@ yyloop:
goto yynewerror;
#endif
yynewerror:
@@ -23,7 +22,7 @@ Fix Warning: ISO C++ forbids converting
#ifdef lint
goto yyerrlab;
#endif
-@@ -968,7 +971,7 @@ to state %d\n", YYPREFIX, *yyssp, yystat
+@@ -968,7 +970,7 @@ to state %d\n", YYPREFIX, *yyssp, yystat
*++yyvsp = yyval;
goto yyloop;
yyoverflow:
Index: pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__func__parser.cpp
diff -u pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__func__parser.cpp:1.1 pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__func__parser.cpp:1.2
--- pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__func__parser.cpp:1.1 Thu Oct 26 10:46:58 2023
+++ pkgsrc/editors/codelite/patches/patch-CodeLite_cpp__func__parser.cpp Thu Nov 2 12:04:02 2023
@@ -1,18 +1,18 @@
-$NetBSD: patch-CodeLite_cpp__func__parser.cpp,v 1.1 2023/10/26 10:46:58 nros Exp $
+$NetBSD: patch-CodeLite_cpp__func__parser.cpp,v 1.2 2023/11/02 12:04:02 nros Exp $
Fix Warning: ISO C++ forbids converting a string constant to char*
---- CodeLite/cpp_func_parser.cpp.orig 2023-10-25 12:56:08.665232425 +0000
+--- CodeLite/cpp_func_parser.cpp.orig 2023-10-26 10:47:53.399134128 +0000
+++ CodeLite/cpp_func_parser.cpp
-@@ -55,6 +55,8 @@ void cl_func_error(char *string);
- static FunctionList *g_funcs = NULL;
- static clFunction curr_func;
-
-+static char semsg[] = "syntax error";
-+static char ysomsg[] = "yacc stack overflow";
- /*---------------------------------------------*/
- /* externs defined in the lexer*/
- /*---------------------------------------------*/
+@@ -624,6 +624,8 @@ int
+ yyparse()
+ {
+ register int yym, yyn, yystate;
++ char semsg[] = "syntax error";
++ char ysomsg[] = "yacc stack overflow";
+ #if YYDEBUG
+ register char *yys;
+ extern char *getenv();
@@ -689,7 +691,7 @@ yyloop:
goto yynewerror;
#endif
Index: pkgsrc/editors/codelite/patches/patch-CodeLite_pp.cpp
diff -u pkgsrc/editors/codelite/patches/patch-CodeLite_pp.cpp:1.1 pkgsrc/editors/codelite/patches/patch-CodeLite_pp.cpp:1.2
--- pkgsrc/editors/codelite/patches/patch-CodeLite_pp.cpp:1.1 Thu Oct 26 10:46:58 2023
+++ pkgsrc/editors/codelite/patches/patch-CodeLite_pp.cpp Thu Nov 2 12:04:02 2023
@@ -1,18 +1,18 @@
-$NetBSD: patch-CodeLite_pp.cpp,v 1.1 2023/10/26 10:46:58 nros Exp $
+$NetBSD: patch-CodeLite_pp.cpp,v 1.2 2023/11/02 12:04:02 nros Exp $
Fix Warning: ISO C++ forbids converting a string constant to char*
---- CodeLite/pp.cpp.orig 2023-10-25 17:36:29.887514094 +0000
+--- CodeLite/pp.cpp.orig 2023-10-26 10:47:53.400757236 +0000
+++ CodeLite/pp.cpp
-@@ -79,6 +79,8 @@ extern wxString g_filename;
-
- /* Static*/
- static std::vector<wxString> g_tmpMacros;
-+static char semsg[] = "syntax error";
-+static char ysomsg[] = "yacc stack overflow";
-
- /*************** Standard ytab.c continues here *********************/
- #define PP_DEFINE 257
+@@ -305,6 +305,8 @@ int
+ yyparse()
+ {
+ register int yym, yyn, yystate;
++ char semsg[] = "syntax error";
++ char ysomsg[] = "yacc stack overflow";
+ #if YYDEBUG
+ register char *yys;
+ extern char *getenv();
@@ -370,7 +372,7 @@ yyloop:
goto yynewerror;
#endif
Index: pkgsrc/editors/codelite/patches/patch-CodeLite_scope__parser.cpp
diff -u pkgsrc/editors/codelite/patches/patch-CodeLite_scope__parser.cpp:1.1 pkgsrc/editors/codelite/patches/patch-CodeLite_scope__parser.cpp:1.2
--- pkgsrc/editors/codelite/patches/patch-CodeLite_scope__parser.cpp:1.1 Thu Oct 26 10:46:58 2023
+++ pkgsrc/editors/codelite/patches/patch-CodeLite_scope__parser.cpp Thu Nov 2 12:04:02 2023
@@ -1,18 +1,18 @@
-$NetBSD: patch-CodeLite_scope__parser.cpp,v 1.1 2023/10/26 10:46:58 nros Exp $
+$NetBSD: patch-CodeLite_scope__parser.cpp,v 1.2 2023/11/02 12:04:02 nros Exp $
Fix Warning: ISO C++ forbids converting a string constant to char*
---- CodeLite/scope_parser.cpp.orig 2023-10-25 12:56:08.667128461 +0000
+--- CodeLite/scope_parser.cpp.orig 2023-10-26 10:47:53.402699303 +0000
+++ CodeLite/scope_parser.cpp
-@@ -54,6 +54,8 @@ void cl_scope_error(char *string);
- void syncParser();
-
- static std::vector<std::string> gs_additionlNS;
-+static char semsg[] = "syntax error";
-+static char ysomsg[] = "yacc stack overflow";
-
- /*---------------------------------------------*/
- /* externs defined in the lexer*/
+@@ -834,6 +834,8 @@ int
+ yyparse()
+ {
+ register int yym, yyn, yystate;
++ char semsg[] = "syntax error";
++ char ysomsg[] = "yacc stack overflow";
+ #if YYDEBUG
+ register char *yys;
+ extern char *getenv();
@@ -899,7 +901,7 @@ yyloop:
goto yynewerror;
#endif
Index: pkgsrc/editors/codelite/patches/patch-CodeLite_typedef__parser.cpp
diff -u pkgsrc/editors/codelite/patches/patch-CodeLite_typedef__parser.cpp:1.1 pkgsrc/editors/codelite/patches/patch-CodeLite_typedef__parser.cpp:1.2
--- pkgsrc/editors/codelite/patches/patch-CodeLite_typedef__parser.cpp:1.1 Thu Oct 26 10:46:58 2023
+++ pkgsrc/editors/codelite/patches/patch-CodeLite_typedef__parser.cpp Thu Nov 2 12:04:02 2023
@@ -1,18 +1,18 @@
-$NetBSD: patch-CodeLite_typedef__parser.cpp,v 1.1 2023/10/26 10:46:58 nros Exp $
+$NetBSD: patch-CodeLite_typedef__parser.cpp,v 1.2 2023/11/02 12:04:02 nros Exp $
Fix Warning: ISO C++ forbids converting a string constant to char*
---- CodeLite/typedef_parser.cpp.orig 2023-10-25 12:56:08.668865476 +0000
+--- CodeLite/typedef_parser.cpp.orig 2023-10-26 10:47:53.405836968 +0000
+++ CodeLite/typedef_parser.cpp
-@@ -62,6 +62,8 @@ static Variable curr_va
- static clTypedefList gs_typedefs;
- static clTypedef gs_currentTypedef;
- static std::string s_templateInitList;
-+static char semsg[] = "syntax error";
-+static char ysomsg[] = "yacc stack overflow";
-
- /*---------------------------------------------*/
- /* externs defined in the lexer*/
+@@ -540,6 +540,8 @@ int
+ yyparse()
+ {
+ register int yym, yyn, yystate;
++ char semsg[] = "syntax error";
++ char ysomsg[] = "yacc stack overflow";
+ #if YYDEBUG
+ register char *yys;
+ extern char *getenv();
@@ -605,7 +607,7 @@ yyloop:
goto yynewerror;
#endif
Index: pkgsrc/editors/codelite/patches/patch-CodeLite_var__parser.cpp
diff -u pkgsrc/editors/codelite/patches/patch-CodeLite_var__parser.cpp:1.1 pkgsrc/editors/codelite/patches/patch-CodeLite_var__parser.cpp:1.2
--- pkgsrc/editors/codelite/patches/patch-CodeLite_var__parser.cpp:1.1 Thu Oct 26 10:46:58 2023
+++ pkgsrc/editors/codelite/patches/patch-CodeLite_var__parser.cpp Thu Nov 2 12:04:02 2023
@@ -1,18 +1,18 @@
-$NetBSD: patch-CodeLite_var__parser.cpp,v 1.1 2023/10/26 10:46:58 nros Exp $
+$NetBSD: patch-CodeLite_var__parser.cpp,v 1.2 2023/11/02 12:04:02 nros Exp $
Fix Warning: ISO C++ forbids converting a string constant to char*
---- CodeLite/var_parser.cpp.orig 2023-10-25 12:56:08.670851597 +0000
+--- CodeLite/var_parser.cpp.orig 2023-10-26 10:47:53.407870798 +0000
+++ CodeLite/var_parser.cpp
-@@ -62,6 +62,8 @@ static std::string s_tmpStrin
- static Variable curr_var;
- static std::string s_templateInitList;
- static bool isBasicType = false;
-+static char semsg[] = "syntax error";
-+static char ysomsg[] = "yacc stack overflow";
-
- /*---------------------------------------------*/
- /* externs defined in the lexer*/
+@@ -745,6 +745,8 @@ int
+ yyparse()
+ {
+ register int yym, yyn, yystate;
++ char semsg[] = "syntax error";
++ char ysomsg[] = "yacc stack overflow";
+ #if YYDEBUG
+ register char *yys;
+ extern char *getenv();
@@ -810,7 +812,7 @@ yyloop:
goto yynewerror;
#endif
Home |
Main Index |
Thread Index |
Old Index