openbsd-ports/archivers/xz/patches/patch-src_xz_util_c
naddy dfad51d695 Import XZ Utils 4.999.9beta, which replaces LZMA Utils.
LZMA is a general purporse compression algorithm designed by Igor
Pavlov as part of 7-Zip. It provides high compression ratio while
keeping the decompression speed fast.

XZ Utils are an attempt to make LZMA compression easy to use on
free (as in freedom) operating systems. This is achieved by providing
tools and libraries which are similar to use than the equivalents
of the most popular existing compression algorithms.
2009-09-10 15:27:26 +00:00

13 lines
428 B
Plaintext

$OpenBSD: patch-src_xz_util_c,v 1.1.1.1 2009/09/10 15:27:26 naddy Exp $
--- src/xz/util.c.orig Tue Sep 8 18:58:46 2009
+++ src/xz/util.c Tue Sep 8 18:59:08 2009
@@ -15,7 +15,7 @@
// Thousand separator for format strings is not supported outside POSIX.
// This is used in uint64_to_str() and double_to_str().
-#ifdef DOSLIKE
+#if defined(DOSLIKE) || defined(__OpenBSD__)
# define THOUSAND ""
#else
# define THOUSAND "'"