Control: tags -1 + patch

Hi,

Under GCC 15 (defaulting to C23), empty parameter lists in K&R function 
declarations
in regexp.h (e.g. "extern void regerror();") conflict with real prototypes in 
faces.h.

Building with -std=gnu17 in debian/rules resolves the build failure.
Please find the patch below.

-- 
Viktor Pashaiev

--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
 # Sample debian.rules file - for GNU Hello (1.3).
 # Copyright 1994,1995 by Ian Jackson.
 # I hereby give you perpetual unlimited permission to copy,

Reply via email to