OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../nginx/allow_cross.patch
  5. # Copyright (C) 2009 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./auto/types/sizeof.orig 2009-09-02 15:57:09.264008454 -0400
  17. +++ ./auto/types/sizeof 2009-09-02 16:10:29.856009072 -0400
  18. @@ -38,8 +38,14 @@
  19. if [ -x $NGX_AUTOTEST ]; then
  20. - ngx_size=`$NGX_AUTOTEST`
  21. + cachename=$(echo "ngx_cache_sizeof_$ngx_type" | tr ' *' '_p')
  22. + cacheval=$(eval echo "\$$cachename")
  23. + if [ -n "$cacheval" ]; then
  24. + ngx_size="$cacheval"
  25. + else
  26. + ngx_size=`$NGX_AUTOTEST`
  27. + fi
  28. echo " $ngx_size bytes"
  29. fi
  30. --- ./auto/feature.orig 2009-09-03 07:10:21.608009461 -0400
  31. +++ ./auto/feature 2009-09-03 07:15:24.048354979 -0400
  32. @@ -48,6 +48,10 @@
  33. if [ -x $NGX_AUTOTEST ]; then
  34. + if [ "$cross_compiling" = "yes" ]; then
  35. + ngx_feature_run=no
  36. + fi
  37. +
  38. case "$ngx_feature_run" in
  39. yes)