aboutsummaryrefslogtreecommitdiffstats
path: root/security/gvmd/files/patch-src_manage_sql.c
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /security/gvmd/files/patch-src_manage_sql.c
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'security/gvmd/files/patch-src_manage_sql.c')
-rw-r--r--security/gvmd/files/patch-src_manage_sql.c29
1 files changed, 13 insertions, 16 deletions
diff --git a/security/gvmd/files/patch-src_manage_sql.c b/security/gvmd/files/patch-src_manage_sql.c
index f0a2558a25c8..4a8c168b398a 100644
--- a/security/gvmd/files/patch-src_manage_sql.c
+++ b/security/gvmd/files/patch-src_manage_sql.c
@@ -1,31 +1,28 @@
---- src/manage_sql.c 2024-01-12 03:14:29.000000000 -0500
-+++ src/manage_sql.c 2024-01-26 16:42:23.043251000 -0500
-@@ -54,7 +54,6 @@
+--- src/manage_sql.c 2025-09-05 02:59:51.000000000 -0700
++++ src/manage_sql.c 2025-10-07 22:42:53.666243000 -0700
+@@ -72,7 +72,6 @@
#include <errno.h>
#include <glib/gstdio.h>
#include <gnutls/x509.h>
-#include <malloc.h>
- #include <pwd.h>
#include <stdlib.h>
#include <sys/socket.h>
-@@ -71,7 +70,6 @@
+ #include <sys/stat.h>
+@@ -84,12 +83,12 @@
+ #include <gpgme.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+
+ #include <gvm/base/gvm_sentry.h>
#include <gvm/base/hosts.h>
#include <gvm/base/pwpolicy.h>
#include <gvm/base/logging.h>
-#include <bsd/unistd.h>
#include <gvm/util/fileutils.h>
- #include <gvm/util/gpgmeutils.h>
#include <gvm/util/serverutils.h>
-@@ -9431,7 +9429,7 @@
- g_debug (" HTTP_GET %s", url);
-
- cmd = (gchar **) g_malloc (5 * sizeof (gchar *));
-- cmd[0] = g_strdup ("/usr/bin/wget");
-+ cmd[0] = g_strdup ("/usr/local/bin/wget");
- cmd[1] = g_strdup ("-O");
- cmd[2] = g_strdup ("-");
- cmd[3] = g_strdup (url);
-@@ -15775,8 +15773,6 @@
+ #include <gvm/util/uuidutils.h>
+@@ -6382,8 +6381,6 @@
cleanup_iterator (&nvts);
cleanup_iterator (&prefs);