summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-06-05 22:35:34 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-06-05 22:35:34 +0000
commit87dd3a06b8cea3fa024e7a004a4fd5c5346a2dee (patch)
treeb46a7f7799f9ac9f569643f1b9136dc387dd52f3 /sci-astronomy/casacore/files
parentFix libcmis version (diff)
downloadhistorical-87dd3a06b8cea3fa024e7a004a4fd5c5346a2dee.tar.gz
historical-87dd3a06b8cea3fa024e7a004a4fd5c5346a2dee.tar.bz2
historical-87dd3a06b8cea3fa024e7a004a4fd5c5346a2dee.zip
Version bump. Now adds the data package
Package-Manager: portage-2.1.10.63/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy/casacore/files')
-rw-r--r--sci-astronomy/casacore/files/1.5.0-gcc47.patch22
-rw-r--r--sci-astronomy/casacore/files/1.5.0-sysdep.patch17
2 files changed, 39 insertions, 0 deletions
diff --git a/sci-astronomy/casacore/files/1.5.0-gcc47.patch b/sci-astronomy/casacore/files/1.5.0-gcc47.patch
new file mode 100644
index 000000000000..30295d8d0701
--- /dev/null
+++ b/sci-astronomy/casacore/files/1.5.0-gcc47.patch
@@ -0,0 +1,22 @@
+diff -Nur casacore-1.5.0.orig/casa/Arrays/IPosition.h casacore-1.5.0/casa/Arrays/IPosition.h
+--- casacore-1.5.0.orig/casa/Arrays/IPosition.h 2012-03-14 14:30:48.000000000 +0000
++++ casacore-1.5.0/casa/Arrays/IPosition.h 2012-06-05 22:07:39.000000000 +0100
+@@ -34,6 +34,7 @@
+ #include <casa/BasicSL/String.h>
+ #include <vector>
+ #include <cstddef> // for ptrdiff_t
++#include <unistd.h> // for ssize_t
+
+ namespace casa { //# NAMESPACE CASA - BEGIN
+
+diff -Nur casacore-1.5.0.orig/casa/System/Casarc.cc casacore-1.5.0/casa/System/Casarc.cc
+--- casacore-1.5.0.orig/casa/System/Casarc.cc 2011-10-18 08:39:05.000000000 +0100
++++ casacore-1.5.0/casa/System/Casarc.cc 2012-06-05 22:11:31.000000000 +0100
+@@ -34,6 +34,7 @@
+ #include <fcntl.h>
+ #include <sys/mman.h>
+ #include <cstdio>
++#include <unistd.h>
+
+ #define USE_FLOCK 0
+ #define CASARC_DEBUG 0
diff --git a/sci-astronomy/casacore/files/1.5.0-sysdep.patch b/sci-astronomy/casacore/files/1.5.0-sysdep.patch
new file mode 100644
index 000000000000..35eef56daf08
--- /dev/null
+++ b/sci-astronomy/casacore/files/1.5.0-sysdep.patch
@@ -0,0 +1,17 @@
+--- casacore-1.5.0/mirlib/sysdep.h.orig 2012-06-05 05:35:29.000000000 +0100
++++ casacore-1.5.0/mirlib/sysdep.h 2012-06-05 05:37:07.000000000 +0100
+@@ -28,7 +28,8 @@
+ * removed 'trace' clutter from the old multiflow
+ * pjt 24jun01 PPC/powerpc is a BIGENDIAN (linux) machine
+ */
+-
++#ifndef MIRIAD_SYSDEP_H
++#define MIRIAD_SYSDEP_H
+ #ifndef Null
+ #define Null '\0'
+ #endif
+@@ -133,3 +134,4 @@
+ # define unpack32_c(a,b,c) memcpy((char *)(b),(a),sizeof(int)*(c))
+ #endif
+ #endif
++#endif /* MIRIAD_SYSDEP_H */