patch-auto_os_darwin 1.1 KB

1234567891011121314151617181920212223242526
  1. --- nginx-1.9.12.orig/auto/os/darwin 2016-02-24 15:53:23.000000000 +0100
  2. +++ nginx-1.9.12/auto/os/darwin 2016-03-04 19:56:52.000000000 +0100
  3. @@ -30,6 +30,7 @@ NGX_KQUEUE_CHECKED=YES
  4. ngx_feature="kqueue's EVFILT_TIMER"
  5. ngx_feature_name="NGX_HAVE_TIMER_EVENT"
  6. ngx_feature_run=yes
  7. +ngx_feature_run_force_result="$ngx_force_have_timer_event"
  8. ngx_feature_incs="#include <sys/event.h>
  9. #include <sys/time.h>"
  10. ngx_feature_path=
  11. @@ -60,6 +61,7 @@ ngx_feature_test="int kq;
  12. ngx_feature="Darwin 64-bit kqueue millisecond timeout bug"
  13. ngx_feature_name=NGX_DARWIN_KEVENT_BUG
  14. ngx_feature_run=bug
  15. +ngx_feature_run_force_result="$ngx_force_kevent_bug"
  16. ngx_feature_incs="#include <sys/event.h>
  17. #include <sys/time.h>"
  18. ngx_feature_path=
  19. @@ -90,6 +92,7 @@ CC_AUX_FLAGS="$CC_AUX_FLAGS"
  20. ngx_feature="sendfile()"
  21. ngx_feature_name="NGX_HAVE_SENDFILE"
  22. ngx_feature_run=yes
  23. +ngx_feature_run_force_result="$ngx_force_have_sendfile"
  24. ngx_feature_incs="#include <sys/types.h>
  25. #include <sys/socket.h>
  26. #include <sys/uio.h>