# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/asymptote/hotfix-flex27.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- flex 2.7 derives YY_BUF_SIZE from YY_READ_BUF_SIZE, keep the former 16k read size. --- asymptote-3.15.orig/interact.h +++ asymptote-3.15/interact.h @@ -66,7 +66,7 @@ public: void setCompleter(completer *c); -#define YY_READ_BUF_SIZE YY_BUF_SIZE +#define YY_READ_BUF_SIZE 16384 void init_readline(bool tabcompletion); }