mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
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.
This commit is contained in:
parent
8a09d89eac
commit
a2d62fe7d2
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for '64tass'
|
# Template file for '64tass'
|
||||||
pkgname=64tass
|
pkgname=64tass
|
||||||
version=1.55.2200
|
version=1.55.2200
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="64tass-${version}-src"
|
wrksrc="64tass-${version}-src"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="prefix=/usr"
|
make_build_args="prefix=/usr"
|
||||||
|
|
Loading…
Add table
Reference in a new issue