File: gcc-15.patch

package info (click to toggle)
macutils 2.0b3-17.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,264 kB
  • sloc: ansic: 12,737; makefile: 661
file content (16 lines) | stat: -rw-r--r-- 568 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)')