Merge two netcat.c patches into a single patch file, remove unneccessary call to res_init() and pass correct make options for Linux and (untested) Solaris.
12 lines
318 B
Text
12 lines
318 B
Text
$NetBSD: patch-ab,v 1.3 2002/10/08 14:29:36 abs Exp $
|
|
|
|
--- data/rservice.c.orig Wed Jan 31 18:45:08 1996
|
|
+++ data/rservice.c
|
|
@@ -10,6 +10,7 @@
|
|
... whatever. _H*/
|
|
|
|
#include <stdio.h>
|
|
+#include <string.h>
|
|
|
|
/* change if you like; "id" is a good one for figuring out if you won too */
|
|
static char cmd[] = "pwd";
|