git: 408b0b05a453 - 2026Q2 - math/csdp: add missing include directive

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 22 Jun 2026 09:32:21 UTC
The branch 2026Q2 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=408b0b05a453ac046052a500111e3c5e73f965a5

commit 408b0b05a453ac046052a500111e3c5e73f965a5
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-06-21 09:50:35 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-06-22 09:32:04 +0000

    math/csdp: add missing include directive
    
    gcc treats an implicit declaration as an error these days.  Shut it up
    by supplying the declaration of printf() through <stdio.h>.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q2
    
    (cherry picked from commit 8fb9ba4edf44eecb887014525e64d080c8e2ef5e)
---
 math/csdp/files/patch-lib_user__exit.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/math/csdp/files/patch-lib_user__exit.c b/math/csdp/files/patch-lib_user__exit.c
new file mode 100644
index 000000000000..a14307a121ae
--- /dev/null
+++ b/math/csdp/files/patch-lib_user__exit.c
@@ -0,0 +1,10 @@
+--- lib/user_exit.c.orig	2026-06-21 09:49:29 UTC
++++ lib/user_exit.c
+@@ -13,6 +13,7 @@
+ #include <sys/time.h>
+ #include <sys/resource.h>
+ #include <signal.h>
++#include <stdio.h>
+ 
+ int sigterm_signaled=0;
+