freebsd-ports/misc/libpostal/files/patch-src_libpostal__data
Steve Wills ec2598187a misc/libpostal: Update to 1.1-alpha
PR:		237026
Submitted by:	Dmitri Goutnik <dg@syrec.org> (maintainer)
2019-04-05 14:35:45 +00:00

13 lines
545 B
Text

--- src/libpostal_data.orig 2018-03-11 07:55:53 UTC
+++ src/libpostal_data
@@ -83,9 +83,9 @@ download_multipart() {
else
max=$size;
fi;
- printf "%s\0%s\0%s\0%s\0%s\0" "$i" "$offset" "$max" "$url" "$part_filename"
+ printf "%s\0%s\0%s\0%s\0%s\0%s\0%s\0" "x" "$i" "$offset" "$max" "$url" "$part_filename"
offset=$((offset+CHUNK_SIZE))
- done | xargs -0 -n 5 -P $NUM_WORKERS sh -c "$DOWNLOAD_PART" --
+ done | xargs -0 -n 6 -P $NUM_WORKERS sh -c "$DOWNLOAD_PART" --
> $local_path