1 |
bicatali 08/11/05 21:53:39 |
2 |
|
3 |
Modified: skycat-3.0.1-gcc43.patch |
4 |
Log: |
5 |
Added some missing headers, more gcc-4.3 fixes not caught during compilation |
6 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-astronomy/skycat/files/skycat-3.0.1-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/skycat/files/skycat-3.0.1-gcc43.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/skycat/files/skycat-3.0.1-gcc43.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/skycat/files/skycat-3.0.1-gcc43.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: skycat-3.0.1-gcc43.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/skycat/files/skycat-3.0.1-gcc43.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- skycat-3.0.1-gcc43.patch 17 Jun 2008 08:57:32 -0000 1.1 |
22 |
+++ skycat-3.0.1-gcc43.patch 5 Nov 2008 21:53:39 -0000 1.2 |
23 |
@@ -1,3 +1,14 @@ |
24 |
+--- astrotcl/generic/ImageIO.h.orig 2008-11-05 17:57:14.000000000 +0000 |
25 |
++++ astrotcl/generic/ImageIO.h 2008-11-05 17:57:29.000000000 +0000 |
26 |
+@@ -116,7 +116,7 @@ |
27 |
+ double unScaleValue(double d) const {return (d-bzero_)/bscale_;} |
28 |
+ |
29 |
+ // return the size in bytes of a raw image pixel |
30 |
+- int pixelSize() const {return abs(bitpix_)/8;} |
31 |
++ int pixelSize() const {return fabs(bitpix_)/8;} |
32 |
+ |
33 |
+ // member access |
34 |
+ int width() const {return width_;} |
35 |
--- astrotcl/generic/Fits_IO.h.orig 2006-01-12 16:43:52.000000000 +0000 |
36 |
+++ astrotcl/generic/Fits_IO.h 2006-09-14 11:34:20.000000000 +0100 |
37 |
@@ -49,7 +49,7 @@ |
38 |
@@ -255,6 +266,27 @@ |
39 |
|
40 |
protected: |
41 |
char name_[100]; // name of application |
42 |
+--- rtd/generic/histmap.c.orig 2008-11-05 18:02:25.000000000 +0000 |
43 |
++++ rtd/generic/histmap.c 2008-11-05 18:02:53.000000000 +0000 |
44 |
+@@ -17,6 +17,7 @@ |
45 |
+ */ |
46 |
+ |
47 |
+ #include <stdio.h> |
48 |
++#include <stdlib.h> |
49 |
+ #include "histeq.h" /* define SubrangeLink, List */ |
50 |
+ |
51 |
+ |
52 |
+--- rtd/generic/histzero.c.orig 2008-11-05 18:02:31.000000000 +0000 |
53 |
++++ rtd/generic/histzero.c 2008-11-05 18:03:08.000000000 +0000 |
54 |
+@@ -15,6 +15,7 @@ |
55 |
+ */ |
56 |
+ |
57 |
+ #include <stdio.h> |
58 |
++#include <stdlib.h> |
59 |
+ #include "histeq.h" /* define SubrangeLink */ |
60 |
+ |
61 |
+ static void merge_links(); |
62 |
+ |
63 |
--- rtd/rtdevt/rtdCLNT.h.orig 2006-01-12 16:40:00.000000000 +0000 |
64 |
+++ rtd/rtdevt/rtdCLNT.h 2006-09-14 11:51:56.000000000 +0100 |
65 |
@@ -40,52 +40,52 @@ |