mirror of the now-defunct rocklinux.org
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.

98 lines
2.5 KiB

  1. --- nxcomp/Types.h.orig Wed Sep 1 21:18:18 2004
  2. +++ nxcomp/Types.h Wed Sep 1 21:21:41 2004
  3. @@ -74,11 +74,11 @@
  4. void clear()
  5. {
  6. - #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
  7. + #if defined(__STL_USE_STD_ALLOCATORS) || defined(_VECTOR_H)
  8. - #if defined(__GLIBCPP_INTERNAL_VECTOR_H)
  9. + #if defined(_VECTOR_H)
  10. - _Destroy(_M_start, _M_finish);
  11. + _Destroy(_M_impl._M_start, _M_impl._M_finish);
  12. #else
  13. @@ -86,9 +86,9 @@
  14. #endif
  15. - _M_deallocate(_M_start, _M_end_of_storage - _M_start);
  16. + _M_deallocate(_M_impl._M_start, _M_impl._M_end_of_storage - _M_impl._M_start);
  17. - _M_start = _M_finish = _M_end_of_storage = 0;
  18. + _M_impl._M_start = _M_impl._M_finish = _M_impl._M_end_of_storage = 0;
  19. #else
  20. @@ -108,21 +108,21 @@
  21. void clear()
  22. {
  23. - #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
  24. + #if defined(__STL_USE_STD_ALLOCATORS) || defined(_VECTOR_H)
  25. - #if defined(__GLIBCPP_INTERNAL_VECTOR_H)
  26. + #if defined(_VECTOR_H)
  27. - _Destroy(_M_start, _M_finish);
  28. + _Destroy(_M_impl._M_start, _M_impl._M_finish);
  29. #else
  30. - destroy(_M_start, _M_finish);
  31. + destroy(_M_impl._M_start, _M_impl._M_finish);
  32. #endif
  33. - _M_deallocate(_M_start, _M_end_of_storage - _M_start);
  34. + _M_deallocate(_M_impl._M_start, _M_impl._M_end_of_storage - _M_impl._M_start);
  35. - _M_start = _M_finish = _M_end_of_storage = 0;
  36. + _M_impl._M_start = _M_impl._M_finish = _M_impl._M_end_of_storage = 0;
  37. #else
  38. --- nxcomp/Jpeg.cpp.orig 2004-09-13 03:41:49.905274168 +0200
  39. +++ nxcomp/Jpeg.cpp 2004-09-13 03:43:06.886571232 +0200
  40. @@ -452,7 +452,7 @@
  41. // next line.
  42. //
  43. - (char *) pixelPtr += RoundUp4(w * 2) - w * 2;
  44. + pixelPtr += RoundUp4(w * 2) - w * 2;
  45. dy++;
  46. }
  47. @@ -562,7 +562,7 @@
  48. pixelPtr += 3;
  49. }
  50. - (char *) pixelPtr += RoundUp4(w * 3) - w * 3;
  51. + pixelPtr += RoundUp4(w * 3) - w * 3;
  52. dy++;
  53. }
  54. --- nxcomp/Png.cpp.orig 2004-09-13 03:43:18.138860624 +0200
  55. +++ nxcomp/Png.cpp 2004-09-13 03:43:41.532304280 +0200
  56. @@ -452,7 +452,7 @@
  57. // next line
  58. //
  59. - (char *) pixelPtr += RoundUp4(w * 2) - w * 2;
  60. + pixelPtr += RoundUp4(w * 2) - w * 2;
  61. }
  62. png_destroy_read_struct(&png_ptr, &info_ptr,NULL);
  63. @@ -578,7 +578,7 @@
  64. pixelPtr += 3;
  65. }
  66. - (char *) pixelPtr += RoundUp4(w * 3) - w * 3;
  67. + pixelPtr += RoundUp4(w * 3) - w * 3;
  68. }
  69. png_destroy_read_struct(&png_ptr, &info_ptr,NULL);