source: packages/net/nginx/patches/101-feature_test_fix.patch @ 28511

Last change on this file since 28511 was 28511, checked in by nico, 5 years ago

[packages] nginx: update to latest stable 1.0.8 (closes: #8510)

File size: 3.1 KB
  • auto/cc/name

    a b if [ "$NGX_PLATFORM" != win32 ]; then 
    66 
    77    ngx_feature="C compiler" 
    88    ngx_feature_name= 
    9     ngx_feature_run=yes 
     9    ngx_feature_run= 
    1010    ngx_feature_incs= 
    1111    ngx_feature_path= 
    1212    ngx_feature_libs= 
  • auto/cc/conf

    a b if [ "$NGX_PLATFORM" != win32 ]; then 
    148148    else 
    149149        ngx_feature="C99 variadic macros" 
    150150        ngx_feature_name="NGX_HAVE_C99_VARIADIC_MACROS" 
    151         ngx_feature_run=yes 
     151        ngx_feature_run=no 
    152152        ngx_feature_incs="#include <stdio.h> 
    153153#define var(dummy, ...)  sprintf(__VA_ARGS__)" 
    154154        ngx_feature_path= 
    if [ "$NGX_PLATFORM" != win32 ]; then 
    162162 
    163163    ngx_feature="gcc variadic macros" 
    164164    ngx_feature_name="NGX_HAVE_GCC_VARIADIC_MACROS" 
    165     ngx_feature_run=yes 
     165    ngx_feature_run=no 
    166166    ngx_feature_incs="#include <stdio.h> 
    167167#define var(dummy, args...)  sprintf(args)" 
    168168    ngx_feature_path= 
  • auto/os/linux

    a b fi 
    4747 
    4848ngx_feature="epoll" 
    4949ngx_feature_name="NGX_HAVE_EPOLL" 
    50 ngx_feature_run=yes 
     50ngx_feature_run=no 
    5151ngx_feature_incs="#include <sys/epoll.h>" 
    5252ngx_feature_path= 
    5353ngx_feature_libs= 
    fi 
    7272CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE" 
    7373ngx_feature="sendfile()" 
    7474ngx_feature_name="NGX_HAVE_SENDFILE" 
    75 ngx_feature_run=yes 
     75ngx_feature_run=no 
    7676ngx_feature_incs="#include <sys/sendfile.h> 
    7777                  #include <errno.h>" 
    7878ngx_feature_path= 
    fi 
    9393CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" 
    9494ngx_feature="sendfile64()" 
    9595ngx_feature_name="NGX_HAVE_SENDFILE64" 
    96 ngx_feature_run=yes 
     96ngx_feature_run=no 
    9797ngx_feature_incs="#include <sys/sendfile.h> 
    9898                  #include <errno.h>" 
    9999ngx_feature_path= 
    ngx_include="sys/prctl.h"; . auto/includ 
    111111 
    112112ngx_feature="prctl(PR_SET_DUMPABLE)" 
    113113ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE" 
    114 ngx_feature_run=yes 
     114ngx_feature_run=no 
    115115ngx_feature_incs="#include <sys/prctl.h>" 
    116116ngx_feature_path= 
    117117ngx_feature_libs= 
  • auto/unix

    a b ngx_feature_test="void *p; p = memalign( 
    555555 
    556556ngx_feature="mmap(MAP_ANON|MAP_SHARED)" 
    557557ngx_feature_name="NGX_HAVE_MAP_ANON" 
    558 ngx_feature_run=yes 
     558ngx_feature_run=no 
    559559ngx_feature_incs="#include <sys/mman.h>" 
    560560ngx_feature_path= 
    561561ngx_feature_libs= 
    ngx_feature_test="void *p; 
    568568 
    569569ngx_feature='mmap("/dev/zero", MAP_SHARED)' 
    570570ngx_feature_name="NGX_HAVE_MAP_DEVZERO" 
    571 ngx_feature_run=yes 
     571ngx_feature_run=no 
    572572ngx_feature_incs="#include <sys/mman.h> 
    573573                  #include <sys/stat.h> 
    574574                  #include <fcntl.h>" 
    ngx_feature_test='void *p; int fd; 
    583583 
    584584ngx_feature="System V shared memory" 
    585585ngx_feature_name="NGX_HAVE_SYSVSHM" 
    586 ngx_feature_run=yes 
     586ngx_feature_run=no 
    587587ngx_feature_incs="#include <sys/ipc.h> 
    588588                  #include <sys/shm.h>" 
    589589ngx_feature_path= 
    ngx_feature_test="int id; 
    597597 
    598598ngx_feature="POSIX semaphores" 
    599599ngx_feature_name="NGX_HAVE_POSIX_SEM" 
    600 ngx_feature_run=yes 
     600ngx_feature_run=no 
    601601ngx_feature_incs="#include <semaphore.h>" 
    602602ngx_feature_path= 
    603603ngx_feature_libs= 
Note: See TracBrowser for help on using the repository browser.