aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-03 17:32:10 +0800
committerarved <arved@FreeBSD.org>2004-02-03 17:32:10 +0800
commit48a11a225263a2d9cf16025ec172b8061d97d752 (patch)
treedba2556ff697aba68d2b00ec57755dc46de65ab6 /ftp
parentafea70a7bf20d6161629abfb2d69e778a011534a (diff)
downloadfreebsd-ports-gnome-48a11a225263a2d9cf16025ec172b8061d97d752.tar.gz
freebsd-ports-gnome-48a11a225263a2d9cf16025ec172b8061d97d752.tar.zst
freebsd-ports-gnome-48a11a225263a2d9cf16025ec172b8061d97d752.zip
Fix Build on AMD64
Submitted by: Attila Nagy <bra@fsn.hu>
Diffstat (limited to 'ftp')
-rw-r--r--ftp/jigdo/files/patch-aa18
1 files changed, 18 insertions, 0 deletions
diff --git a/ftp/jigdo/files/patch-aa b/ftp/jigdo/files/patch-aa
new file mode 100644
index 000000000000..b057cf97e4cc
--- /dev/null
+++ b/ftp/jigdo/files/patch-aa
@@ -0,0 +1,18 @@
+--- src.orig/mktemplate.cc
++++ src/mktemplate.cc
+@@ -1,4 +1,4 @@
+-/* $Id: mktemplate.cc,v 1.92 2003/04/27 15:57:21 richard Exp $ -*- C++ -*-
++/* $Id: mktemplate.cc,v 1.93 2003/05/06 19:12:14 richard Exp $ -*- C++ -*-
+ __ _
+ |_) /| Copyright (C) 2001-2002 Richard Atterer
+ | \/¯| <richard at atterer.net>
+@@ -643,7 +643,7 @@
+ 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) {
+