Fix PR pkg/38620, patch provided by Sergey Svishchev <svs@ropnet.ru>.

Bump PKGREVISION, and reset MAINTAINER.
This commit is contained in:
ghen 2010-11-05 08:20:00 +00:00
parent 920e3d40a2
commit e1ba2e2d2a
3 changed files with 7 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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");