pkgsrc/net/arpwatch/patches/patch-ac
agc 3667af2477 Unfortunately, one of the files that is patched contains an RCS Id in
the surrounding context. Introduce a pre-patch stage which removes the
magic '$' characters from the source file, which allows us to have
package patch files which do not contain any RCS Ids, and which allows
us to patch without a fuzz factor.
1999-11-19 12:32:26 +00:00

14 lines
444 B
Text

$NetBSD: patch-ac,v 1.4 1999/11/19 12:32:27 agc Exp $
--- arpwatch.h.orig Fri Nov 19 12:22:02 1999
+++ arpwatch.h Fri Nov 19 12:22:02 1999
@@ -1,7 +1,9 @@
/* @(#) Header: arpwatch.h,v 1.28 98/02/09 16:35:15 leres Exp (LBL) */
#define ARPFILE "arp.dat"
+#ifndef ETHERCODES
#define ETHERCODES "ethercodes.dat"
+#endif
#define CHECKPOINT (15*60) /* Checkpoint time in seconds */
#define MEMCMP(a, b, n) memcmp((char *)a, (char *)b, n)