SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
net/tcl-snmptools/patches/patch-configure
Normal file
12
net/tcl-snmptools/patches/patch-configure
Normal 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
|
11
net/tcl-snmptools/patches/patch-generic_netsnmp_c
Normal file
11
net/tcl-snmptools/patches/patch-generic_netsnmp_c
Normal 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>
|
14
net/tcl-snmptools/patches/patch-generic_snmptools_c
Normal file
14
net/tcl-snmptools/patches/patch-generic_snmptools_c
Normal 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
|
||||
*/
|
12
net/tcl-snmptools/patches/patch-generic_util_h
Normal file
12
net/tcl-snmptools/patches/patch-generic_util_h
Normal 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, ...);
|
Loading…
Add table
Add a link
Reference in a new issue