summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-09-20 06:57:54 +0000
committerJustin Lecher <jlec@gentoo.org>2010-09-20 06:57:54 +0000
commit31c08a89b995c8f67cddce07bfe9fef9aa9911ac (patch)
tree3240cd132a031dab58d52bf11341d92355a1af26 /sci-chemistry/reduce
parentVersion bump (diff)
downloadhistorical-31c08a89b995c8f67cddce07bfe9fef9aa9911ac.tar.gz
historical-31c08a89b995c8f67cddce07bfe9fef9aa9911ac.tar.bz2
historical-31c08a89b995c8f67cddce07bfe9fef9aa9911ac.zip
Respect CFLAGS, removed old patches
Package-Manager: portage-2.2_rc84/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/reduce')
-rw-r--r--sci-chemistry/reduce/ChangeLog8
-rw-r--r--sci-chemistry/reduce/Manifest15
-rw-r--r--sci-chemistry/reduce/files/2.21.030604-gcc4.patch100
-rw-r--r--sci-chemistry/reduce/files/3.02.060709-remove-extra-qualification.patch12
-rw-r--r--sci-chemistry/reduce/files/3.13.080428-CFLAGS.patch22
-rw-r--r--sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild3
6 files changed, 38 insertions, 122 deletions
diff --git a/sci-chemistry/reduce/ChangeLog b/sci-chemistry/reduce/ChangeLog
index 5c15c9d2bd9c..c05552f39e1a 100644
--- a/sci-chemistry/reduce/ChangeLog
+++ b/sci-chemistry/reduce/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/reduce
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.17 2010/07/15 20:08:33 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/ChangeLog,v 1.18 2010/09/20 06:57:54 jlec Exp $
+
+ 20 Sep 2010; Justin Lecher <jlec@gentoo.org>
+ -files/2.21.030604-gcc4.patch,
+ -files/3.02.060709-remove-extra-qualification.patch,
+ +files/3.13.080428-CFLAGS.patch, reduce-3.13.080428-r1.ebuild:
+ Respect CFLAGS, removed old patches
15 Jul 2010; Markus Meier <maekke@gentoo.org>
reduce-3.13.080428-r1.ebuild:
diff --git a/sci-chemistry/reduce/Manifest b/sci-chemistry/reduce/Manifest
index 901e49bd230f..91deabfe328c 100644
--- a/sci-chemistry/reduce/Manifest
+++ b/sci-chemistry/reduce/Manifest
@@ -1,18 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 2.21.030604-gcc4.patch 3946 RMD160 f9c8d7f884bc942e31bd0273fe4f43d8f0e2ecc6 SHA1 c596c6ac2741567bc179e50871cc3d607327cec1 SHA256 9c6372e7d44ff83b42ab0ad7f08b7173c8cbfabe204b991ec828c5428d048ff8
-AUX 3.02.060709-remove-extra-qualification.patch 511 RMD160 6c3d43d39a40c608e9aad6ad9fe6da06b59f98e6 SHA1 48805fa78b64f4ab1f46c1acf51eb85032af8db8 SHA256 c814e0e6f23671aba5e2d1b6be74f91390737bd06ca7fbc122ef31eec0ae4c28
+AUX 3.13.080428-CFLAGS.patch 706 RMD160 05ea528b9341b76f2f86abb22fcefc429e65abd3 SHA1 50f86500611aa5f8654a03097d9c146b63258257 SHA256 ce2b82b16421d58bf5de67703f5e9b718f73176891408867460c560ece42cf63
AUX 3.13.080428-LDFLAGS.patch 302 RMD160 c53618b825157b1ff6bd46ac1900922a153ec622 SHA1 41cfa868a5aeca7636ff73035cf330372fdb5406 SHA256 b5299b5761bac75bb2f60392c764fefbbf397afeb32b3b08aca19889398ea291
DIST reduce.3.13.080428.src.tgz 4387407 RMD160 b68637246dd579021cf605278690dfcb0d0074d5 SHA1 0b8142ffc4374fd7d259216fc86eb2ca94c5ea84 SHA256 6290dad33e395c5a40fe3634db86fb6035ea88ce19c3f25b80fb6378507ac066
-EBUILD reduce-3.13.080428-r1.ebuild 1375 RMD160 b2b3c88fbad757a4970453eaed5a7ecfa46a72d8 SHA1 ee65904ddb4841fa52e65053bf1ae5aef339882a SHA256 837a5dbf5f73f7eda79b48f05c9b8a6f87a5b1c56958903db071f00b9aec3e8e
+EBUILD reduce-3.13.080428-r1.ebuild 1414 RMD160 9ce256279c7d03068f32df7fcf0ac4523277f324 SHA1 f0921ec94190e07bcd64805837be2736e753dc1f SHA256 cf8a4ce96f17c8600dc7269541f6c217beecd5e08d05110988e9108ca460ed17
EBUILD reduce-3.13.080428.ebuild 1536 RMD160 ee165a8c59c415ed6e0df56522520c554e18a7f0 SHA1 f7249fa47c1090dbc95da24308930c5d1e36956b SHA256 c795681d433dc3bbb9163c66c2198d9b7844e0ce3a18dde34dd25c9a6b546bfb
-MISC ChangeLog 2712 RMD160 d32bab2ab26771d0bef19c6a758385adf2f7d2c4 SHA1 dbb130042a5a00a3d53d47b13d2cf08b6e058569 SHA256 4ca11a781e3e066739c83435b7aeec36394e0466539f5c8645f713f9e0ac3035
+MISC ChangeLog 2949 RMD160 5aef737a01c1e39ab93e86fd1d84580960a05646 SHA1 f4aa73673aca8f8b347dbd11145efa45d564616a SHA256 74c6823f1b069d536c711c18fc0966e55451982afb8a3df415cbad589093a9dc
MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkw/al8ACgkQkKaRLQcq0GIgEACdF1OTvaGaDj0/tH484KKlePW5
-9o8AnRxIPb4/UOTN6H55H0pP2hPvU/9g
-=PRAL
+iEYEARECAAYFAkyXBfcACgkQgAnW8HDreRYTGACeNaI/yPqnDxQk6BUWHjeycyaT
+VFcAnA4UHniX0OXYiBJd7h6bmq8QPjny
+=v2YK
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/reduce/files/2.21.030604-gcc4.patch b/sci-chemistry/reduce/files/2.21.030604-gcc4.patch
deleted file mode 100644
index 67b36ab476a7..000000000000
--- a/sci-chemistry/reduce/files/2.21.030604-gcc4.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-Files reduce.2.21.030604.source.orig/libpdb/libpdb++.a and reduce.2.21.030604.source/libpdb/libpdb++.a differ
-diff -urN -x '*Makefile*' reduce.2.21.030604.source.orig/reduce_src/PDBrec.h reduce.2.21.030604.source/reduce_src/PDBrec.h
---- reduce.2.21.030604.source.orig/reduce_src/PDBrec.h 2003-06-04 16:32:12.000000000 -0700
-+++ reduce.2.21.030604.source/reduce_src/PDBrec.h 2006-06-01 15:50:07.000000000 -0700
-@@ -233,7 +233,7 @@
-
- friend ostream& operator << (ostream& s, const PDBrecNAMEout& p);
- private:
-- PDBrecNAMEout(const PDBrecNAMEout& p); // can't copy or assign
-+// PDBrecNAMEout(const PDBrecNAMEout& p); // can't copy or assign
- PDBrecNAMEout& operator=(const PDBrecNAMEout& p);
-
- const PDBrec& _r;
-Files reduce.2.21.030604.source.orig/reduce_src/reduce and reduce.2.21.030604.source/reduce_src/reduce differ
-diff -urN -x '*Makefile*' reduce.2.21.030604.source.orig/toolclasses/Dict.C reduce.2.21.030604.source/toolclasses/Dict.C
---- reduce.2.21.030604.source.orig/toolclasses/Dict.C 1999-03-15 08:42:34.000000000 -0800
-+++ reduce.2.21.030604.source/toolclasses/Dict.C 2006-06-01 15:51:58.000000000 -0700
-@@ -13,6 +13,7 @@
- // Copyright (C) 1999 J. Michael Word
- // **************************************************************
-
-+using std::endl;
- #include "Dict.h"
-
- // ---------------------------------------------------
-Files reduce.2.21.030604.source.orig/toolclasses/libtoolclasses.a and reduce.2.21.030604.source/toolclasses/libtoolclasses.a differ
-diff -urN -x '*Makefile*' reduce.2.21.030604.source.orig/toolclasses/List.h reduce.2.21.030604.source/toolclasses/List.h
---- reduce.2.21.030604.source.orig/toolclasses/List.h 2003-06-04 16:48:51.000000000 -0700
-+++ reduce.2.21.030604.source/toolclasses/List.h 2006-06-01 16:31:43.000000000 -0700
-@@ -9,6 +9,8 @@
- #ifndef LIST_H
- #define LIST_H 1
-
-+#include "utility.h"
-+
- #ifdef OLD_STD_HDRS
- #include <iostream.h>
- #include <limits.h>
-diff -urN -x '*Makefile*' reduce.2.21.030604.source.orig/toolclasses/ListIter.C reduce.2.21.030604.source/toolclasses/ListIter.C
---- reduce.2.21.030604.source.orig/toolclasses/ListIter.C 1999-01-13 09:58:42.000000000 -0800
-+++ reduce.2.21.030604.source/toolclasses/ListIter.C 2006-06-01 15:32:13.000000000 -0700
-@@ -58,29 +58,29 @@
-
- template <class T>
- bool NonConstListIter<T>::drop() {
-- bool rc = (_node != NULL);
-+ bool rc = (this->_node != NULL);
- if (rc) {
-- DblLnkLstNode<T>* prev = _NClist.linkPrev(_node);
-- _NClist.drop(_node);
-- _node = prev;
-+ DblLnkLstNode<T>* prev = _NClist.linkPrev(this->_node);
-+ _NClist.drop(this->_node);
-+ this->_node = prev;
- }
- return rc;
- }
-
- template <class T>
- bool NonConstListIter<T>::insertBefore(const T& e) {
-- bool rc = (_node != NULL);
-+ bool rc = (this->_node != NULL);
- if (rc) {
-- _NClist.insertBefore(e, _node);
-+ _NClist.insertBefore(e, this->_node);
- }
- return rc;
- }
-
- template <class T>
- bool NonConstListIter<T>::insertAfter(const T& e) {
-- bool rc = (_node != NULL);
-+ bool rc = (this->_node != NULL);
- if (rc) {
-- _NClist.insertAfter(e, _node);
-+ _NClist.insertAfter(e, this->_node);
- }
- return rc;
- }
-diff -urN -x '*Makefile*' reduce.2.21.030604.source.orig/toolclasses/ListIter.h reduce.2.21.030604.source/toolclasses/ListIter.h
---- reduce.2.21.030604.source.orig/toolclasses/ListIter.h 1999-01-13 09:58:42.000000000 -0800
-+++ reduce.2.21.030604.source/toolclasses/ListIter.h 2006-06-01 15:07:29.000000000 -0700
-@@ -63,13 +63,13 @@
- : ListIter<T>(li), _NClist(li._NClist) {}
-
- T& data() const {
-- assert(_node);
-- return _NClist.linkData(_node);
-+ assert(this->_node);
-+ return _NClist.linkData(this->_node);
- }
-
- void update(const T& e) const {
-- assert(_node);
-- _NClist.linkData(_node) = e;
-+ assert(this->_node);
-+ _NClist.linkData(this->_node) = e;
- }
-
- bool drop(); // remove the current element
diff --git a/sci-chemistry/reduce/files/3.02.060709-remove-extra-qualification.patch b/sci-chemistry/reduce/files/3.02.060709-remove-extra-qualification.patch
deleted file mode 100644
index 46745213b15c..000000000000
--- a/sci-chemistry/reduce/files/3.02.060709-remove-extra-qualification.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur reduce.3.02.060709.orig/reduce_src/GraphToHoldScores.h reduce.3.02.060709/reduce_src/GraphToHoldScores.h
---- reduce.3.02.060709.orig/reduce_src/GraphToHoldScores.h 2006-07-10 08:12:40.000000000 -0700
-+++ reduce.3.02.060709/reduce_src/GraphToHoldScores.h 2006-07-10 10:31:40.000000000 -0700
-@@ -290,7 +290,7 @@
- int whichVertex( int vertex ) const;
-
- void
-- DegreeThreeEdge_ths::lookForSharedDots(
-+ lookForSharedDots(
- DegreeThreeEdge_ths const * other,
- int vertex_this,
- int vertex_other
diff --git a/sci-chemistry/reduce/files/3.13.080428-CFLAGS.patch b/sci-chemistry/reduce/files/3.13.080428-CFLAGS.patch
new file mode 100644
index 000000000000..7daa5336f689
--- /dev/null
+++ b/sci-chemistry/reduce/files/3.13.080428-CFLAGS.patch
@@ -0,0 +1,22 @@
+diff --git a/reduce_src/Makefile b/reduce_src/Makefile
+index 598e367..067ace4 100644
+--- a/reduce_src/Makefile
++++ b/reduce_src/Makefile
+@@ -12,7 +12,7 @@ PROG_FLGS = -DAROMATICS_ACCEPT_HBONDS \
+ # -DDEBUGMOVABLENODE -DDEBUGDOTCOUNTS
+ # -DMINPREDEFINED -DMAXPREDEFINED\
+
+-CFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC)\
++CXXFLAGS = $(OPT) $(DEBUG) $(PROG_FLGS) $(DICT_LOC)\
+ -I$(PDBHOME) -I$(TOOLHOME)
+ # -Wall
+
+@@ -26,7 +26,7 @@ OBJLIST = GraphToHoldScores.o reduce.o CTab.o ElementInfo.o StdResH.o ResBlk.o A
+ CXX = g++
+
+ .cpp.o:
+- $(CXX) -c $*.cpp $(CFLAGS)
++ $(CXX) -c $*.cpp $(CXXFLAGS)
+
+ OPT = -O3
+ DEBUG = $(CXXDEBUGFLAGS)
diff --git a/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild b/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
index 43bba59a63e3..0f8296764a91 100644
--- a/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
+++ b/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild,v 1.5 2010/07/15 20:08:33 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/reduce/reduce-3.13.080428-r1.ebuild,v 1.6 2010/09/20 06:57:54 jlec Exp $
EAPI="3"
@@ -25,6 +25,7 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/${PV}-LDFLAGS.patch
+ epatch "${FILESDIR}"/${PV}-CFLAGS.patch
}
src_compile() {