Index | Thread | Search

From:
SASANO Takayoshi <uaa@mx5.nisiq.net>
Subject:
[UPDATE] mtools 4.0.47 -> 4.0.48
To:
ports@cvs.openbsd.org
Date:
Sun, 23 Feb 2025 16:18:10 +0900

Download raw body.

Thread
  • SASANO Takayoshi:

    [UPDATE] mtools 4.0.47 -> 4.0.48

Hi,

mtools-4.0.48 has released, here is the update.
I didn't think new version would release so quickly.

patch for mformat.c is no longer required, so it is deleted.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/mtools/Makefile,v
diff -u -p -r1.67 Makefile
--- Makefile	17 Feb 2025 22:03:52 -0000	1.67
+++ Makefile	23 Feb 2025 07:11:48 -0000
@@ -1,5 +1,5 @@
 COMMENT=	read/write/list/format DOS disks under Unix
-DISTNAME=	mtools-4.0.47
+DISTNAME=	mtools-4.0.48
 
 CATEGORIES=	sysutils
 
@@ -31,5 +31,7 @@ WANTLIB+=		X11 Xau
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mtools/
 	${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/share/examples/mtools/
+	${INSTALL_MAN} ${WRKBUILD}/mtools.1 ${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKBUILD}/mtools.5 ${PREFIX}/man/man5
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/mtools/distinfo,v
diff -u -p -r1.17 distinfo
--- distinfo	17 Feb 2025 22:03:52 -0000	1.17
+++ distinfo	23 Feb 2025 07:11:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (mtools-4.0.47.tar.gz) = 4BEdhj+e9VcVWC9Laaf/0mFkXgyJQXzv6zCM0IAALgQ=
-SIZE (mtools-4.0.47.tar.gz) = 560285
+SHA256 (mtools-4.0.48.tar.gz) = iPJzxmKa1UZEgumKmYByf1he6thzbFBxfJXjbwXKBdw=
+SIZE (mtools-4.0.48.tar.gz) = 553505
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/sysutils/mtools/patches/patch-Makefile_in,v
diff -u -p -r1.6 patch-Makefile_in
--- patches/patch-Makefile_in	17 Feb 2025 22:03:52 -0000	1.6
+++ patches/patch-Makefile_in	23 Feb 2025 07:11:48 -0000
@@ -1,8 +1,8 @@
 Index: Makefile.in
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -264,7 +264,7 @@ install-links: $(DESTDIR)$(bindir)/mtools
- install-scripts: $(DESTDIR)$(bindir)/mtools
+@@ -267,7 +267,7 @@ install-links: $(DESTDIR)$(bindir)/mtools$(EXEEXT)
+ install-scripts: $(DESTDIR)$(bindir)/mtools$(EXEEXT)
  	@$(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
  	@for j in $(SCRIPTS) ; do \
 -		$(INSTALL_PROGRAM) $(srcdir)/scripts/$$j $(DESTDIR)$(bindir)/$$j ; \
Index: patches/patch-mformat_c
===================================================================
RCS file: patches/patch-mformat_c
diff -N patches/patch-mformat_c
--- patches/patch-mformat_c	17 Feb 2025 22:03:52 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
---- mformat.c.orig	Sun Nov 17 08:51:54 2024
-+++ mformat.c	Sun Feb 16 14:51:11 2025
-@@ -332,7 +332,7 @@ static void check_fs_params_and_set_fat(Fs_t *Fs, uint
- 
- #ifdef DEBUG
- 	fprintf(stderr, "Num_clus=%d fat_len=%d nybbles=%d\n",
--		Fs->num_clus, Fs->fat_len, fat_nybbles);
-+		Fs->num_clus, Fs->fat_len, Fs->fat_bits / 4);
- #endif
- 
- #ifdef HAVE_ASSERT_H
-@@ -922,6 +922,7 @@ void mformat(int argc, char **argv, int dummy UNUSEDP)
- 	serial_set = 0;
- 	serial = 0;
- 	fsVersion = 0;
-+	memset(&boot, '\0', sizeof(boot));
- 
- 	Fs = New(Fs_t);
- 	if (!Fs) {

-- 
SASANO Takayoshi (JG1UAA) <uaa@mx5.nisiq.net>