Tue, 21 Jan 2025 10:49:29 -0600
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/
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
1 | prefix=@prefix@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
2 | exec_prefix=@exec_prefix@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
3 | libdir=@libdir@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
4 | includedir=@includedir@ |
|
21542
be3af6d9f2bf
The order of these variable declarations is important if we want the
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
21489
diff
changeset
|
5 | datarootdir=@datarootdir@ |
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
6 | datadir=@datadir@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
7 | sysconfdir=@sysconfdir@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
8 | |
|
40859
2ff89178eb3d
Make our windows builds usable from meson.
Gary Kramlich <grim@reaperworld.com>
parents:
36249
diff
changeset
|
9 | abs_top_srcdir=@abs_top_srcdir@ |
|
2ff89178eb3d
Make our windows builds usable from meson.
Gary Kramlich <grim@reaperworld.com>
parents:
36249
diff
changeset
|
10 | abs_top_builddir=@abs_top_builddir@ |
|
29145
f8b43f2753dc
Fix -uninstalled pc files for out-of-tree builds.
Will Thompson <resiak@pidgin.im>
parents:
21542
diff
changeset
|
11 | |
|
29677
9f2edc260c5b
Add a plugindir variable to .pc files.
Will Thompson <resiak@pidgin.im>
parents:
29145
diff
changeset
|
12 | plugindir=${libdir}/pidgin |
|
9f2edc260c5b
Add a plugindir variable to .pc files.
Will Thompson <resiak@pidgin.im>
parents:
29145
diff
changeset
|
13 | |
|
15946
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
14 | Name: Pidgin |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
15 | Description: Pidgin is a GTK2-based instant messenger application. |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
16 | Version: @VERSION@ |
|
d40e8847e825
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
diff
changeset
|
17 | Requires: gtk+-2.0 purple |
|
40859
2ff89178eb3d
Make our windows builds usable from meson.
Gary Kramlich <grim@reaperworld.com>
parents:
36249
diff
changeset
|
18 | Cflags: -I${abs_top_srcdir} -I${abs_top_srcdir}/pidgin -I${abs_top_builddir} -I${abs_top_builddir}/pidgin |
|
2ff89178eb3d
Make our windows builds usable from meson.
Gary Kramlich <grim@reaperworld.com>
parents:
36249
diff
changeset
|
19 | Libs: -L${abs_top_builddir}/pidgin -lpidgin |