SHA256
8
0
forked from pool/voms
Files
voms/voms-gcc14.patch
Dirk Mueller c59712e080 - version update to 2.1.2
* Make the build more robust against non-standard installations of some dependencies by @giacomini in #138
  * Fix compilation with GCC 15 (Fedora 42) by @ellert in #140
  * Remove an escaped slash during normalization of a DN by @giacomini in #144
  * Preserve the possible failure of AC verification in voms-proxy-info by @giacomini in #143
- deleted patches
  - voms-gcc14.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/voms?expand=0&rev=11
2025-07-14 10:27:15 +00:00

74 lines
2.3 KiB
Diff

Index: voms-2.1.0-rc3/src/sslutils/namespaces.y
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/namespaces.y
+++ voms-2.1.0-rc3/src/sslutils/namespaces.y
@@ -33,6 +33,9 @@
char **parse_subjects(char *string);
void namespaceserror(void *policies, void *scanner, char const *msg);
+extern int namespaceslex(YYSTYPE * yylval_param ,yyscan_t yyscanner);
+
+#
%}
%error-verbose
Index: voms-2.1.0-rc3/src/sslutils/signing_policy.y
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/signing_policy.y
+++ voms-2.1.0-rc3/src/sslutils/signing_policy.y
@@ -33,6 +33,8 @@
#include "parsertypes.h"
#include "listfunc.h"
+extern int signinglex (YYSTYPE * yylval_param ,yyscan_t yyscanner);
+
char **parse_subjects(char *string);
void signingerror(void *policies, void *scanner, char const *msg);
%}
Index: voms-2.1.0-rc3/src/sslutils/namespaces.c
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/namespaces.c
+++ voms-2.1.0-rc3/src/sslutils/namespaces.c
@@ -176,6 +176,7 @@ typedef union YYSTYPE
# define YYSTYPE_IS_DECLARED 1
#endif
+extern int namespaceslex(YYSTYPE * yylval_param ,void* yyscanner);
/* Copy the second part of user declarations. */
Index: voms-2.1.0-rc3/src/sslutils/signing_policy.c
===================================================================
--- voms-2.1.0-rc3.orig/src/sslutils/signing_policy.c
+++ voms-2.1.0-rc3/src/sslutils/signing_policy.c
@@ -112,6 +112,7 @@
#include "parsertypes.h"
#include "listfunc.h"
+
char **parse_subjects(char *string);
void signingerror(void *policies, void *scanner, char const *msg);
@@ -181,6 +182,7 @@ typedef union YYSTYPE
# define YYSTYPE_IS_DECLARED 1
#endif
+extern int signinglex (YYSTYPE * yylval_param ,void* yyscanner);
/* Copy the second part of user declarations. */
Index: voms-2.1.0-rc3/src/utils/vomsparser.c
===================================================================
--- voms-2.1.0-rc3.orig/src/utils/vomsparser.c
+++ voms-2.1.0-rc3/src/utils/vomsparser.c
@@ -633,6 +633,9 @@ while (YYID (0))
# define YYLEX yylex ()
#endif
+extern int yylex(void);
+extern void yyerror(char const*);
+
/* Enable debugging if requested. */
#if YYDEBUG