View | Details | Raw Unified | Return to bug 175167
Collapse All | Expand All

(-)sysutils/diskscrub/Makefile (-6 / +2 lines)
Lines 1-12 Link Here
1
# New ports collection makefile for:	diskscrub
1
# Created by: Erik Greenwald <erik@smluc.org>
2
# Date created:		28 November 2006
3
# Whom:			Erik Greenwald <erik@smluc.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	diskscrub
4
PORTNAME=	diskscrub
9
PORTVERSION=	2.2
5
PORTVERSION=	2.5.2
10
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
11
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GOOGLE_CODE
12
DISTNAME=	scrub-${PORTVERSION}
8
DISTNAME=	scrub-${PORTVERSION}
(-)sysutils/diskscrub/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (scrub-2.2.tar.bz2) = cb1e6f06c4e9d7b54acebb8a04f51a4e2d2a61a8c4f009796f1f825301b2da17
1
SHA256 (scrub-2.5.2.tar.bz2) = 51ee4963759cf07b186bb583ef2839618c1131bbbbdfae849ca76a2259cbc461
2
SIZE (scrub-2.2.tar.bz2) = 145004
2
SIZE (scrub-2.5.2.tar.bz2) = 161468
(-)sysutils/diskscrub/files/extrapatch-freebsd4 (-16 lines)
Lines 1-16 Link Here
1
--- getsize.c.orig	Thu Aug 17 05:15:45 2006
2
+++ getsize.c	Tue Nov 28 23:00:49 2006
3
@@ -81,6 +81,13 @@
4
 #elif defined(__FreeBSD__)
5
 /* scrub-1.7 tested freebsd 5.3-RELEASE-p5 */
6
 #include <sys/ioctl.h>
7
+#include <sys/queue.h>
8
+
9
+#ifndef DIOCGMEDIASIZE
10
+#define DIOCGMEDIASIZE  _IOR('d', 129, off_t)   /* Get media size in bytes */
11
+#endif
12
+
13
+#include <sys/disklabel.h>
14
 #include <sys/disk.h>
15
 
16
 off_t 
(-)sysutils/diskscrub/files/patch-src_util.h (+11 lines)
Line 0 Link Here
1
--- src/util.h.orig	2013-01-09 15:24:03.000000000 -0500
2
+++ src/util.h	2013-01-09 15:24:22.000000000 -0500
3
@@ -24,6 +24,8 @@
4
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
5
 \*****************************************************************************/
6
 
7
+#include <sys/mman.h>
8
+
9
 #ifdef HAVE_STDBOOL_H
10
 #include <stdbool.h>
11
 #else

Return to bug 175167