# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/mine/maxlen.patch # Copyright (C) 2023 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- mine-0.23/selector.c.vanilla 2023-03-31 00:20:33.878291962 +0200 +++ mine-0.23/selector.c 2023-03-31 00:25:19.834306006 +0200 @@ -34,6 +34,11 @@ " [>] package marked for replacing currently installed version\n" \ " < > / <-> dependency (not installed / marked for removal)\n" +// dialog moved this macro in dlg_internals.h which isn't exposed to the end user +#ifndef MAX_LEN +#define MAX_LEN 2048 +#endif + char ** items; struct directory_entry ** entries; int item_counter;