Actually use my DIOCGDISKINFO ioctl implementation by regenerating configure.diff -r1.7 -r1.8 pkgsrc/sysutils/diskscrub/Makefile
(prlw1)
@@ -1,18 +1,22 @@ | @@ -1,18 +1,22 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2013/12/15 19:44:39 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2014/02/21 01:13:00 prlw1 Exp $ | |
2 | # | |||
3 | 2 | |||
4 | DISTNAME= scrub-2.5.2 | 3 | DISTNAME= scrub-2.5.2 | |
5 | PKGREVISION= 1 | 4 | PKGREVISION= 2 | |
6 | CATEGORIES= sysutils | 5 | CATEGORIES= sysutils | |
7 | MASTER_SITES= http://diskscrub.googlecode.com/files/ | 6 | MASTER_SITES= http://diskscrub.googlecode.com/files/ | |
8 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
9 | 8 | |||
10 | MAINTAINER= agc@NetBSD.org | 9 | MAINTAINER= agc@NetBSD.org | |
11 | HOMEPAGE= http://code.google.com/p/diskscrub/ | 10 | HOMEPAGE= http://code.google.com/p/diskscrub/ | |
12 | COMMENT= Utility to overwrite disks and scrub the data on them | 11 | COMMENT= Utility to overwrite disks and scrub the data on them | |
13 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
14 | 13 | |||
15 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
15 | USE_LIBTOOL= yes | |||
16 | USE_TOOLS+= autoconf automake | |||
16 | USE_TOOLS+= perl # this is purely for GNU configure (X_AC_META macro) | 17 | USE_TOOLS+= perl # this is purely for GNU configure (X_AC_META macro) | |
17 | 18 | |||
19 | pre-configure: | |||
20 | cd ${WRKSRC} && sh autogen.sh | |||
21 | ||||
18 | .include "../../mk/bsd.pkg.mk" | 22 | .include "../../mk/bsd.pkg.mk" |
@@ -1,10 +1,10 @@ | @@ -1,10 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.3 2013/12/15 19:44:39 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.4 2014/02/21 01:13:00 prlw1 Exp $ | |
2 | 2 | |||
3 | SHA1 (scrub-2.5.2.tar.bz2) = 863e5894e6acb3f922cb25f58e260f9c59b55c14 | 3 | SHA1 (scrub-2.5.2.tar.bz2) = 863e5894e6acb3f922cb25f58e260f9c59b55c14 | |
4 | RMD160 (scrub-2.5.2.tar.bz2) = 852698810f401226608f6b1882191dc7bd2b47e4 | 4 | RMD160 (scrub-2.5.2.tar.bz2) = 852698810f401226608f6b1882191dc7bd2b47e4 | |
5 | Size (scrub-2.5.2.tar.bz2) = 161468 bytes | 5 | Size (scrub-2.5.2.tar.bz2) = 161468 bytes | |
6 | SHA1 (patch-configure.ac) = 929828e5c8ad340bfc4d6141aad45697d20fef20 | 6 | SHA1 (patch-configure.ac) = 929828e5c8ad340bfc4d6141aad45697d20fef20 | |
7 | SHA1 (patch-src_Makefile.am) = 4bdd6a41a6fcdc72120d5a1ebd8a17f9d90881d6 | 7 | SHA1 (patch-src_Makefile.am) = 4bdd6a41a6fcdc72120d5a1ebd8a17f9d90881d6 | |
8 | SHA1 (patch-src_genrand.c) = a047804b169517f5f328d13f7b0ad6fa751080d7 | 8 | SHA1 (patch-src_genrand.c) = 1440cce8bce8b7c9eba4fde44284f6a9f6277a41 | |
9 | SHA1 (patch-src_getsize.c) = 221d201423b38a38486e4c91f4b9e28f6a1d0b52 | 9 | SHA1 (patch-src_getsize.c) = 221d201423b38a38486e4c91f4b9e28f6a1d0b52 | |
10 | SHA1 (patch-test_Makefile.am) = ada26d5b518eb630ac7e6ba0d6a61ae5e3280157 | 10 | SHA1 (patch-test_Makefile.am) = ada26d5b518eb630ac7e6ba0d6a61ae5e3280157 |
@@ -1,13 +1,15 @@ | @@ -1,13 +1,15 @@ | |||
1 | $NetBSD: patch-src_genrand.c,v 1.1 2013/12/15 19:44:39 joerg Exp $ | 1 | $NetBSD: patch-src_genrand.c,v 1.2 2014/02/21 01:13:00 prlw1 Exp $ | |
2 | ||||
3 | Fix missing return value. | |||
2 | 4 | |||
3 | --- src/genrand.c.orig 2013-12-15 13:03:04.000000000 +0000 | 5 | --- src/genrand.c.orig 2013-12-15 13:03:04.000000000 +0000 | |
4 | +++ src/genrand.c | 6 | +++ src/genrand.c | |
5 | @@ -106,7 +106,7 @@ genrandraw(unsigned char *buf, int bufle | 7 | @@ -106,7 +106,7 @@ genrandraw(unsigned char *buf, int bufle | |
6 | buf[n] = result; | 8 | buf[n] = result; | |
7 | } | 9 | } | |
8 | #endif | 10 | #endif | |
9 | - return; | 11 | - return; | |
10 | + return 0; | 12 | + return 0; | |
11 | } | 13 | } | |
12 | } | 14 | } | |
13 | 15 |