I am uploading a NMU to fix this.
Please find the debdiff attached.diff -Nru mac-fdisk-0.1/debian/changelog mac-fdisk-0.1/debian/changelog
--- mac-fdisk-0.1/debian/changelog 2023-05-16 22:13:04.0 +0200
+++ mac-fdisk-0.1/debian/changelog 2023-05-16 21:26:00.0 +0200
@@ -1,3 +1,13 @@
+mac-fdisk (0.1-18.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Convert to source format 3.0 (quilt). (Closes: #1007407)
+ * Include system headers and prevent old error handling (Closes: #1011530)
+ * d/rules: Add missing targets.
+ * Change section to otherosfs.
+
+ -- Bastian Germann Tue, 16 May 2023 21:26:00 +0200
+
mac-fdisk (0.1-18) unstable; urgency=medium
* New maintainer:
diff -Nru mac-fdisk-0.1/debian/control mac-fdisk-0.1/debian/control
--- mac-fdisk-0.1/debian/control2023-05-16 22:13:04.0 +0200
+++ mac-fdisk-0.1/debian/control2023-05-16 21:26:00.0 +0200
@@ -1,5 +1,5 @@
Source: mac-fdisk
-Section: base
+Section: otherosfs
Priority: optional
Build-Depends: debhelper
Maintainer: John Paul Adrian Glaubitz
@@ -32,7 +32,6 @@
Package: mac-fdisk-cross
Architecture: i386 m68k
-Section: otherosfs
Depends: ${shlibs:Depends}
Description: Apple disk partition manipulation tool, cross version
The fdisk utilities from the MkLinux project, adopted for Linux/m68k.
@@ -47,7 +46,6 @@
Package: pmac-fdisk-cross
Architecture: i386 m68k
-Section: otherosfs
Depends: ${shlibs:Depends}
Description: fdisk partition manipulation tool for PowerPC, cross version
The fdisk utilities from the MkLinux project, adopted for Linux/ppc.
diff -Nru mac-fdisk-0.1/debian/mac-fdisk.8.in
mac-fdisk-0.1/debian/mac-fdisk.8.in
--- mac-fdisk-0.1/debian/mac-fdisk.8.in 1970-01-01 01:00:00.0 +0100
+++ mac-fdisk-0.1/debian/mac-fdisk.8.in 2023-05-16 21:26:00.0 +0200
@@ -0,0 +1,262 @@
+.TH MAC-FDISK 8 "1 December 2001" "Debian" "Apple Disk Partitioning Manual"
+.SH NAME
+mac-fdisk \- Apple partition table editor for Linux
+.SH SYNOPSIS
+.B mac-fdisk
+.B "[ \-h | \--help ] [ \-v | \--version ] [ \-l | \--list device ... ]"
+.br
+.B mac-fdisk
+.B "[ \-r | \--readonly ] device ... "
+.SH DESCRIPTION
+.B mac-fdisk
+is a command line type program which partitions disks using the standard Apple
+disk partitioning scheme described in "Inside Macintosh: Devices".
+The
+.I device
+is usually one of the following:
+
+.nf
+.RS
+/dev/sda
+/dev/sdb
+/dev/sdc
+/dev/sdd
+/dev/sde
+/dev/sdf
+/dev/sdg
+/dev/hda
+/dev/hdb
+
+.RE
+.fi
+/dev/sda is the first hard disk on the SCSI bus (i.e. the
+one with the lowest id), /dev/sdb is the second hard disk, and so on.
+The
+.I partition
+is a
+.I device
+name followed by a partition number.
+The partition number is the index (starting from one) of the partition
+map entry in the partition map (and the partition map itself occupies the
+first entry).
+For example,
+.B /dev/sda2
+is the partition described by the second entry in the partiton map on /dev/sda.
+
+.SH OPTIONS
+.TP
+.B \-v | \--version
+Prints version number of the
+.B mac-fdisk
+program.
+.TP
+.B \-h | \--help
+Prints a list of available commands for the
+.B mac-fdisk
+program.
+.TP
+.B \-l | \--list
+Lists the partition tables for the specified
+.IR device(s).
+With no
+.IR device(s)
+given, lists all SCSI and IDE devices found in the system.
+.TP
+.B \-r | \--readonly
+Prevents
+.B mac-fdisk
+from writing to the device.
+.SH "Editing Partition Tables"
+An argument which is simply the name of a
+.I device
+indicates that
+.B mac-fdisk
+should edit the partition table of that device. Once started,
+.B mac-fdisk
+presents an interactive command prompt to edit the partition table.
+The partition editing commands are:
+
+.nf
+.RS
+hlist available commands
+pprint (list) the current edited partition table status
+Pprint ordered by base address
+iinitialize the partition map
+schange size of partition map
+bcreate new 800K Apple_Bootstrap partition (used by yaboot)
+ccreate new standard Linux type partition
+Ccreate new partition, specifying the partition type
+ddelete a partition
+rreorder partition entry
+wwrite the partition table to disk
+qquit
+
+.RE
+.fi
+Commands which take arguments prompt for each argument in turn.
+You can also type the arguments separated by spaces
+and those prompts will be skipped. The
+.B i
+and
+.B w
+commands will prompt for confirmation. None of the editing you do will
+actually affect the state of the disk you are partitioning until the
+.B w
+command is issued. Then the map in its edited state will be
+permanently written to the disk.
+
+Partitions are always specified by their number, the index of the
+partition entry in the partition map. Many commands will change the
+index numbers of partitions which follow the affected partition; you are
+encouraged to use the
+.B p
+command to print the partition table as frequently as necessary. For SCSI
+disks, the partition