pkgsrc/net/uucp/patches/patch-ah
jlam c1009ac844 Merge improvements from the version of Taylor UUCP 1.06.1 that exists
in NetBSD's src/gnu/libexec/uucp directory.  Changes include:

   * Teaching cu(1) about hardware flow control.
   * Make cu(1) honor "echocheck" and "binary mode" with respect to
     inspecting the data stream for newlines.
   * Make some proper integer casts so as not to break on LP64 platforms.
   * Teach uucp to substitute for \H with the IP address of the system.
   * Avoid potential divide-by-zero errors when computing times using
     serial rates.
   * Properly initialize some variables.

The main difference between this version and the one in NetBSD is the
location of uucico, uuconv, and uuxqt -- the vanilla UUCP location is
${PREFIX}/sbin while the NetBSD location is /usr/libexec/uucp.

Bump PKGREVISION to 1.
2006-10-30 03:33:59 +00:00

15 lines
495 B
Text

$NetBSD: patch-ah,v 1.1 2006/10/30 03:33:59 jlam Exp $
--- protg.c.orig 2003-05-29 02:08:45.000000000 -0400
+++ protg.c
@@ -1007,8 +1007,8 @@ fgsenddata (qdaemon, zdata, cdata, iloca
}
DEBUG_MESSAGE2 (DEBUG_PROTO,
- "fgsenddata: Sending packet %d (%d bytes)",
- CONTROL_XXX (z[IFRAME_CONTROL]), cdata);
+ "fgsenddata: Sending packet %d (%ld bytes)",
+ CONTROL_XXX (z[IFRAME_CONTROL]), (long) cdata);
return fsend_data (qdaemon->qconn, z, CFRAMELEN + csize, TRUE);
}