1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Update to 7.2.646.

- Regenerate patches with make makepatch.
This commit is contained in:
MANTANI Nobutaka 2018-06-24 15:55:52 +00:00
parent 14004d4f89
commit 0a6d455ed5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473205
4 changed files with 17 additions and 14 deletions

View File

@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= dc3dd
PORTVERSION= 7.2.641
PORTREVISION= 1
PORTVERSION= 7.2.646
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/7.2
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= dd program useful for computer forensics
@ -16,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to compile: bit-field 'verify_error_if_negative_size__' has negative width
BROKEN_armv7= fails to compile: bit-field 'verify_error_if_negative_size__' has negative width
USES= gettext iconv gmake tar:bzip2
USES= gettext iconv gmake zip
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
@ -32,4 +31,7 @@ CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
pre-configure:
${CHMOD} +x ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (dc3dd-7.2.641.tar.bz2) = b6141ab8a51f1edc0c594616da7407a335248244d500be883349cb355a2e426a
SIZE (dc3dd-7.2.641.tar.bz2) = 2917810
TIMESTAMP = 1529848598
SHA256 (dc3dd-7.2.646.zip) = c4e325e5cbdae49e3855b0849ea62fed17d553428724745cea53fe6d91fd2b7f
SIZE (dc3dd-7.2.646.zip) = 5066316

View File

@ -1,6 +1,6 @@
--- lib/Makefile.in.orig 2011-02-14 00:45:49.000000000 +0900
+++ lib/Makefile.in 2011-02-14 00:50:19.000000000 +0900
@@ -1629,18 +1629,6 @@
--- lib/Makefile.in.orig 2012-11-06 03:52:20 UTC
+++ lib/Makefile.in
@@ -1629,18 +1629,6 @@ inttypes.h: inttypes.in.h
all-local: charset.alias ref-add.sed ref-del.sed
install-exec-local: all-local

View File

@ -1,15 +1,15 @@
--- src/dc3dd.c.orig 2011-02-14 00:17:13.000000000 +0900
+++ src/dc3dd.c 2011-02-14 00:22:11.000000000 +0900
--- src/dc3dd.c.orig 2012-12-02 23:29:48 UTC
+++ src/dc3dd.c
@@ -45,7 +45,7 @@
#include <linux/types.h>
#include "hdparm/hpa_dco.h"
#include <linux/types.h>
#include "hdparm/hpa_dco.h"
#endif
-#elif defined (__APPLE__)
+#elif defined (__APPLE__) || defined (__FreeBSD__)
#include <sys/disk.h>
#include <sys/ioctl.h>
#elif defined (__CYGWIN__)
@@ -2325,6 +2325,56 @@
@@ -2501,6 +2501,56 @@ get_file_stats(file_t* file)
}
}