From a2d62fe7d2a0625d4e018012833eb9675184bd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 22 Apr 2020 20:19:21 +0200 Subject: [PATCH] 64tass: fix # lines limit calculations The maximum {m,c}alloc block size is 2GiB (INT32_MAX) so clip the calculations for max_lines and lines to the limit (INT32_MAX-1)/sizeof(ptr). In this way at most 2GiB - 4 bytes may be allocated in one block. --- srcpkgs/64tass/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/64tass/template b/srcpkgs/64tass/template index e668a1069c2..ae06411d48b 100644 --- a/srcpkgs/64tass/template +++ b/srcpkgs/64tass/template @@ -1,7 +1,7 @@ # Template file for '64tass' pkgname=64tass version=1.55.2200 -revision=1 +revision=2 wrksrc="64tass-${version}-src" build_style=gnu-makefile make_build_args="prefix=/usr"