pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/jigdo Add patch from author to make this build on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b1683ac4050
branches:  trunk
changeset: 470415:6b1683ac4050
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Mar 09 10:00:58 2004 +0000

description:
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:

 net/jigdo/Makefile         |   3 +--
 net/jigdo/distinfo         |   3 ++-
 net/jigdo/patches/patch-aa |  13 +++++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r 9f5aa3882fa8 -r 6b1683ac4050 net/jigdo/Makefile
--- a/net/jigdo/Makefile        Tue Mar 09 09:33:48 2004 +0000
+++ b/net/jigdo/Makefile        Tue Mar 09 10:00:58 2004 +0000
@@ -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 @@
 CONFIGURE_ARGS+=       --without-libdb
 GNU_CONFIGURE=         yes
 USE_BUILDLINK3=                yes
-USE_GNU_TOOLS+=                gmake
 USE_LANGUAGES=         c c++
 
 #.include "../../databases/db3/buildlink3.mk"
diff -r 9f5aa3882fa8 -r 6b1683ac4050 net/jigdo/distinfo
--- a/net/jigdo/distinfo        Tue Mar 09 09:33:48 2004 +0000
+++ b/net/jigdo/distinfo        Tue Mar 09 10:00:58 2004 +0000
@@ -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 -r 9f5aa3882fa8 -r 6b1683ac4050 net/jigdo/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/jigdo/patches/patch-aa        Tue Mar 09 10:00:58 2004 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index