git: fbbad3fe947b - main - x11-wm/icewm: update IceWM to version 2.8.0.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 06 Oct 2021 07:13:14 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fbbad3fe947b16df7a48dc84441a3df395c51881

commit fbbad3fe947b16df7a48dc84441a3df395c51881
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-10-06 07:11:42 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-10-06 07:11:44 +0000

    x11-wm/icewm: update IceWM to version 2.8.0.
    
    Reported on:    www.opennet.ru
---
 x11-wm/icewm/Makefile | 6 +++++-
 x11-wm/icewm/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index cdd2c56b0162..b059c8faee27 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -1,7 +1,7 @@
 # Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
 
 PORTNAME=	icewm
-PORTVERSION=	2.7.0
+PORTVERSION=	2.8.0
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://github.com/ice-wm/icewm/releases/download/${PORTVERSION}/
 
@@ -60,6 +60,10 @@ post-extract:
 	@${LN} -sf ${STARTUP_PIXMAP} ${WRKSRC}/lib/${dir}/start.xpm
 .endfor
 
+post-patch:
+	@${REINPLACE_CMD} -e '/Battery%d/s,snprintf(buf,char buf[20]; &,' \
+		${WRKSRC}/src/aapm.cc
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ChangeLog NEWS README TODO doc/*.html
diff --git a/x11-wm/icewm/distinfo b/x11-wm/icewm/distinfo
index 3ceaccd9f520..5e02499ffc83 100644
--- a/x11-wm/icewm/distinfo
+++ b/x11-wm/icewm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1628252732
-SHA256 (icewm-2.7.0.tar.lz) = c56b1d0f5d8efa2af3e38003770eab9165289aa87bd8f1627819c7f93f9433a3
-SIZE (icewm-2.7.0.tar.lz) = 1738471
+TIMESTAMP = 1633372907
+SHA256 (icewm-2.8.0.tar.lz) = 12b7cce67b95b09f34873f46948e7f1cef9edd88682139e054b79ba165c53e49
+SIZE (icewm-2.8.0.tar.lz) = 1745937