diff options
| author | Matteo Pacini <m+github@matteopacini.me> | 2025-10-14 22:08:16 +0100 |
|---|---|---|
| committer | Matteo Pacini <m+github@matteopacini.me> | 2025-10-14 22:10:33 +0100 |
| commit | 4cd527d969eef3d54e8814582249f6aa1c3a0a6e (patch) | |
| tree | 915d79abaa5c58285625f219bbf867e759033c6b /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 3b8241a463b1c347ea2c3ba7676ef39112b5fa88 (diff) | |
gtk3: fix sincos detection with clang
Backport GTK MR 5531 to fix sincos detection with clang on all platforms.
The issue occurs because meson's function detection doesn't include proper
headers or -D_GNU_SOURCE when checking for sincos(), causing it to fail
detection even when the function is available (especially with clang).
This backports the fix from GTK 4 (MR 5531) which was never backported to
the gtk-3-24 branch. The patch adds proper headers and compiler flags to
meson's function detection, and updates gtkgears.c to use a wrapper function
that conditionally uses sincos() only when properly detected.
Upstream MR: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5531
See: https://github.com/NixOS/nixpkgs/pull/449689
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
