summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorThomas Anders <thomas.anders@blue-cable.de>2007-02-03 00:59:49 +0000
committerThomas Anders <thomas.anders@blue-cable.de>2007-02-03 00:59:49 +0000
commite83d1e41fbe12d57cc93095ec662c72648d72d70 (patch)
tree9fe9ad92ca116480915093cd5a0e288651df9a18 /debian/patches
parent8f7dd727dd1c5d4182f3f5f66c0639c18d91491f (diff)
downloadpkg-net-snmp-e83d1e41fbe12d57cc93095ec662c72648d72d70.tar.gz
already integrated in upstream CVS MAIN
git-svn-id: svn://svn.debian.org/pkg-net-snmp/trunk@137 db575a87-f10d-0410-9662-f1d5ac62e4ba
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/26_kfreebsd.README1
-rw-r--r--debian/patches/26_kfreebsd.patch85
2 files changed, 0 insertions, 86 deletions
diff --git a/debian/patches/26_kfreebsd.README b/debian/patches/26_kfreebsd.README
deleted file mode 100644
index fa94b0f..0000000
--- a/debian/patches/26_kfreebsd.README
+++ /dev/null
@@ -1 +0,0 @@
-Preliminary support for kfreebsd.
diff --git a/debian/patches/26_kfreebsd.patch b/debian/patches/26_kfreebsd.patch
deleted file mode 100644
index 1e8c96e..0000000
--- a/debian/patches/26_kfreebsd.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-only in patch2:
-unchanged:
---- net-snmp-5.3.1.orig/Makefile.in
-+++ net-snmp-5.3.1/Makefile.in
-@@ -17,8 +17,8 @@
- INCLUDESUBDIR=system
- INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \
- darwin.h darwin7.h darwin8.h darwin9.h freebsd5.h freebsd6.h \
-- dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h hpux.h \
-- irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \
-+ dynix.h freebsd2.h freebsd3.h freebsd4.h freebsd.h generic.h kfreebsd.h \
-+ hpux.h irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \
- solaris2.3.h solaris2.4.h solaris2.5.h solaris2.6.h \
- solaris.h sunos.h svr5.h sysv.h ultrix4.h
- INCLUDESUBDIR2=machine
-only in patch2:
-unchanged:
---- net-snmp-5.3.1.orig/include/net-snmp/system/kfreebsd.h
-+++ net-snmp-5.3.1/include/net-snmp/system/kfreebsd.h
-@@ -0,0 +1,65 @@
-+#include "freebsd6.h"
-+#define freebsd6 freebsd6
-+
-+#include <osreldate.h>
-+#define __FreeBSD_version __FreeBSD_kernel_version
-+
-+#include <sys/queue.h>
-+#include <sys/_types.h>
-+
-+typedef unsigned int tcp_seq;
-+typedef unsigned int tcp_cc;
-+#define TCPOPT_SACK_HDR (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_SACK<<8)
-+#define MAX_SACK_BLKS 6 /* Max # SACK blocks stored at sender side */
-+#define TCP_MAX_SACK 3 /* MAX # SACKs sent in any segment */
-+
-+#include <netinet/tcp_var.h>
-+
-+#include <net/ethernet.h>
-+#include <net/if_arp.h>
-+#include <netinet/in.h>
-+
-+/*
-+ * Externalized form of struct socket used by the sysctl(3) interface.
-+ */
-+struct xsocket {
-+ size_t xso_len; /* length of this structure */
-+ struct socket *xso_so; /* makes a convenient handle sometimes */
-+ short so_type;
-+ short so_options;
-+ short so_linger;
-+ short so_state;
-+ caddr_t so_pcb; /* another convenient handle */
-+ int xso_protocol;
-+ int xso_family;
-+ short so_qlen;
-+ short so_incqlen;
-+ short so_qlimit;
-+ short so_timeo;
-+ u_short so_error;
-+ pid_t so_pgid;
-+ u_long so_oobmark;
-+ struct xsockbuf {
-+ u_int sb_cc;
-+ u_int sb_hiwat;
-+ u_int sb_mbcnt;
-+ u_int sb_mbmax;
-+ int sb_lowat;
-+ int sb_timeo;
-+ short sb_flags;
-+ } so_rcv, so_snd;
-+ uid_t so_uid; /* XXX */
-+};
-+typedef u_quad_t so_gen_t;
-+
-+#define _SYS_SOCKETVAR_H_
-+#include <netinet/in_pcb.h>
-+
-+struct xtcpcb {
-+ size_t xt_len;
-+ struct inpcb xt_inp;
-+ struct tcpcb xt_tp;
-+ struct xsocket xt_socket;
-+ u_quad_t xt_alignment_hack;
-+};
-+