diff options
Diffstat (limited to 'sci-astronomy/orsa/files')
-rw-r--r-- | sci-astronomy/orsa/files/digest-orsa-0.6.1 | 2 | ||||
-rw-r--r-- | sci-astronomy/orsa/files/orsa-0.6.1-as-needed.patch | 12 | ||||
-rw-r--r-- | sci-astronomy/orsa/files/orsa-0.6.1-gcc4.patch | 60 |
3 files changed, 74 insertions, 0 deletions
diff --git a/sci-astronomy/orsa/files/digest-orsa-0.6.1 b/sci-astronomy/orsa/files/digest-orsa-0.6.1 index b7bf044a14a9..311b85118718 100644 --- a/sci-astronomy/orsa/files/digest-orsa-0.6.1 +++ b/sci-astronomy/orsa/files/digest-orsa-0.6.1 @@ -1 +1,3 @@ MD5 82d3919b04a076072f510b6122c06fca orsa-0.6.1.tar.gz 763872 +RMD160 ad9de4bc511719bbb7ec936a76dfc692bddbf26f orsa-0.6.1.tar.gz 763872 +SHA256 cf87cf675edb75dcf3a57108f79128691c625cc9122c99474403845cf89d1282 orsa-0.6.1.tar.gz 763872 diff --git a/sci-astronomy/orsa/files/orsa-0.6.1-as-needed.patch b/sci-astronomy/orsa/files/orsa-0.6.1-as-needed.patch new file mode 100644 index 000000000000..fc10b3a0fe8f --- /dev/null +++ b/sci-astronomy/orsa/files/orsa-0.6.1-as-needed.patch @@ -0,0 +1,12 @@ +diff -Naur orsa-0.6.1/src/liborsa/Makefile.in orsa-0.6.1-new/src/liborsa/Makefile.in +--- orsa-0.6.1/src/liborsa/Makefile.in 2004-07-08 19:29:01.000000000 -0400 ++++ orsa-0.6.1-new/src/liborsa/Makefile.in 2006-10-25 10:15:20.000000000 -0400 +@@ -387,7 +387,7 @@ + $(AM_CXXFLAGS) $(CXXFLAGS) + CXXLD = $(CXX) + CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ +- $(AM_LDFLAGS) $(LDFLAGS) -o $@ ++ $(GLLIB) $(AM_LDFLAGS) $(LDFLAGS) -o $@ + CXXFLAGS = @CXXFLAGS@ + DIST_SOURCES = $(liborsa_la_SOURCES) + HEADERS = $(pkginclude_HEADERS) diff --git a/sci-astronomy/orsa/files/orsa-0.6.1-gcc4.patch b/sci-astronomy/orsa/files/orsa-0.6.1-gcc4.patch new file mode 100644 index 000000000000..1485d7f10d92 --- /dev/null +++ b/sci-astronomy/orsa/files/orsa-0.6.1-gcc4.patch @@ -0,0 +1,60 @@ +diff -Naur orsa-0.6.1/src/liborsa/orsa_body.h orsa-0.6.1-new/src/liborsa/orsa_body.h +--- orsa-0.6.1/src/liborsa/orsa_body.h 2004-07-05 17:59:44.000000000 -0400 ++++ orsa-0.6.1-new/src/liborsa/orsa_body.h 2006-10-25 09:25:36.000000000 -0400 +@@ -215,7 +215,7 @@ + // void SetVelocity(const Vector &v, bool sync_child=true, Body *ref_body=0); + + // b position - this position +- inline Vector Body::distanceVector(const Body & b) const { return b.position()-position(); } ++ inline Vector distanceVector(const Body & b) const { return b.position()-position(); } + inline double distance(const Body & b) const { return distanceVector(b).Length(); } + + // alias +diff -Naur orsa-0.6.1/src/libxorsa/xorsa_analysis.h orsa-0.6.1-new/src/libxorsa/xorsa_analysis.h +--- orsa-0.6.1/src/libxorsa/xorsa_analysis.h 2004-06-24 20:58:30.000000000 -0400 ++++ orsa-0.6.1-new/src/libxorsa/xorsa_analysis.h 2006-10-25 09:32:16.000000000 -0400 +@@ -129,7 +129,7 @@ + XOrsaPeaksListItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null); + + public: +- int XOrsaPeaksListItem::compare(QListViewItem * i, int col, bool ascending) const; ++ int compare(QListViewItem * i, int col, bool ascending) const; + + }; + +diff -Naur orsa-0.6.1/src/libxorsa/xorsa_import_astorb_objects.h orsa-0.6.1-new/src/libxorsa/xorsa_import_astorb_objects.h +--- orsa-0.6.1/src/libxorsa/xorsa_import_astorb_objects.h 2004-07-05 20:10:14.000000000 -0400 ++++ orsa-0.6.1-new/src/libxorsa/xorsa_import_astorb_objects.h 2006-10-25 09:26:30.000000000 -0400 +@@ -600,7 +600,7 @@ + inline XOrsaAstorbObjectItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null) : QListViewItem(parent, label1, label2, label3, label4, label5, label6, label7, label8) { }; + + public: +- inline int XOrsaAstorbObjectItem::compare(QListViewItem *i, int col, bool ascending) const { ++ inline int compare(QListViewItem *i, int col, bool ascending) const { + + XOrsaAstorbObjectItem *ii = dynamic_cast<XOrsaAstorbObjectItem*> (i); + +diff -Naur orsa-0.6.1/src/libxorsa/xorsa_object_selector.cc orsa-0.6.1-new/src/libxorsa/xorsa_object_selector.cc +--- orsa-0.6.1/src/libxorsa/xorsa_object_selector.cc 2004-06-24 23:12:57.000000000 -0400 ++++ orsa-0.6.1-new/src/libxorsa/xorsa_object_selector.cc 2006-10-25 09:54:01.000000000 -0400 +@@ -40,7 +40,7 @@ + XOrsaObjectItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null); + + public: +- int XOrsaObjectItem::compare(QListViewItem * i, int col, bool ascending) const; ++ int compare(QListViewItem * i, int col, bool ascending) const; + + }; + +diff -Naur orsa-0.6.1/src/orsa/xorsa.h orsa-0.6.1-new/src/orsa/xorsa.h +--- orsa-0.6.1/src/orsa/xorsa.h 2004-06-24 23:30:28.000000000 -0400 ++++ orsa-0.6.1-new/src/orsa/xorsa.h 2006-10-25 10:01:42.000000000 -0400 +@@ -60,7 +60,7 @@ + ObjectItem(QListView *parent, QString label1, QString label2 = QString::null, QString label3 = QString::null, QString label4 = QString::null, QString label5 = QString::null, QString label6 = QString::null, QString label7 = QString::null, QString label8 = QString::null); + + public: +- int ObjectItem::compare(QListViewItem * i, int col, bool ascending) const; ++ int compare(QListViewItem * i, int col, bool ascending) const; + + }; + |