🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Viktor Pashaiev Sat, 10 Oct 2026 07:50
Bug#1098135: xfaces: fix FTBFS with GCC-15 by building with -std=gnu17
#308
Author: Viktor Pashaiev
Date: Sat, 10 Oct 2026 07:50
23 lines
3188 bytes
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,
Processed: Bug#1098135: xfaces: fix FTBFS with GCC-15 by building with -std=gnu17
#309
Author: Debian Bug Tracking System
Date: Sat, 10 Oct 2026 07:50
10 lines
1907 bytes
Processing control commands:

> tags -1 + patch
Bug #1098135 [src:xfaces] xfaces: ftbfs with GCC-15
Added tag(s) patch.

-- 
1098135: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098135
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads