diff -u arc-5.21m/debian/changelog arc-5.21m/debian/changelog --- arc-5.21m/debian/changelog +++ arc-5.21m/debian/changelog @@ -1,3 +1,10 @@ +arc (5.21m-1+interix.1) unstable; urgency=low + + * Non-maintainer upload. + * patches for interix-i386 + + -- Martin Koeppe Mon, 18 Jun 2007 22:08:08 +0200 + arc (5.21m-1) unstable; urgency=high * New upstream release diff -u arc-5.21m/debian/rules arc-5.21m/debian/rules --- arc-5.21m/debian/rules +++ arc-5.21m/debian/rules @@ -8,7 +8,7 @@ -CC = gcc +CC = gcc-4.2 CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) only in patch2: unchanged: --- arc-5.21m.orig/arcdos.c +++ arc-5.21m/arcdos.c @@ -30,6 +30,7 @@ #if UNIX #include #include +#include #if BSD #include #else @@ -173,8 +174,11 @@ #endif #if UNIX struct tm tm; +/* struct timeval tvp[2]; int utimes(); +*/ + struct utimbuf utb; long tmclock(); tm.tm_sec = (time & 31) * 2; tm.tm_min = (time >> 5) & 63; @@ -182,10 +186,14 @@ tm.tm_mday = date & 31; tm.tm_mon = ((date >> 5) & 15) - 1; tm.tm_year = (date >> 9) + 80; +/* tvp[0].tv_sec = tmclock(&tm); tvp[1].tv_sec = tvp[0].tv_sec; tvp[0].tv_usec = tvp[1].tv_usec = 0; utimes(f, tvp); +*/ + utb.actime = utb.modtime = tmclock(&tm); + utime(f, &utb); #endif }