ports/security/openvas/files/patch-src_main.c
Jose Alonso Cardenas Marquez 11e2887006
security/gvm: update to 22.9.0
- databases/pg-gvm: update to 22.6.1
- security/gsa: update to 22.7.1
- security/gsad: update to 22.6.0
- security/gvm-libs: update to 22.7.1
- security/gvmd: update to 22.9.0
- security/openvas: update to 22.7.5
- security/py-gvm-tools: update to 23.9.0
- security/py-notus-scanner: update to 22.6.0
- security/py-ospd-openvas: update to 22.6.0
- security/py-python-gvm: update to 23.5.1
2023-10-02 12:18:12 -05:00

17 lines
385 B
C

--- src/main.c 2023-08-31 14:23:03.000000000 -0500
+++ src/main.c 2023-09-20 23:54:36.721716000 -0500
@@ -21,7 +21,13 @@
* @return EXIT_SUCCESS on success, EXIT_FAILURE on failure.
*/
int
+#if defined(__FreeBSD__)
+main (int argc, char **argv)
+{
+ return openvas (argc, argv);
+#else
main (int argc, char **argv, char *env[])
{
return openvas (argc, argv, env);
+#endif
}