🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #308

Bug#1098135: xfaces: fix FTBFS with GCC-15 by building with -std=gnu17

#308
From: 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,
Technical Details
Message-ID: <NMA09-4Esc-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NMA09-4Esc-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Viktor Pashaiev <w.paszajew@gmail.com>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1098135: xfaces: fix FTBFS with GCC-15 by building with -std=gnu17
Date: Sat, 10 Oct 2026 09:50:01 +0200
Message-ID: <NMA09-4Esc-3@gated-at.bofh.it>
References: <NMA09-4Esc-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Sat Oct 10 07:43:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.548
Reply-To: Viktor Pashaiev <w.paszajew@gmail.com>, 1098135@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: hakan@debian.org
X-Debian-Pr-Message: followup 1098135
X-Debian-Pr-Package: src:xfaces
X-Debian-Pr-Keywords: sid ftbfs forky
X-Debian-Pr-Source: xfaces
X-Gm-Message-State: AFq9FYK8Q0XQVSk20KdjdKCemB4h1lEHDdKjC/xYn9rGlMxWtG/nwZOT
	QxXU50WCabPYKEi7DvfBDZ+WAlLy+79t5R7W4XcrnQlhQJjFZerlYL0L7/NEJQ==
X-Gm-Gg: AYBFou1+JY2SAtWR+0Tht+kNwLUrLPN6diYE6DaMWlHgcg9Q8LSSD7lfiSVP0pybWMN
	m4f3PEnA0ED5WVVS365HZSCMOrY1F8S9nhNqNG98jEbGILLcdBMDlzTIwH0VjiWsxF7e58IfXTT
	3ItdiicNznGQoZ/33Ai7A7QfVxIjE9xzSE92QJ4jNUNbc0Tkm42FYMZBnhjAO61U1AYlxYKO3Un
	MC5zCiPRsKw03ETYfXtVLSvrbX5XiDPcCpwzdpdBI5KM8dg6NoryE+6AoutXxalbsRsvVKtHkwR
	jwV2KmkMZVfyqNrf1DPLYxe8VL5eG9LAKlj4yfcCskoebMSZw6bWurgdWoGK8cMmC/bAOwznmB6
	wUzinwq16JPcmK5qLvhuSmg5/S0ZadV4ADWls3ZuNxafCk7FE5olJmQqTkvC3DE7f4oM8VBZYPL
	QJGJcTStFmdIejfCwEvq21i8oE1AI4fMz7du3WGk6NGuI5gfj63c29lJzOMU1WpThzipFeIK7EV
	mHni0j9kZIzn0jhc3xqfOsOOqOFC63WSA==
X-Received: by 2002:a05:600c:a011:b0:49e:6581:7baf with SMTP id 5b1f17b1804b1-4a18e447d8bmr77962645e9.2.1791618095228;
        Sat, 10 Oct 2026 00:41:35 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834142
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 23
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 10 Oct 2026 00:41:34 -0700 (PDT)
X-Original-Message-ID: <6ac9ec2e.bb083492.daa96.8ee2@mx.google.com>
X-Original-References: <E1tk5R1-009RgI-06@paradis.debian.org>