Package: acorn-fdisk / 3.0.6-14

Metadata

Package Version Patches format
acorn-fdisk 3.0.6-14 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 fix usage of preprocessor and compilation variables .patch | (download)

Makefile | 15 11 + 4 - 0 !
lib/blkio/Makefile | 6 4 + 2 - 0 !
lib/part/Makefile | 6 4 + 2 - 0 !
lib/scheme/Makefile | 6 4 + 2 - 0 !
lib/util/Makefile | 6 4 + 2 - 0 !
5 files changed, 27 insertions(+), 12 deletions(-)

 fix usage of preprocessor and compilation variables and add a install target


0002 set _FILE_OFFSET_BITS 64 for blkio library and remov.patch | (download)

lib/blkio/Makefile | 2 1 + 1 - 0 !
lib/blkio/open.c | 1 1 + 0 - 0 !
lib/blkio/read.c | 10 10 + 0 - 0 !
lib/blkio/write.c | 10 10 + 0 - 0 !
4 files changed, 22 insertions(+), 1 deletion(-)

 set _file_offset_bits=64 for blkio library and remove "my_llseek" hack

Bug-Debian: 123365

0003 avoid use of kernel headers in fdisk.c was breaking .patch | (download)

fdisk.c | 16 2 + 14 - 0 !
1 file changed, 2 insertions(+), 14 deletions(-)

 avoid use of kernel headers in fdisk.c (was breaking arm build)


0004 fix uninitialised variable in RISCiX partition reade.patch | (download)

lib/scheme/riscix.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix uninitialised variable in riscix partition reader

Bug-Debian: 157697

0005 patches for LBA and others.patch | (download)

fdisk.c | 16 8 + 8 - 0 !
lib/blkio/blkio.h | 2 1 + 1 - 0 !
lib/blkio/open.c | 22 19 + 3 - 0 !
lib/part/allocate.c | 2 1 + 1 - 0 !
lib/part/create.c | 2 1 + 1 - 0 !
lib/part/getpinfo.c | 2 1 + 1 - 0 !
lib/part/types.c | 6 5 + 1 - 0 !
lib/scheme/linux.c | 27 19 + 8 - 0 !
8 files changed, 55 insertions(+), 24 deletions(-)

 patches for lba and others

This patch fixes a number of issues with acorn-fdisk that make
it otherwise unsuable in practice.

 * Adds LBA support, and related additions to ensure fields are
 * 64-bit where required
 * Corrects some prompting behaviour
 * Improves some debugging with function names
 * Remove an assertion that is no longer valid under LBA, and
 * therefore allow writing partitions to work again.

Bug-Debian: 241128

0006 fix compiler warnings.patch | (download)

fdisk.c | 2 1 + 1 - 0 !
lib/scheme/icside.c | 5 4 + 1 - 0 !
lib/scheme/pcbios.c | 7 6 + 1 - 0 !
3 files changed, 11 insertions(+), 3 deletions(-)

 fix compiler warnings
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

 - fdisk.c: passing  from incompatible pointer type
 - lib/scheme/icside.c: dereferencing  does break strict-aliasing rules
   XXX there might be an endianness issue left from the original code
 - lib/scheme/pcbios.c: array subscript is above array bounds
 - lib/scheme/pcbios.c: use of uninitialised value

Bug-Debian: 563522

0007 fix lintian warning spelling error in binary.patch | (download)

fdisk.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix lintian warning: spelling-error-in-binary


0008 fix more compiler warnings.patch | (download)

fdisk.c | 16 10 + 6 - 0 !
lib/blkio/setgeo.c | 5 4 + 1 - 0 !
2 files changed, 14 insertions(+), 7 deletions(-)

 fix more compiler warnings

format strings, unused variables

0009 port this to GNU kFreeBSD.patch | (download)

fdisk.c | 10 9 + 1 - 0 !
lib/blkio/open.c | 7 6 + 1 - 0 !
2 files changed, 15 insertions(+), 2 deletions(-)

 port this to gnu/kfreebsd

(some ideas from util-linux, 10x)

0010 add GCC hardening.patch | (download)

Makefile | 6 3 + 3 - 0 !
lib/blkio/Makefile | 4 2 + 2 - 0 !
lib/part/Makefile | 4 2 + 2 - 0 !
lib/scheme/Makefile | 4 2 + 2 - 0 !
lib/util/Makefile | 4 2 + 2 - 0 !
5 files changed, 11 insertions(+), 11 deletions(-)

 add gcc hardening.