diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-07-19 04:01:41 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-07-19 04:01:41 +0000 |
commit | cb8c87a1c0b46e754d981199ec311d1dba334545 (patch) | |
tree | ab43f45dc430ac0affcf097929917b204f87ffcc /sysutils | |
parent | c6bbbf9c868876da9da11aa39b22a822fd2b2ad0 (diff) | |
download | pkgsrc-cb8c87a1c0b46e754d981199ec311d1dba334545.tar.gz |
Regenerate so that the Mac OS X patch program undestands how
to apply it.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/smartmontools/distinfo | 4 | ||||
-rw-r--r-- | sysutils/smartmontools/patches/patch-ab | 16 |
2 files changed, 7 insertions, 13 deletions
diff --git a/sysutils/smartmontools/distinfo b/sysutils/smartmontools/distinfo index c808febf5e6..e85e455d15d 100644 --- a/sysutils/smartmontools/distinfo +++ b/sysutils/smartmontools/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.6 2005/07/18 09:26:30 rillig Exp $ +$NetBSD: distinfo,v 1.7 2005/07/19 04:01:41 kristerw Exp $ SHA1 (smartmontools-5.32.tar.gz) = 2af09136578ea59565ad00b3638afe9700ed26a2 RMD160 (smartmontools-5.32.tar.gz) = 6692df8996bc3f6a1b52b10286d92b116874e1cd Size (smartmontools-5.32.tar.gz) = 408224 bytes SHA1 (patch-aa) = 2f22d9bd911ce825c1ca888cceb4535bba606671 -SHA1 (patch-ab) = b4d336edc9f441b5be6db851632968c3a1f96d67 +SHA1 (patch-ab) = addb2f63f71244df8a14920b4299645027ea35be diff --git a/sysutils/smartmontools/patches/patch-ab b/sysutils/smartmontools/patches/patch-ab index c79a7c2c0c8..df225afaace 100644 --- a/sysutils/smartmontools/patches/patch-ab +++ b/sysutils/smartmontools/patches/patch-ab @@ -1,19 +1,13 @@ -$NetBSD: patch-ab,v 1.3 2005/07/18 09:26:30 rillig Exp $ +$NetBSD: patch-ab,v 1.4 2005/07/19 04:01:41 kristerw Exp $ ---- os_netbsd.c.orig 2004-04-20 06:53:26.000000000 +0200 -+++ os_netbsd.c 2005-07-15 09:37:42.000000000 +0200 -@@ -21,4 +21,5 @@ - #include "scsicmds.h" - #include "utility.h" +--- os_netbsd.c.orig Tue Apr 20 06:53:26 2004 ++++ os_netbsd.c Tue Jul 19 05:49:51 2005 +@@ -23,2 +23,3 @@ #include "os_netbsd.h" +#include <unistd.h> -@@ -381,7 +382,7 @@ - sc.databuf = iop->dxferp; - sc.datalen = iop->dxfer_len; +@@ -383,3 +384,3 @@ sc.senselen = iop->max_sense_len; - sc.timeout = iop->timeout == 0 ? 60000 : iop->timeout; /* XXX */ + sc.timeout = iop->timeout == 0 ? 60000 : (iop->timeout * 1000); /* XXX */ sc.flags = - (iop->dxfer_dir == DXFER_NONE ? SCCMD_READ : /* XXX */ - (iop->dxfer_dir == DXFER_FROM_DEVICE ? SCCMD_READ : SCCMD_WRITE)); |