[med-svn] [Git][med-team/acedb][master] Fixes for missing declarations
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sun Apr 14 06:15:55 BST 2024
Andreas Tille pushed to branch master at Debian Med / acedb
Commits:
ba530b19 by Andreas Tille at 2024-04-14T07:15:32+02:00
Fixes for missing declarations
- - - - -
4 changed files:
- debian/changelog
- + debian/patches/acedb-parser-fixes.patch
- + debian/patches/acedb-signal-fix.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,13 @@
acedb (4.9.39+dfsg.02-10) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* Add missing readline/history.h header
Closes: #1066334
* Build-Depends: libtirpc-dev
+ [ Jeremy Sowden ]
+ * Fixes for missing declarations
+
-- Andreas Tille <tille at debian.org> Sat, 13 Apr 2024 07:52:18 +0200
acedb (4.9.39+dfsg.02-9) unstable; urgency=medium
=====================================
debian/patches/acedb-parser-fixes.patch
=====================================
@@ -0,0 +1,46 @@
+Author: Jeremy Sowden <azazel at debian.org>
+Last-Update: Sat, 13 Apr 2024 21:48:07 +0100
+Description: Fix missing declarations
+ `yylex` - this needs to be added to the yacc source
+ `yyerror` - this is present but hidden by a CPP conditional
+ `yywrap` - this is not needed (grep for "YY_SKIP_YYWRAP") and can be disabled
+
+diff --git a/waql/aql_.h b/waql/aql_.h
+index cde94a97896b..dd3b89116280 100644
+--- a/waql/aql_.h
++++ b/waql/aql_.h
+@@ -448,7 +448,7 @@ char* aqlNodeTypeName (AqlNodeType inType);
+ char* aqlOpTypeName (AqlOpType inType);
+ char* aqlLocSourceTypeName (AqlLocSourceType inType);
+
+-#if defined(IBM)
++#if defined(IBM) || defined(LINUX)
+ /* predeclare lex.yy.c fns */
+ void yyerror (char *s);
+ #endif
+diff --git a/waql/aqlparse.l b/waql/aqlparse.l
+index 313375027957..bc232e0a4c48 100644
+--- a/waql/aqlparse.l
++++ b/waql/aqlparse.l
+@@ -102,6 +102,8 @@
+
+ %}
+
++%option noyywrap
++
+ letter [A-Za-z]
+ digit [0-9]
+ id {letter}({letter}|{digit}|"_")*
+diff --git a/waql/aqlparse.y b/waql/aqlparse.y
+index 9989831a4838..975ae325c14c 100644
+--- a/waql/aqlparse.y
++++ b/waql/aqlparse.y
+@@ -77,6 +77,8 @@ static int tokPos[1024];
+
+ /**************************************************************/
+
++int yylex(void);
++
+ %}
+
+ %union {
=====================================
debian/patches/acedb-signal-fix.patch
=====================================
@@ -0,0 +1,28 @@
+Author: Jeremy Sowden <azazel at debian.org>
+Last-Update: Sat, 13 Apr 2024 22:46:17 +0100
+Description: Add undeclared identifier
+
+diff --git a/w4/sigsubs.c b/w4/sigsubs.c
+index 2fd0c6ce9155..9d2942df1642 100644
+--- a/w4/sigsubs.c
++++ b/w4/sigsubs.c
+@@ -467,6 +467,10 @@ static char *getSignalText(int sig_num)
+
+ return "unknown";
+
++#elif defined(LINUX)
++
++ return strsignal(sig_num);
++
+ #else
+
+ char *sig_text = NULL ;
+@@ -485,7 +489,7 @@ static char *getSignalText(int sig_num)
+
+ char **signal_textlist = &(_sys_siglist[0]) ;
+
+-#if defined(LINUX) || defined(OPTERON) || defined(HP)
++#if defined(OPTERON) || defined(HP)
+ int signal_max = _NSIG ;
+ #else
+ int signal_max = _sys_nsig ;
=====================================
debian/patches/series
=====================================
@@ -14,3 +14,5 @@ glibc2.32.patch
just_build_efetch.patch
glibc2.38.patch
fix_implicit_declaration.patch
+acedb-parser-fixes.patch
+acedb-signal-fix.patch
View it on GitLab: https://salsa.debian.org/med-team/acedb/-/commit/ba530b1914146f24de719756f642ff8b5c40a1a5
--
View it on GitLab: https://salsa.debian.org/med-team/acedb/-/commit/ba530b1914146f24de719756f642ff8b5c40a1a5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240414/2419580c/attachment-0001.htm>
More information about the debian-med-commit
mailing list