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.

50 lines
2.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../e2fsprogs/et-dietlibc.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. This patch "workarounds" table base computation problems using the dietlibc awk.
  18. This modification is imperfect and dietlibc/awk should be fully reviewed, since
  19. the error table base is different when this is used. This affects the distributions
  20. ABI, but as dietlibc already is a HUGE ABI change, this is not issue, yet.
  21. (However this only happens on soem platforms like SPARC, x86 and PowerPC also mis-
  22. comput the base, but in another way ...)
  23. - Rene Rebe <rene@exactcode.de>
  24. --- ./lib/et/et_c.awk 2003-05-06 05:07:31.000000000 +0200
  25. +++ ./lib/et/et_c.awk 2004-06-10 09:18:40.820000000 +0200
  26. @@ -89,7 +89,7 @@
  27. tab_base_high = (tab_base_high * 256) + \
  28. int(tab_base_low / mod_base)
  29. tab_base_low = tab_base_low % mod_base
  30. - if (tab_base_low < 0) {
  31. + if (tab_base_low <= 0) {
  32. # Work around stupid bug in the ARM libm
  33. tab_base_low = tab_base_low + mod_base
  34. }
  35. --- ./lib/et/et_h.awk 2003-05-06 05:07:31.000000000 +0200
  36. +++ ./lib/et/et_h.awk 2004-06-10 09:15:58.010000000 +0200
  37. @@ -89,7 +89,7 @@
  38. tab_base_high = (tab_base_high * 256) + \
  39. int(tab_base_low / mod_base)
  40. tab_base_low = tab_base_low % mod_base
  41. - if (tab_base_low < 0) {
  42. + if (tab_base_low <= 0) {
  43. # Work around stupid bug in the ARM libm
  44. tab_base_low = tab_base_low + mod_base
  45. }