pkgsrc/net/ucd-snmp/patches/patch-aa
frueauf a3ce079050 Update ucd-snmp to 3.5, inspired by pr 5880 by Jeff Rizzo.
XXX The configure script sets KERNEL and _KERNEL before including
XXX <sys/socket.h> for whatever reason. This breaks some little
XXX programms which detect options for configure, one of those
XXX should detect the rtentry style, on NetBSD-current where
XXX <sys/socket.h> includes opt_compat_*.h files. patch-aa
XXX workarounds this, but a clean solution should be found and
XXX feedbacked to the author.
1998-08-03 19:36:00 +00:00

18 lines
361 B
Text

--- configure-orig Fri Jun 19 22:14:25 1998
+++ configure Mon Aug 3 16:44:56 1998
@@ -4599,11 +4599,11 @@
#include "confdefs.h"
#include <sys/types.h>
-#define KERNEL
-#define _KERNEL
+/* #define KERNEL
+#define _KERNEL */
#include <sys/socket.h>
-#undef KERNEL
-#undef _KERNEL
+/* #undef KERNEL
+#undef _KERNEL */
#include <net/route.h>
int main() {