Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37856613
en ru br
ALT Linux repositórios
S:0.5.0-alt2

Group :: Sistema/Bibliotecas
RPM: libsmi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libsmi-0.5.0-alt-yyleng.patch
Download


diff -ur libsmi-0.5.0/lib/scanner-smi.h libsmi-0.5.0.new/lib/scanner-smi.h
--- libsmi-0.5.0/lib/scanner-smi.h	2019-01-07 11:17:38.000000000 +0300
+++ libsmi-0.5.0.new/lib/scanner-smi.h	2019-08-28 23:43:43.536880810 +0300
@@ -21,7 +21,7 @@
 #define YY_NO_UNPUT
 
 extern char *yytext;
-#if 0
+#ifndef yyleng
 extern int yyleng;
 #endif
 
diff -ur libsmi-0.5.0/lib/scanner-sming.h libsmi-0.5.0.new/lib/scanner-sming.h
--- libsmi-0.5.0/lib/scanner-sming.h	2019-01-07 11:17:38.000000000 +0300
+++ libsmi-0.5.0.new/lib/scanner-sming.h	2019-08-28 23:44:09.944050865 +0300
@@ -21,7 +21,9 @@
 #define YY_NO_UNPUT
 
 extern char *yytext;
+#ifndef yyleng
 extern int yyleng;
+#endif
 
 extern int smingEnterLexRecursion(FILE *file);
 extern void smingLeaveLexRecursion();
diff -ur libsmi-0.5.0/lib/scanner-yang.h libsmi-0.5.0.new/lib/scanner-yang.h
--- libsmi-0.5.0/lib/scanner-yang.h	2019-01-07 11:17:38.000000000 +0300
+++ libsmi-0.5.0.new/lib/scanner-yang.h	2019-08-28 23:44:33.840204000 +0300
@@ -21,8 +21,7 @@
 #define YY_NO_UNPUT
 
 extern char *yytext;
-#if 0
-/* this does not seem to be needed with flex 2.5.35 and in fact conflicts */
+#ifndef yyleng
 extern int yyleng;
 #endif
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009