head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.48 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.46 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.44 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.42 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.40 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.38 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.36 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.34 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.32 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.30 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.28 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.26 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.24 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.22 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.20 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.18 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.16 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.14 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.12 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.10 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.8 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.6 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.4 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.14 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.12 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.10 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.6 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.8 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.4 pkgviews-base:1.2 buildlink2:1.2.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1 netbsd-1-4-PATCH002:1.1 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.3 date 2004.06.20.20.07.03; author tv; state dead; branches; next 1.2; 1.2 date 2001.02.21.18.50.37; author tv; state Exp; branches; next 1.1; 1.1 date 98.12.21.15.45.21; author tv; state Exp; branches; next ; desc @@ 1.3 log @Per announcement to tech-pkg, ifcico-cm is now history. Stay tuned for import and update of a couple packages that replace ifcico's functionality. @ text @$NetBSD: patch-ap,v 1.2 2001/02/21 18:50:37 tv Exp $ --- ifcico/hydra.c.orig Sun Nov 15 15:13:14 1998 +++ ifcico/hydra.c Wed Feb 21 10:51:23 2001 @@@@ -89,7 +89,7 @@@@ static char *put_long(char *buffer, long val) { -#if defined(__i386__) +#if defined(__i386__) || (defined(__NetBSD__) && (BYTE_ORDER == LITTLE_ENDIAN)) *(unsigned long *) buffer = (unsigned long) val; #else buffer[0] = (unsigned long) val & 0xff; @@@@ -104,7 +104,7 @@@@ static long get_long(char *buffer) { -#if defined(__i386__) +#if defined(__i386__) || (defined(__NetBSD__) && (BYTE_ORDER == LITTLE_ENDIAN)) return *(long *) buffer; #else return ((unsigned long) ((unsigned char) buffer[0])) | @@@@ -530,8 +530,8 @@@@ char *inbuf, *outbuf; int rxlen, txlen; /* length of receive/transmit buffer */ long txwindow, rxwindow; /* window sizes */ - long txpos, rxpos; /* file positions */ - long stxpos, srxpos; + off_t txpos, rxpos; /* file positions */ + off_t stxpos, srxpos; long longnum; int hdxlink = 0; int txretries, rxretries; @@@@ -894,8 +894,8 @@@@ if (to_send) { txlen = sprintf(txbuf, "%08lx%08lx%08lx%08lx%08lx", - mtime2sl(txstat.st_mtime), - txstat.st_size, + (unsigned long)mtime2sl(txstat.st_mtime), + (unsigned long)txstat.st_size, 0UL, 0UL, 0UL); @@@@ -1353,7 +1353,7 @@@@ */ else if ((rxlen > 41) && (rxbuf[rxlen - 1] == 0)) { - time_t timestamp; + long timestamp; long filesize; char dosname[8 + 1 + 3 + 1], *name; @ 1.2 log @Stuff hanging around in my pkgsrc.... Major cleanup. Minor update to "alpha4.1" -- no feature changes. Remove iftelnetd, fdpass (not needed). Fix -Wformat alerted fixes to work on both LP64 and ILP32. Use -Werror to keep code clean. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Fix paths in PLIST. Lots of LP64 time_t fixes. Now works on Alpha except for ZedZip (ZModem). @ text @d3 2 a4 2 --- ifcico/hydra.c.orig Mon Dec 21 09:46:45 1998 +++ ifcico/hydra.c Mon Dec 21 09:50:00 1998 d23 12 a34 1 @@@@ -894,7 +894,7 @@@@ d39 3 a41 2 + (long)mtime2sl(txstat.st_mtime), txstat.st_size, d44 1 @