diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-04-26 15:14:46 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-04-26 15:14:46 -0600 |
| commit | 1441dd2bb718dde6e89de87a41aed390785a7d56 (patch) | |
| tree | 3020d1bb6a9460969003f9a65b78cb9745a84473 /pkgs/simple-scalar/0001-fix-case-of-YY_CURRENT_BUFFER.patch | |
| parent | e99f4ecb659d5a00c43965e506f50ec5d71b0c02 (diff) | |
pkgs: add simple-scalar
Diffstat (limited to 'pkgs/simple-scalar/0001-fix-case-of-YY_CURRENT_BUFFER.patch')
| -rw-r--r-- | pkgs/simple-scalar/0001-fix-case-of-YY_CURRENT_BUFFER.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/simple-scalar/0001-fix-case-of-YY_CURRENT_BUFFER.patch b/pkgs/simple-scalar/0001-fix-case-of-YY_CURRENT_BUFFER.patch new file mode 100644 index 0000000..5d7cf85 --- /dev/null +++ b/pkgs/simple-scalar/0001-fix-case-of-YY_CURRENT_BUFFER.patch @@ -0,0 +1,25 @@ +From 33f6fb023c09464467eea4538f18e2a131acee3a Mon Sep 17 00:00:00 2001 +From: Alejandro Soto <alejandro@34project.org> +Date: Wed, 26 Apr 2023 13:37:32 -0600 +Subject: [PATCH] fix case of YY_CURRENT_BUFFER + +--- + ld/ldlex.l | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/simpleutils-990811/ld/ldlex.l b/simpleutils-990811/ld/ldlex.l +index 2eef80f..561b8af 100644 +--- a/simpleutils-990811/ld/ldlex.l ++++ b/simpleutils-990811/ld/ldlex.l +@@ -585,7 +585,7 @@ yy_input (buf, result, max_size) + int max_size; + { + *result = 0; +- if (yy_current_buffer->yy_input_file) ++ if (YY_CURRENT_BUFFER->yy_input_file) + { + if (yyin) + { +-- +2.38.4 + |
