1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

sysutils/agedu: Update to 20241013.3622eda

Changes:	https://git.tartarus.org/?p=simon/agedu.git;a=shortlog
This commit is contained in:
Po-Chuan Hsieh 2024-10-21 14:33:28 +08:00
parent 8873734cb1
commit 0727e05c63
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 4 additions and 18 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= agedu
PORTVERSION= 20211129.8cd63c5
PORTREVISION= 1
PORTVERSION= 20241013.3622eda
CATEGORIES= sysutils
MASTER_SITES= https://www.chiark.greenend.org.uk/~sgtatham/agedu/ \
LOCAL/sunpoet

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1638556490
SHA256 (agedu-20211129.8cd63c5.tar.gz) = ceaee592ef21b8cbb254aa7e9c5d22cefab24535e137618a4d0af591eba8339f
SIZE (agedu-20211129.8cd63c5.tar.gz) = 92346
TIMESTAMP = 1729240322
SHA256 (agedu-20241013.3622eda.tar.gz) = 3f77cb2e4dd64c100f7a7b0789a6c06cc16f23e7fe78c1451f5020dd823cf2f8
SIZE (agedu-20241013.3622eda.tar.gz) = 91958

View File

@ -1,13 +0,0 @@
Obtained from: https://git.tartarus.org/?p=simon/agedu.git;a=commit;h=3622edabe7f6776dc66dd5d685ab9980226cfa6b
--- html.c.orig 2021-11-29 02:20:04 UTC
+++ html.c
@@ -131,6 +131,8 @@ static unsigned long long round_and_format_age(struct
sprintf(newbuf, "%d year%s", i, i==1 ? "" : "s");
if (newret < age)
goto finish;
+ if (newret > ret) /* integer overflow - give up! */
+ goto finish;
strcpy(buf, newbuf);
ret = newret;
}