diff options
author | wiz <wiz> | 2004-03-09 10:00:58 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-03-09 10:00:58 +0000 |
commit | e8e4e2f9e0214a4af19705203987be321edbe394 (patch) | |
tree | 22e8583b4d6ade390bfcd426bd3549428dade9a9 /net | |
parent | 59220c7b6953fdc4014bbad6fca0d257b9c72025 (diff) | |
download | pkgsrc-e8e4e2f9e0214a4af19705203987be321edbe394.tar.gz |
Add patch from author to make this build on 64bit platforms.
While here, remove 'USE_GNU_TOOLS+=gmake' since it should be 'make'
and it obviously seems to work without GNU make.
Diffstat (limited to 'net')
-rw-r--r-- | net/jigdo/Makefile | 3 | ||||
-rw-r--r-- | net/jigdo/distinfo | 3 | ||||
-rw-r--r-- | net/jigdo/patches/patch-aa | 13 |
3 files changed, 16 insertions, 3 deletions
diff --git a/net/jigdo/Makefile b/net/jigdo/Makefile index 0c8fb296455..bf147a7ebf6 100644 --- a/net/jigdo/Makefile +++ b/net/jigdo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/02/26 22:55:18 agc Exp $ +# $NetBSD: Makefile,v 1.2 2004/03/09 10:00:58 wiz Exp $ DISTNAME= jigdo-0.7.0 CATEGORIES= net @@ -12,7 +12,6 @@ COMMENT= Tool to ease downloading of large files from the Internet CONFIGURE_ARGS+= --without-libdb GNU_CONFIGURE= yes USE_BUILDLINK3= yes -USE_GNU_TOOLS+= gmake USE_LANGUAGES= c c++ #.include "../../databases/db3/buildlink3.mk" diff --git a/net/jigdo/distinfo b/net/jigdo/distinfo index c29cd52f6a2..ed2a6ba52a0 100644 --- a/net/jigdo/distinfo +++ b/net/jigdo/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/02/26 22:55:18 agc Exp $ +$NetBSD: distinfo,v 1.2 2004/03/09 10:00:58 wiz Exp $ SHA1 (jigdo-0.7.0.tar.bz2) = 9c4d4ae384e25e3001912b2030941bc3d8b3e036 Size (jigdo-0.7.0.tar.bz2) = 530737 bytes +SHA1 (patch-aa) = 950921a2220219c65c24445dc322caf4ed0946ed diff --git a/net/jigdo/patches/patch-aa b/net/jigdo/patches/patch-aa new file mode 100644 index 00000000000..1ce385a6669 --- /dev/null +++ b/net/jigdo/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2004/03/09 10:00:58 wiz Exp $ + +--- src/mktemplate.cc.orig Sun Apr 27 17:57:21 2003 ++++ src/mktemplate.cc +@@ -643,7 +643,7 @@ void MkTemplate::scanImage_mainLoop_fast + Paranoid(*data + len <= bufferLength); + rsum->addBack(buf + *data, len); + *data += len; off += len; *n -= len; +- *rsumBack = modAdd(*rsumBack, len, bufferLength); ++ *rsumBack = modAdd(*rsumBack, implicit_cast<size_t>(len), bufferLength); + Paranoid(off == nextEvent || off == nextAlignedOff); + # if DEBUG + for (unsigned i = 0; i < len; ++i) { |