linux: build with reflex

This commit is contained in:
Ella-0 2021-06-19 12:37:35 +01:00
parent b9c06d8127
commit 7791190760

14
pkgs/linux/reflex.patch Normal file
View file

@ -0,0 +1,14 @@
--- a/scripts/kconfig/lexer.l
+++ b/scripts/kconfig/lexer.l
@@ -3,9 +3,10 @@
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
*/
%option nostdinit noyywrap never-interactive full ecs
-%option 8bit nodefault yylineno
+%option 8bit nodefault
%x ASSIGN_VAL HELP STRING
%{
+int yylineno = 0;
#include <assert.h>
#include <limits.h>