patch-auto_os_linux 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --- nginx-1.5.3.orig/auto/os/linux 2013-07-30 15:27:55.000000000 +0200
  2. +++ nginx-1.5.3/auto/os/linux 2013-08-20 10:00:37.444429620 +0200
  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. @@ -73,7 +73,7 @@ fi
  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. @@ -94,7 +94,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. @@ -112,7 +112,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. @@ -133,20 +133,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