Description: Build with -std=gnu17 to workaround FTBFS with GCC 15
 Also build with -g to fix empty macutils-dbgsym.
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097369

--- macutils-2.0b3.orig/makefile
+++ macutils-2.0b3/makefile
@@ -24,7 +24,7 @@ BINDIR =	/ufs/dik/tmpbin
 #
 # -DAPPLEDOUBLE if you want to be able to use an AppleDouble file system
 #
-CF =	-DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DNODOT -DAPPLEDOUBLE
+CF =	-DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DNODOT -DAPPLEDOUBLE -g -std=gnu17
 
 all:
 	(cd crc; make CF='$(CF)')
