components/pigz/patches/yarn.c.patch
changeset 3924 6200b874acbb
parent 3918 d8138667d338
child 3926 11b6c9d02e9e
equal deleted inserted replaced
3918:d8138667d338 3924:6200b874acbb
     1 # <sys/feature_tests.h> became XPG7-aware in s12_33, thus requiring building
       
     2 # in C99 mode.  But for s12_32 and earlier, it would crap out in C99 mode
       
     3 # unless _XPG6 was defined.  Since this is to work around an oddity with
       
     4 # Solaris header files and build versions, this patch will not be offered
       
     5 # upstream.
       
     6 #
       
     7 --- pigz-2.2.5/yarn.c.orig	2012-01-13 14:56:17.000000000 -0800
       
     8 +++ pigz-2.2.5/yarn.c	2013-10-24 13:13:58.198937572 -0700
       
     9 @@ -23,6 +23,7 @@
       
    10  #define _XOPEN_SOURCE 700
       
    11  #define _POSIX_C_SOURCE 200809L
       
    12  #define _THREAD_SAFE
       
    13 +#define _XPG6
       
    14  
       
    15  /* use large file functions if available */
       
    16  #define _FILE_OFFSET_BITS 64