SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Index: configure
--- configure.orig
+++ configure
@@ -8771,7 +8771,7 @@ fi
fi
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
{ echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
if test "${tcl_cv_ld_elf+set}" = set; then

View file

@ -0,0 +1,11 @@
Index: generic/netsnmp.c
--- generic/netsnmp.c.orig
+++ generic/netsnmp.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>

View file

@ -0,0 +1,14 @@
Fix for -fno-common
Index: generic/snmptools.c
--- generic/snmptools.c.orig
+++ generic/snmptools.c
@@ -39,6 +39,8 @@ static int snmpCmd(ClientData clientData, Tcl_Interp *
static int sessionCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]);
+Tcl_DString Result;
+
/*
* Function Bodies
*/

View file

@ -0,0 +1,12 @@
fix for -fno-common
--- generic/util.h.orig Tue Jan 29 10:09:38 2008
+++ generic/util.h Tue Feb 2 07:43:51 2021
@@ -48,7 +48,6 @@
# define TMP "/tmp"
#endif
-Tcl_DString Result;
extern Tcl_DString Result;
int printres(const char *fmt, ...);