Cross Reference: 101_yarn.c.patch
xref
: /
solaris-userland
/
components
/
pigz
/
patches
/
101_yarn.c.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
2101
N/A
# <
sys/feature_tests.h
> became XPG7-aware in s12_33, thus requiring building
2101
N/A
# in C99 mode. But for s12_32 and earlier, it would crap out in C99 mode
2101
N/A
# unless _XPG6 was defined. Since this is to work around an oddity with
2101
N/A
# Solaris header files and build versions, this patch will not be offered
2101
N/A
# upstream.
2101
N/A
#
2101
N/A
---
pigz-2.2.5/yarn.c.orig
2012-01-13 14:56:17.000000000 -0800
2101
N/A
+++
pigz-2.2.5/yarn.c
2013-10-24 13:13:58.198937572 -0700
2101
N/A
@@ -23,6 +23,7 @@
2101
N/A
#define _XOPEN_SOURCE 700
2101
N/A
#define _POSIX_C_SOURCE 200809L
2101
N/A
#define _THREAD_SAFE
2101
N/A
+#define _XPG6
2101
N/A
2101
N/A
/* use large file functions if available */
2101
N/A
#define _FILE_OFFSET_BITS 64