Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 21 years ago
parent
commit
acec315d31
2 changed files with 100 additions and 2 deletions
  1. +98
    -0
      package/rene/nxcomp/gcc34.patch
  2. +2
    -2
      package/rene/nxcomp/nxcomp.desc

+ 98
- 0
package/rene/nxcomp/gcc34.patch

@ -0,0 +1,98 @@
--- ./Types.h.orig Wed Sep 1 21:18:18 2004
+++ ./Types.h Wed Sep 1 21:21:41 2004
@@ -74,11 +74,11 @@
void clear()
{
- #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
+ #if defined(__STL_USE_STD_ALLOCATORS) || defined(_VECTOR_H)
- #if defined(__GLIBCPP_INTERNAL_VECTOR_H)
+ #if defined(_VECTOR_H)
- _Destroy(_M_start, _M_finish);
+ _Destroy(_M_impl._M_start, _M_impl._M_finish);
#else
@@ -86,9 +86,9 @@
#endif
- _M_deallocate(_M_start, _M_end_of_storage - _M_start);
+ _M_deallocate(_M_impl._M_start, _M_impl._M_end_of_storage - _M_impl._M_start);
- _M_start = _M_finish = _M_end_of_storage = 0;
+ _M_impl._M_start = _M_impl._M_finish = _M_impl._M_end_of_storage = 0;
#else
@@ -108,21 +108,21 @@
void clear()
{
- #if defined(__STL_USE_STD_ALLOCATORS) || defined(__GLIBCPP_INTERNAL_VECTOR_H)
+ #if defined(__STL_USE_STD_ALLOCATORS) || defined(_VECTOR_H)
- #if defined(__GLIBCPP_INTERNAL_VECTOR_H)
+ #if defined(_VECTOR_H)
- _Destroy(_M_start, _M_finish);
+ _Destroy(_M_impl._M_start, _M_impl._M_finish);
#else
- destroy(_M_start, _M_finish);
+ destroy(_M_impl._M_start, _M_impl._M_finish);
#endif
- _M_deallocate(_M_start, _M_end_of_storage - _M_start);
+ _M_deallocate(_M_impl._M_start, _M_impl._M_end_of_storage - _M_impl._M_start);
- _M_start = _M_finish = _M_end_of_storage = 0;
+ _M_impl._M_start = _M_impl._M_finish = _M_impl._M_end_of_storage = 0;
#else
--- ./Jpeg.cpp.orig 2004-09-13 03:41:49.905274168 +0200
+++ ./Jpeg.cpp 2004-09-13 03:43:06.886571232 +0200
@@ -452,7 +452,7 @@
// next line.
//
- (char *) pixelPtr += RoundUp4(w * 2) - w * 2;
+ pixelPtr += RoundUp4(w * 2) - w * 2;
dy++;
}
@@ -562,7 +562,7 @@
pixelPtr += 3;
}
- (char *) pixelPtr += RoundUp4(w * 3) - w * 3;
+ pixelPtr += RoundUp4(w * 3) - w * 3;
dy++;
}
--- ./Png.cpp.orig 2004-09-13 03:43:18.138860624 +0200
+++ ./Png.cpp 2004-09-13 03:43:41.532304280 +0200
@@ -452,7 +452,7 @@
// next line
//
- (char *) pixelPtr += RoundUp4(w * 2) - w * 2;
+ pixelPtr += RoundUp4(w * 2) - w * 2;
}
png_destroy_read_struct(&png_ptr, &info_ptr,NULL);
@@ -578,7 +578,7 @@
pixelPtr += 3;
}
- (char *) pixelPtr += RoundUp4(w * 3) - w * 3;
+ pixelPtr += RoundUp4(w * 3) - w * 3;
}
png_destroy_read_struct(&png_ptr, &info_ptr,NULL);

+ 2
- 2
package/rene/nxcomp/nxcomp.desc

@ -35,8 +35,8 @@
[L] GPL
[S] Beta
[V] 1.3.2-4
[V] 1.4.0-23
[P] X -?---5---9 146.100
[D] 823266886 nxcomp-1.3.2-4.tar.gz http://www.nomachine.com/download/nxsources/nxcomp/
[D] 1283267939 nxcomp-1.4.0-23.tar.gz http://www.nomachine.com/download/snapshot/nxsources/

Loading…
Cancel
Save