pidgin/data/pidgin.pc.in

Tue, 21 Jan 2025 10:49:29 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 21 Jan 2025 10:49:29 -0600
branch
release-2.x.y
changeset 43154
10ae9c0f0cbf
parent 36249
c6a0feac708f
permissions
-rw-r--r--

Fix invalid prototypes that will break with C23

Using `function()` used to mean "any number" of parameters, but as of C23, this
is now aligned with C++ and means _zero_ parameters. This will cause build
failures due to mismatched function parameters in GCC15, which switched to C23
by default.

Related to PIDGIN-18028, though I guess Gentoo didn't actually have the problem as they disabled Zephyr.

Testing Done:
Compiled with GCC15 without error.

Reviewed at https://reviews.imfreedom.org/r/3776/

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
datarootdir=@datarootdir@
datadir=@datadir@
sysconfdir=@sysconfdir@

plugindir=${libdir}/pidgin

Name: Pidgin
Description: Pidgin is a GTK2-based instant messenger application.
Version: @VERSION@
Requires: gtk+-2.0 purple
Cflags: -I${includedir}/pidgin

mercurial