git: e84f1d4c8ee9 - main - deskutils/cairo-dock-plugins: Add missing headers
Laurent Chardon <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by laurent: URL: https://cgit.FreeBSD.org/ports/commit/?id=e84f1d4c8ee9b9a6e38d43837083434e0e6df323 commit e84f1d4c8ee9b9a6e38d43837083434e0e6df323 Author: Laurent Chardon <[email protected]> AuthorDate: 2026-08-18 10:22:06 +0000 Commit: Laurent Chardon <[email protected]> CommitDate: 2026-08-18 10:24:33 +0000 deskutils/cairo-dock-plugins: Add missing headers Include missing math.h in a couple of c source files PR: 296978 Reported by: Ott Köstner <[email protected]> Reviewed by: thierry (mentor) Approved by: thierry (mentor) --- .../cairo-dock-plugins/files/patch-weather_src_applet-config.c | 10 ++++++++++ .../files/patch-weather_src_applet-load-icons.c | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/deskutils/cairo-dock-plugins/files/patch-weather_src_applet-config.c b/deskutils/cairo-dock-plugins/files/patch-weather_src_applet-config.c new file mode 100644 index 000000000000..9badb9e2bc33 --- /dev/null +++ b/deskutils/cairo-dock-plugins/files/patch-weather_src_applet-config.c @@ -0,0 +1,10 @@ +--- weather/src/applet-config.c.orig 2025-12-22 10:16:05 UTC ++++ weather/src/applet-config.c +@@ -17,6 +17,7 @@ + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + ++#include <math.h> + #include <string.h> + #include <glib/gstdio.h> + diff --git a/deskutils/cairo-dock-plugins/files/patch-weather_src_applet-load-icons.c b/deskutils/cairo-dock-plugins/files/patch-weather_src_applet-load-icons.c new file mode 100644 index 000000000000..bb39e1423f55 --- /dev/null +++ b/deskutils/cairo-dock-plugins/files/patch-weather_src_applet-load-icons.c @@ -0,0 +1,10 @@ +--- weather/src/applet-load-icons.c.orig 2025-12-22 10:16:05 UTC ++++ weather/src/applet-load-icons.c +@@ -17,6 +17,7 @@ + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + ++#include <math.h> + #include <string.h> + + #include "applet-struct.h"