1
0

patch-auto_os_linux 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --- nginx-1.7.9.orig/auto/os/linux 2014-12-23 09:28:38.000000000 -0600
  2. +++ nginx-1.7.9/auto/os/linux 2014-12-25 00:19:14.581499365 -0600
  3. @@ -48,7 +48,7 @@ fi
  4. ngx_feature="epoll"
  5. ngx_feature_name="NGX_HAVE_EPOLL"
  6. -ngx_feature_run=yes
  7. +ngx_feature_run=no
  8. ngx_feature_incs="#include <sys/epoll.h>"
  9. ngx_feature_path=
  10. ngx_feature_libs=
  11. @@ -105,7 +105,7 @@ ngx_feature_test="int fd; struct stat sb
  12. CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE"
  13. ngx_feature="sendfile()"
  14. ngx_feature_name="NGX_HAVE_SENDFILE"
  15. -ngx_feature_run=yes
  16. +ngx_feature_run=no
  17. ngx_feature_incs="#include <sys/sendfile.h>
  18. #include <errno.h>"
  19. ngx_feature_path=
  20. @@ -126,7 +126,7 @@ fi
  21. CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
  22. ngx_feature="sendfile64()"
  23. ngx_feature_name="NGX_HAVE_SENDFILE64"
  24. -ngx_feature_run=yes
  25. +ngx_feature_run=no
  26. ngx_feature_incs="#include <sys/sendfile.h>
  27. #include <errno.h>"
  28. ngx_feature_path=
  29. @@ -144,7 +144,7 @@ ngx_include="sys/prctl.h"; . auto/includ
  30. ngx_feature="prctl(PR_SET_DUMPABLE)"
  31. ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE"
  32. -ngx_feature_run=yes
  33. +ngx_feature_run=no
  34. ngx_feature_incs="#include <sys/prctl.h>"
  35. ngx_feature_path=
  36. ngx_feature_libs=
  37. @@ -165,20 +165,6 @@ ngx_feature_test="cpu_set_t mask;
  38. sched_setaffinity(0, sizeof(cpu_set_t), &mask)"
  39. . auto/feature
  40. -
  41. -# crypt_r()
  42. -
  43. -ngx_feature="crypt_r()"
  44. -ngx_feature_name="NGX_HAVE_GNU_CRYPT_R"
  45. -ngx_feature_run=no
  46. -ngx_feature_incs="#include <crypt.h>"
  47. -ngx_feature_path=
  48. -ngx_feature_libs=-lcrypt
  49. -ngx_feature_test="struct crypt_data cd;
  50. - crypt_r(\"key\", \"salt\", &cd);"
  51. -. auto/feature
  52. -
  53. -
  54. ngx_include="sys/vfs.h"; . auto/include