[packages/mbr] Rel 2

arekm arekm at pld-linux.org
Fri May 8 19:49:59 CEST 2026


commit 5ea9f850811f4ab6ebcd6bcf095030d074f5dc21
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri May 8 19:49:50 2026 +0200

    Rel 2

 mbr-misleading-indentation.patch | 11 +++++++++++
 mbr.spec                         |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/mbr.spec b/mbr.spec
index a9842f5..9571260 100644
--- a/mbr.spec
+++ b/mbr.spec
@@ -1,12 +1,13 @@
 Summary:	Master Boot Record for IBM-PC compatible computers
 Name:		mbr
 Version:	1.1.11
-Release:	1
+Release:	2
 License:	GPL
 Group:		Base
 Source0:	http://www.chiark.greenend.org.uk/~neilt/mbr/%{name}-%{version}.tar.gz
 # Source0-md5:	4e406ded185f94c2d2bf5fc793ac1842
 URL:		http://www.chiark.greenend.org.uk/~neilt/mbr/
+Patch0:		%{name}-misleading-indentation.patch
 BuildRequires:	bin86
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -16,6 +17,7 @@ Master Boot Record for IBM-PC compatible computers.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %configure
diff --git a/mbr-misleading-indentation.patch b/mbr-misleading-indentation.patch
new file mode 100644
index 0000000..3feec90
--- /dev/null
+++ b/mbr-misleading-indentation.patch
@@ -0,0 +1,11 @@
+--- mbr-1.1.11/install-mbr.c.orig	2010-11-24 16:23:44.000000000 +0100
++++ mbr-1.1.11/install-mbr.c	2026-05-08 00:00:00.000000000 +0200
+@@ -640,7 +640,7 @@
+       printf(" F");
+     if(cp->enabled & CPE_A)
+       printf(" A");
+-      printf("\n");
++    printf("\n");
+   }
+   if(cp->flags & CPFLAG_INTERRUPT)
+   {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mbr.git/commitdiff/5ea9f850811f4ab6ebcd6bcf095030d074f5dc21



More information about the pld-cvs-commit mailing list