diff options
author | ghen <ghen@pkgsrc.org> | 2010-11-05 08:20:00 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2010-11-05 08:20:00 +0000 |
commit | fe3874d99f79c0f79033da30971cfec5b1575637 (patch) | |
tree | 8e6a68644881f4778f4cda4085c4e4c65c5a5a34 /sysutils/dd_rescue | |
parent | caac1bc5342679b5dd6cd188b78892986f702d75 (diff) | |
download | pkgsrc-fe3874d99f79c0f79033da30971cfec5b1575637.tar.gz |
Fix PR pkg/38620, patch provided by Sergey Svishchev <svs@ropnet.ru>.
Bump PKGREVISION, and reset MAINTAINER.
Diffstat (limited to 'sysutils/dd_rescue')
-rw-r--r-- | sysutils/dd_rescue/Makefile | 5 | ||||
-rw-r--r-- | sysutils/dd_rescue/distinfo | 4 | ||||
-rw-r--r-- | sysutils/dd_rescue/patches/patch-ab | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/dd_rescue/Makefile b/sysutils/dd_rescue/Makefile index a59be5471d0..ced18e911a4 100644 --- a/sysutils/dd_rescue/Makefile +++ b/sysutils/dd_rescue/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.3 2007/12/22 04:27:16 taca Exp $ +# $NetBSD: Makefile,v 1.4 2010/11/05 08:20:00 ghen Exp $ DISTNAME= dd_rescue-1.14 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${HOMEPAGE} -MAINTAINER= ghen@NetBSD.org +MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.garloff.de/kurt/linux/ddrescue/ COMMENT= dd(1)-like tool for rescuing data from media with errors diff --git a/sysutils/dd_rescue/distinfo b/sysutils/dd_rescue/distinfo index 955a6041d87..ac897304b31 100644 --- a/sysutils/dd_rescue/distinfo +++ b/sysutils/dd_rescue/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2007/12/22 04:27:16 taca Exp $ +$NetBSD: distinfo,v 1.5 2010/11/05 08:20:00 ghen Exp $ SHA1 (dd_rescue-1.14.tar.gz) = 0a9c06a9679f50294f7b2968bf026944c808315a RMD160 (dd_rescue-1.14.tar.gz) = e6e12c460c29845912c2e456ac88160009341dcf Size (dd_rescue-1.14.tar.gz) = 17754 bytes SHA1 (patch-aa) = fbb0fce59b038bad269379ca46592eab4f7929bd -SHA1 (patch-ab) = cce3053b74ed5ab72dd2e0cbc46da501e35a6e73 +SHA1 (patch-ab) = 9972011a1dba2702c8af1c9013321ea13b67b3a7 diff --git a/sysutils/dd_rescue/patches/patch-ab b/sysutils/dd_rescue/patches/patch-ab index aff3f18c04e..789c24b4eab 100644 --- a/sysutils/dd_rescue/patches/patch-ab +++ b/sysutils/dd_rescue/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.3 2007/12/22 04:27:17 taca Exp $ +$NetBSD: patch-ab,v 1.4 2010/11/05 08:20:00 ghen Exp $ --- dd_rescue.c.orig 2006-07-23 20:47:50.000000000 +0900 +++ dd_rescue.c @@ -21,7 +21,7 @@ $NetBSD: patch-ab,v 1.3 2007/12/22 04:27:17 taca Exp $ +#ifdef linux +#define my_valloc(a, b, c) posix_memalign((a), (b), (c)) +#else -+#define my_valloc(a, b, c) (*(a) = valloc((c))) ++#define my_valloc(a, b, c) !(*(a) = valloc((c))) +#endif + if (my_valloc(mp, sysconf(_SC_PAGESIZE), softbs)) { fplog(stderr, "dd_rescue: (fatal): allocation of aligned buffer failed!\n"); |