summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2013-10-09 14:35:27 +0000
committerChristoph Junghans <ottxor@gentoo.org>2013-10-09 14:35:27 +0000
commitd7e49fb9b88ca6f780a12021ee4a7ffb61a83343 (patch)
tree5a4461587a4f93738bafccdb31a2ed41df2dd242 /sys-cluster/charm/files
parentsci-chemistry/cns: Bump EAPI (diff)
downloadgentoo-2-d7e49fb9b88ca6f780a12021ee4a7ffb61a83343.tar.gz
gentoo-2-d7e49fb9b88ca6f780a12021ee4a7ffb61a83343.tar.bz2
gentoo-2-d7e49fb9b88ca6f780a12021ee4a7ffb61a83343.zip
version bump
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'sys-cluster/charm/files')
-rw-r--r--sys-cluster/charm/files/charm-5.9-gcc-4.2.patch17
-rw-r--r--sys-cluster/charm/files/charm-5.9-gcc4.patch41
-rw-r--r--sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch25
-rw-r--r--sys-cluster/charm/files/charm-6.1.2-charmrun.patch11
-rw-r--r--sys-cluster/charm/files/charm-6.2.0-gcc-4.7.patch45
-rw-r--r--sys-cluster/charm/files/charm-6.5.1-CkReductionMgr.patch34
-rw-r--r--sys-cluster/charm/files/charm-6.5.1-charmc-gentoo.patch (renamed from sys-cluster/charm/files/charm-6.5.0-charmc-gentoo.patch)20
-rw-r--r--sys-cluster/charm/files/charm-6.5.1-cleanup-config.patch58
-rw-r--r--sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch30
-rw-r--r--sys-cluster/charm/files/charm-6.5.1-fix-string-parsing.patch50
-rw-r--r--sys-cluster/charm/files/charm-charmc-gentoo.patch29
-rw-r--r--sys-cluster/charm/files/charm-doc-makefile-gentoo.patch35
-rw-r--r--sys-cluster/charm/files/charm-examples-gentoo.patch105
-rw-r--r--sys-cluster/charm/files/charm-fpic-gentoo.patch32
-rw-r--r--sys-cluster/charm/files/charm-python-configure-gentoo.patch29
15 files changed, 189 insertions, 372 deletions
diff --git a/sys-cluster/charm/files/charm-5.9-gcc-4.2.patch b/sys-cluster/charm/files/charm-5.9-gcc-4.2.patch
deleted file mode 100644
index cc7fb257a5d4..000000000000
--- a/sys-cluster/charm/files/charm-5.9-gcc-4.2.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naur charm-5.9/src/conv-perf/traceCore.h charm-5.9-new/src/conv-perf/traceCore.h
---- charm-5.9/src/conv-perf/traceCore.h 2003-07-18 02:35:09.000000000 -0400
-+++ charm-5.9-new/src/conv-perf/traceCore.h 2007-09-22 08:52:09.000000000 -0400
-@@ -17,7 +17,13 @@
- class TraceLogger;
- class TraceEntry;
-
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
- CpvCExtern(int, _traceCoreOn);
-+#ifdef __cplusplus
-+}
-+#endif
- /*** structure of events ***/
-
- struct TraceCoreEvent {
diff --git a/sys-cluster/charm/files/charm-5.9-gcc4.patch b/sys-cluster/charm/files/charm-5.9-gcc4.patch
deleted file mode 100644
index 9a1cb9f1d1d9..000000000000
--- a/sys-cluster/charm/files/charm-5.9-gcc4.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Naur charm-5.9/src/ck-com/MsgPacker.h charm-5.9-new/src/ck-com/MsgPacker.h
---- charm-5.9/src/ck-com/MsgPacker.h 2005-03-20 23:21:51.000000000 -0600
-+++ charm-5.9-new/src/ck-com/MsgPacker.h 2006-04-19 17:16:05.000000000 -0500
-@@ -83,7 +83,7 @@
-
- //Takes a queue of envelopes as char* ptrs and not charm message holders
- //Used by mesh streaming strategy
-- MsgPacker::MsgPacker(CkQ<char *> &msgq, int n_msgs);
-+ MsgPacker(CkQ<char *> &msgq, int n_msgs);
-
- void getMessage(CombinedMessage *&msg, int &size);
- static void deliver(CombinedMessage *cmb_msg);
-diff -Naur charm-5.9/src/ck-core/charisma.h charm-5.9-new/src/ck-core/charisma.h
---- charm-5.9/src/ck-core/charisma.h 2003-03-20 18:30:50.000000000 -0600
-+++ charm-5.9-new/src/ck-core/charisma.h 2006-04-19 17:19:34.000000000 -0500
-@@ -295,6 +295,7 @@
- class CharismaInPort
- {
- public:
-+ virtual ~CharismaInPort() {}
- virtual void send(void *msg, int len) = 0;
- void _create(const char *name)
- {
-@@ -307,6 +308,7 @@
- protected:
- CharismaInPort *inport;
- public:
-+ virtual ~CharismaOutPort() {}
- virtual void emitData(void *data, int len)
- {
- inport->send(data, len);
-diff -Naur charm-5.9/src/ck-core/cklocation.h charm-5.9-new/src/ck-core/cklocation.h
---- charm-5.9/src/ck-core/cklocation.h 2004-10-30 11:35:25.000000000 -0500
-+++ charm-5.9-new/src/ck-core/cklocation.h 2006-04-19 17:21:24.000000000 -0500
-@@ -431,6 +431,7 @@
- /// Abstract superclass of all array manager objects
- class CkArrMgr {
- public:
-+ virtual ~CkArrMgr() {}
- /// Insert this initial element on this processor
- virtual void insertInitial(const CkArrayIndex &idx,void *ctorMsg, int local=1)=0;
diff --git a/sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch b/sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch
deleted file mode 100644
index e381a7e1db8f..000000000000
--- a/sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/scripts/charmc 2009-11-27 02:24:30.648381166 -0600
-+++ src/scripts/charmc.new 2009-11-27 02:31:06.150618002 -0600
-@@ -343,19 +343,9 @@
- PROG_EXT=".exe"
- fi
-
--CHARMLIB="$CHARMBIN/../lib"
--CHARMINC="$CHARMBIN/../include"
--CHARMLIBSO=
--if test -d "$CHARMBIN/../lib_so"
--then
-- CHARMLIBSO=`cd $CHARMBIN/../lib_so 2>/dev/null && pwd`
-- #getting absolute path is harder than thought because of symbolic links and ..
-- #ksh needs cd -P to resolve werid symbolic links, however -P is not portable
-- #csh is ok too if it exists
-- test -z "$CHARMLIBSO" && CHARMLIBSO=`cd -P $CHARMBIN/../lib_so 2>/dev/null && pwd`
-- test -z "$CHARMLIBSO" && CHARMLIBSO=`csh -c "cd $CHARMBIN/../lib_so >& /dev/null && pwd"`
-- test -z "$CHARMLIBSO" && echo "$CHARMBIN/../lib_so: not found" && exit 1
--fi
-+CHARMLIB="/usr/gentoo-libdir"
-+CHARMINC="/usr/include/gentoo-include"
-+CHARMLIBSO="/usr/gentoo-libdir"
-
- ##############################################################################
- #
diff --git a/sys-cluster/charm/files/charm-6.1.2-charmrun.patch b/sys-cluster/charm/files/charm-6.1.2-charmrun.patch
deleted file mode 100644
index d677051c8e9d..000000000000
--- a/sys-cluster/charm/files/charm-6.1.2-charmrun.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/arch/net/charmrun/charmrun.c.orig 2009-05-30 10:37:32.676819167 -0500
-+++ src/arch/net/charmrun/charmrun.c 2009-05-30 10:38:08.835027500 -0500
-@@ -1291,7 +1291,7 @@
- char *tmp=tmpnam(NULL);/*This was once /tmp/fnord*/
- #endif
- unlink(tmp);
-- fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC);
-+ fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC, 0666);
- if (fd<0) {
- fprintf(stderr,"cannot open temp file /tmp/fnord");
- exit(1);
diff --git a/sys-cluster/charm/files/charm-6.2.0-gcc-4.7.patch b/sys-cluster/charm/files/charm-6.2.0-gcc-4.7.patch
deleted file mode 100644
index b6ad30e22892..000000000000
--- a/sys-cluster/charm/files/charm-6.2.0-gcc-4.7.patch
+++ /dev/null
@@ -1,45 +0,0 @@
- src/util/cklists.h | 10 +++++-----
- 1 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/util/cklists.h b/src/util/cklists.h
-index 2fc6938..df29138 100644
---- a/src/util/cklists.h
-+++ b/src/util/cklists.h
-@@ -47,8 +47,8 @@ class CkQ : private CkSTLHelper<T>, private CkNoncopyable {
- mask = 0x0f;
- }
- T *newblk = new T[newlen];
-- elementCopy(newblk,block+first,blklen-first);
-- elementCopy(newblk+blklen-first,block,first);
-+ this->elementCopy(newblk,block+first,blklen-first);
-+ this->elementCopy(newblk+blklen-first,block,first);
- delete[] block; block = newblk;
- blklen = newlen; first = 0;
- }
-@@ -197,7 +197,7 @@ class CkVec : private CkSTLHelper<T> {
- }
- void copyFrom(const this_type &src) {
- makeBlock(src.blklen, src.len);
-- elementCopy(block,src.block,blklen);
-+ this->elementCopy(block,src.block,blklen);
- }
- public:
- CkVec(): block(NULL), blklen(0), len(0) {}
-@@ -233,7 +233,7 @@ class CkVec : private CkSTLHelper<T> {
- T *oldBlock=block;
- makeBlock(newcapacity,len);
- if (newcapacity != blklen) return 0;
-- elementCopy(block,oldBlock,len);
-+ this->elementCopy(block,oldBlock,len);
- delete[] oldBlock; //WARNING: leaks if element copy throws exception
- return 1;
- }
-@@ -504,7 +504,7 @@ class CkPupAblePtrVec : public CkVec< CkZeroPtr<T, CkPupAblePtr<T> > > {
- }
- void copy_from(const this_type &t) {
- for (size_t i=0;i<t.length();i++)
-- push_back((T *)t[i]->clone());
-+ this->push_back((T *)t[i]->clone());
- }
- void destroy(void) {
- for (size_t i=0;i<this->length();i++)
diff --git a/sys-cluster/charm/files/charm-6.5.1-CkReductionMgr.patch b/sys-cluster/charm/files/charm-6.5.1-CkReductionMgr.patch
new file mode 100644
index 000000000000..ad07fc3aa3bc
--- /dev/null
+++ b/sys-cluster/charm/files/charm-6.5.1-CkReductionMgr.patch
@@ -0,0 +1,34 @@
+From 6b537784e9c345dee7f7cfd108c6abc779a969ae Mon Sep 17 00:00:00 2001
+From: Nicolas Bock <nicolasbock@gmail.com>
+Date: Fri, 27 Sep 2013 10:50:45 -0600
+Subject: [PATCH 2/4] Fixed bug in CkReductionMgr::reduceMessages().
+
+The first contribution of a child node is a single message. In this case
+CkReductionMgr::reduceMessages() simply returns the message without calling
+the reducer. However, when using the CkReduction::set reducer this behavior is
+incorrect, and instead the reducer should be called even for one single
+message so that the message is wrapped into a setElement struct. In the
+current implementation, the reduction becomes corrupted because the
+CkReduction::set() method one tier up in the reduction sizes the remote
+contribution incorrectly assuming a setElement struct and not a simple
+message.
+---
+ src/ck-core/ckreduction.C | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ck-core/ckreduction.C b/src/ck-core/ckreduction.C
+index 07853a2..ef3e906 100644
+--- a/src/ck-core/ckreduction.C
++++ b/src/ck-core/ckreduction.C
+@@ -850,7 +850,7 @@ CkReductionMsg *CkReductionMgr::reduceMessages(void)
+ else
+ {//Use the reducer to reduce the messages
+ //if there is only one msg to be reduced just return that message
+- if(nMsgs == 1){
++ if(nMsgs == 1 && msgArr[0]->reducer != CkReduction::set) {
+ ret = msgArr[0];
+ }else{
+ if (msgArr[0]->reducer == CkReduction::random) {
+--
+1.8.1.5
+
diff --git a/sys-cluster/charm/files/charm-6.5.0-charmc-gentoo.patch b/sys-cluster/charm/files/charm-6.5.1-charmc-gentoo.patch
index 34923e3f78d3..f1502ced7d94 100644
--- a/sys-cluster/charm/files/charm-6.5.0-charmc-gentoo.patch
+++ b/sys-cluster/charm/files/charm-6.5.1-charmc-gentoo.patch
@@ -1,6 +1,17 @@
---- src/scripts/charmc.old 2013-05-30 10:18:02.261819771 -0600
-+++ src/scripts/charmc 2013-05-30 10:19:50.839661634 -0600
-@@ -361,19 +361,9 @@
+From 664eb097d1c5d1a158b1f41badc79d369a06aab6 Mon Sep 17 00:00:00 2001
+From: Nicolas Bock <nicolasbock@gmail.com>
+Date: Fri, 27 Sep 2013 10:53:31 -0600
+Subject: [PATCH 4/4] Fix paths for gentoo.
+
+---
+ src/scripts/charmc | 16 +++-------------
+ 1 file changed, 3 insertions(+), 13 deletions(-)
+
+diff --git a/src/scripts/charmc b/src/scripts/charmc
+index 4d37a6b..8ec2f70 100755
+--- a/src/scripts/charmc
++++ b/src/scripts/charmc
+@@ -361,19 +361,9 @@ then
PROG_EXT=".exe"
fi
@@ -23,3 +34,6 @@
##############################################################################
#
+--
+1.8.1.5
+
diff --git a/sys-cluster/charm/files/charm-6.5.1-cleanup-config.patch b/sys-cluster/charm/files/charm-6.5.1-cleanup-config.patch
new file mode 100644
index 000000000000..ec71eb27d469
--- /dev/null
+++ b/sys-cluster/charm/files/charm-6.5.1-cleanup-config.patch
@@ -0,0 +1,58 @@
+From b0af812652269a59457ad1bbf57165c0543bcd07 Mon Sep 17 00:00:00 2001
+From: Nicolas Bock <nicolasbock@gmail.com>
+Date: Fri, 27 Sep 2013 10:49:52 -0600
+Subject: [PATCH 1/4] Commented out colliding defines in conv-autoconfig.h
+
+The colliding defines (bug #252) are commented out in configure.
+---
+ src/scripts/configure | 5 +++++
+ src/scripts/configure.in | 3 +++
+ 2 files changed, 8 insertions(+)
+
+diff --git a/src/scripts/configure b/src/scripts/configure
+index acd582c..faf268f 100755
+--- a/src/scripts/configure
++++ b/src/scripts/configure
+@@ -1703,6 +1703,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ ac_config_headers="$ac_config_headers conv-autoconfig.h"
+
+
++ac_config_commands="$ac_config_commands config-cleanup"
++
++
+ CHARMINC="."
+ test -r ./conv-config.sh && . ./conv-config.sh
+
+@@ -5259,6 +5262,7 @@ for ac_config_target in $ac_config_targets
+ do
+ case $ac_config_target in
+ "conv-autoconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS conv-autoconfig.h" ;;
++ "config-cleanup") CONFIG_COMMANDS="$CONFIG_COMMANDS config-cleanup" ;;
+ "libs/ck-libs/ampi/ampiCC") CONFIG_FILES="$CONFIG_FILES libs/ck-libs/ampi/ampiCC" ;;
+ "libs/ck-libs/ampi/ampirun") CONFIG_FILES="$CONFIG_FILES libs/ck-libs/ampi/ampirun" ;;
+ "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
+@@ -5812,6 +5816,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
+
+
+ case $ac_file$ac_mode in
++ "config-cleanup":C) sed -i -e 's:^#define\s\+PACKAGE://&:' conv-autoconfig.h ;;
+ "default":C) chmod +x libs/ck-libs/ampi/ampiCC libs/ck-libs/ampi/ampirun
+ ;;
+
+diff --git a/src/scripts/configure.in b/src/scripts/configure.in
+index d1285ed..cad9a42 100644
+--- a/src/scripts/configure.in
++++ b/src/scripts/configure.in
+@@ -3,6 +3,9 @@ AC_INIT(./Makefile)
+
+ AC_CONFIG_HEADER(conv-autoconfig.h)
+
++AC_CONFIG_COMMANDS([config-cleanup],
++ [sed -i -e 's:^#define\s\+PACKAGE://&:' conv-autoconfig.h])
++
+ CHARMINC="."
+ test -r ./conv-config.sh && . ./conv-config.sh
+
+--
+1.8.1.5
+
diff --git a/sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch b/sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch
new file mode 100644
index 000000000000..a19a8dba1ff7
--- /dev/null
+++ b/sys-cluster/charm/files/charm-6.5.1-fix-navmenuGenerator.patch
@@ -0,0 +1,30 @@
+From 8b699f6c49df26b979da397b47c7dc7a099ed6b6 Mon Sep 17 00:00:00 2001
+From: Nicolas Bock <nicolasbock@gmail.com>
+Date: Sat, 28 Sep 2013 07:47:36 -0600
+Subject: [PATCH] Properly test for None return value in navmenuGenerator.py
+
+---
+ doc/navmenuGenerator.py | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/doc/navmenuGenerator.py b/doc/navmenuGenerator.py
+index c10afb5..5e5b97c 100755
+--- a/doc/navmenuGenerator.py
++++ b/doc/navmenuGenerator.py
+@@ -13,7 +13,12 @@ fileName = sys.argv[1];
+ soup = BeautifulSoup(open(fileName), "lxml")
+
+ # Get just the table of contents from the index page
+-toc = soup.find("ul","ChildLinks").extract()
++toc = soup.find("ul","ChildLinks")
++
++if toc == None:
++ sys.exit(0)
++
++toc = toc.extract()
+
+ # Retain only part and chapter titles
+ for sctn in toc.select("li > ul > li > ul"):
+--
+1.8.1.5
+
diff --git a/sys-cluster/charm/files/charm-6.5.1-fix-string-parsing.patch b/sys-cluster/charm/files/charm-6.5.1-fix-string-parsing.patch
new file mode 100644
index 000000000000..1cc6b432c3d4
--- /dev/null
+++ b/sys-cluster/charm/files/charm-6.5.1-fix-string-parsing.patch
@@ -0,0 +1,50 @@
+From 14f407a5d183cdac7029cc54a9d8ae6b0cb5cbcd Mon Sep 17 00:00:00 2001
+From: Nicolas Bock <nicolasbock@gmail.com>
+Date: Fri, 27 Sep 2013 10:52:18 -0600
+Subject: [PATCH 3/4] charmrun.c: parsing of strings now parses "\n" into '\n'
+
+Since gdb lacks anything like ';' to separate several commands in one line,
+the commands need to be separated by a newline character. I have added some
+parsing logic so that the string "\n" will now be translated into the
+character '\n'.
+---
+ src/arch/net/charmrun/charmrun.c | 23 +++++++++++++++++++++--
+ 1 file changed, 21 insertions(+), 2 deletions(-)
+
+diff --git a/src/arch/net/charmrun/charmrun.c b/src/arch/net/charmrun/charmrun.c
+index 6837712..8818cf8 100644
+--- a/src/arch/net/charmrun/charmrun.c
++++ b/src/arch/net/charmrun/charmrun.c
+@@ -454,8 +454,27 @@ static int pparam_setdef(def, value)
+ if (*p) return -1;
+ return 0;
+ case 's' :
+- *def->where.s = strdup(value);
+- return 0;
++ {
++ /* Parse input string and convert a literal "\n" into '\n'. */
++ *def->where.s = (char*) calloc(strlen(value)+1, sizeof(char));
++ char* parsed_value = (char*) *def->where.s;
++ int i;
++ int j = 0;
++ for(i = 0; i < strlen(value); i++)
++ {
++ if(i+1 < strlen(value))
++ {
++ if(value[i] == '\\' && value[i+1] == 'n')
++ {
++ parsed_value[j++] = '\n';
++ i++;
++ continue;
++ }
++ }
++ parsed_value[j++] = value[i];
++ }
++ return 0;
++ }
+ case 'f' :
+ *def->where.f = strtol(value, &p, 10);
+ if (*p) return -1;
+--
+1.8.1.5
+
diff --git a/sys-cluster/charm/files/charm-charmc-gentoo.patch b/sys-cluster/charm/files/charm-charmc-gentoo.patch
deleted file mode 100644
index e5be49a1d068..000000000000
--- a/sys-cluster/charm/files/charm-charmc-gentoo.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-# adjust paths in charmc wrapper to point to the proper include
-# and libary directories
-
---- charm-5.9/src/scripts/charmc 2005-01-25 23:13:30.000000000 +0000
-+++ charm-5.9-patched/src/scripts/charmc 2005-09-26 00:52:57.000000000 +0000
-@@ -656,20 +656,9 @@
- PROG_EXT=".exe"
- fi
-
--CHARMLIB="$CHARMBIN/../lib"
--CHARMINC="$CHARMBIN/../include"
--CHARMLIBSO=
--if test -d "$CHARMBIN/../lib_so"
--then
-- CHARMLIBSO=`cd $CHARMBIN/../lib_so 2>/dev/null && pwd`
-- #getting absolute path is harder than thought because of symbolic links and ..
-- #ksh needs cd -P to resolve werid symbolic links, however -P is not portable
-- #csh is ok too if it exists
-- test -z "$CHARMLIBSO" && CHARMLIBSO=`cd -P $CHARMBIN/../lib_so 2>/dev/null && pwd`
-- test -z "$CHARMLIBSO" && CHARMLIBSO=`csh -c "cd $CHARMBIN/../lib_so >& /dev/null && pwd"`
-- test -z "$CHARMLIBSO" && echo "$CHARMBIN/../lib_so: not found" && exit 1
--fi
--
-+CHARMLIB="/usr/lib"
-+CHARMINC="/usr/include/gentoo-include"
-+CHARMLIBSO="/usr/lib"
-
-
- ##############################################################################
diff --git a/sys-cluster/charm/files/charm-doc-makefile-gentoo.patch b/sys-cluster/charm/files/charm-doc-makefile-gentoo.patch
deleted file mode 100644
index f18497ab30cd..000000000000
--- a/sys-cluster/charm/files/charm-doc-makefile-gentoo.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-# patch to properly build the docs as pdf and html
-
---- charm-5.9/doc/Makefile 2004-10-14 06:12:10.000000000 +0000
-+++ charm-5.9-patched/doc/Makefile 2005-09-24 22:55:53.000000000 +0000
-@@ -1,4 +1,4 @@
--IDIR=../../doc
-+IDIR=./doc
- LNCMD=test ! -f pplmanual.sty && ln -f -s ../pplmanual.sty .
- RMCMD=rm -f ./pplmanual.sty
- DIRS=install converse convext charm++ libraries f90charm pose \
---- charm-5.9/doc/Makefile.common 2005-04-19 17:21:52.000000000 +0000
-+++ charm-5.9-patched/doc/Makefile.common 2005-09-24 22:56:30.000000000 +0000
-@@ -10,7 +10,7 @@
- # (optional) PROJECT_LINK: HTML to include at bottom of page
-
- # Destination directory for local copy of files (e.g., on user machine)
--DOCDIR=..
-+DOCDIR=../doc
-
- # Destination directory for web-accessible copy of files (e.g., on PPL machines)
- WEBDIR=/www/ppl_manuals
-@@ -71,12 +71,10 @@
- -rm -fr index.tex $(FIG_CLEAN)
-
- # Build local copy of documentation:
--doc: all
-+doc: pdf html
- if [ ! -d $(DOCDIR) ] ; then mkdir $(DOCDIR) ; fi
-- if [ ! -d $(DOCDIR)/ps ] ; then mkdir $(DOCDIR)/ps ; fi
- if [ ! -d $(DOCDIR)/pdf ] ; then mkdir $(DOCDIR)/pdf ; fi
- if [ ! -d $(DOCDIR)/html ] ; then mkdir $(DOCDIR)/html ; fi
-- /bin/cp $(FILE).ps $(DOCDIR)/ps/$(DEST).ps
- /bin/cp $(FILE).pdf $(DOCDIR)/pdf/$(DEST).pdf
- /bin/rm -rf $(DOCDIR)/html/$(DEST)
- /bin/cp -R $(FILE) $(DOCDIR)/html/$(DEST)
diff --git a/sys-cluster/charm/files/charm-examples-gentoo.patch b/sys-cluster/charm/files/charm-examples-gentoo.patch
deleted file mode 100644
index ef8089f161fe..000000000000
--- a/sys-cluster/charm/files/charm-examples-gentoo.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-diff -Naur charm-5.9/examples/pose/ASIM/Makefile charm-5.9-backup/examples/pose/ASIM/Makefile
---- charm-5.9/examples/pose/ASIM/Makefile 2004-10-22 04:38:26.000000000 +0000
-+++ charm-5.9-backup/examples/pose/ASIM/Makefile 2005-09-27 03:27:08.000000000 +0000
-@@ -12,8 +12,8 @@
- OPTS=-O#-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
-
- CHARMBASE=../../..
--CHARMBIN=$(CHARMBASE)/bin
--CHARMINC=$(CHARMBASE)/include
-+CHARMBIN=/usr/bin
-+CHARMINC=/usr/include/charm-5.9
-
- CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS)
-
-diff -Naur charm-5.9/examples/pose/BigNetSim/Makefile charm-5.9-backup/examples/pose/BigNetSim/Makefile
---- charm-5.9/examples/pose/BigNetSim/Makefile 2004-10-17 22:48:10.000000000 +0000
-+++ charm-5.9-backup/examples/pose/BigNetSim/Makefile 2005-09-27 03:27:08.000000000 +0000
-@@ -16,8 +16,8 @@
-
- CHARMBASE=../../../
- #CHARMBASE=/expand8/home/gzheng/old/charm-6-8/net-linux/
--CHARMBIN=$(CHARMBASE)/bin
--CHARMINC=$(CHARMBASE)/include
-+CHARMBIN=/usr/bin
-+CHARMINC=/usr/include/charm-5.9
-
- ifeq ($(SEQUENTIAL),1)
- CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS) -DSEQUENTIAL_POSE=1
-diff -Naur charm-5.9/examples/pose/ChunkSim/Makefile charm-5.9-backup/examples/pose/ChunkSim/Makefile
---- charm-5.9/examples/pose/ChunkSim/Makefile 2004-10-12 17:12:26.000000000 +0000
-+++ charm-5.9-backup/examples/pose/ChunkSim/Makefile 2005-09-27 03:27:08.000000000 +0000
-@@ -12,8 +12,8 @@
- OPTS=-O#-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
-
- CHARMBASE=../../../
--CHARMBIN=$(CHARMBASE)/bin
--CHARMINC=$(CHARMBASE)/include
-+CHARMBIN=/usr/bin
-+CHARMINC=/usr/include/charm-5.9
-
- CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS)
-
-@@ -109,4 +109,4 @@
- $(CHARMBIN)/etrans.pl Worker
-
- test:
-- ./pgm 1000 10 1 RANDOM SPARSE 50 -gf 344
-\ No newline at end of file
-+ ./pgm 1000 10 1 RANDOM SPARSE 50 -gf 344
-diff -Naur charm-5.9/examples/pose/HiSim/Makefile.common charm-5.9-backup/examples/pose/HiSim/Makefile.common
---- charm-5.9/examples/pose/HiSim/Makefile.common 2004-11-02 07:29:40.000000000 +0000
-+++ charm-5.9-backup/examples/pose/HiSim/Makefile.common 2005-09-27 03:27:08.000000000 +0000
-@@ -1,8 +1,8 @@
-
- CHARMBASE=../../../../
- #CHARMBASE=/expand8/home/gzheng/tmp/pose/charm/net-linux
--CHARMBIN=$(CHARMBASE)/bin
--CHARMINC=$(CHARMBASE)/include
-+CHARMBIN=/usr/bin
-+CHARMINC=/usr/include/charm-5.9
- ETRANS=$(CHARMBIN)/etrans.pl
- OPTS=-g
-
-diff -Naur charm-5.9/examples/pose/LBSim/Makefile charm-5.9-backup/examples/pose/LBSim/Makefile
---- charm-5.9/examples/pose/LBSim/Makefile 2004-11-04 04:30:45.000000000 +0000
-+++ charm-5.9-backup/examples/pose/LBSim/Makefile 2005-09-27 03:27:08.000000000 +0000
-@@ -12,8 +12,8 @@
- OPTS=-O#-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
-
- CHARMBASE=../../../
--CHARMBIN=$(CHARMBASE)/bin
--CHARMINC=$(CHARMBASE)/include
-+CHARMBIN=/usr/bin
-+CHARMINC=/usr/include/charm-5.9
-
- CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS)
-
-diff -Naur charm-5.9/examples/pose/Ring/Makefile charm-5.9-backup/examples/pose/Ring/Makefile
---- charm-5.9/examples/pose/Ring/Makefile 2005-02-08 18:58:05.000000000 +0000
-+++ charm-5.9-backup/examples/pose/Ring/Makefile 2005-09-27 03:27:08.000000000 +0000
-@@ -12,8 +12,8 @@
- OPTS=-O#-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
-
- CHARMBASE=../../..
--CHARMBIN=$(CHARMBASE)/bin
--CHARMINC=$(CHARMBASE)/include
-+CHARMBIN=/usr/bin/
-+CHARMINC=/usr/include/charm-5.9
-
- CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS)
-
-diff -Naur charm-5.9/examples/pose/SimBenchmark/Makefile charm-5.9-backup/examples/pose/SimBenchmark/Makefile
---- charm-5.9/examples/pose/SimBenchmark/Makefile 2005-03-17 22:31:41.000000000 +0000
-+++ charm-5.9-backup/examples/pose/SimBenchmark/Makefile 2005-09-27 03:27:08.000000000 +0000
-@@ -12,8 +12,8 @@
- OPTS=-O#-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
-
- CHARMBASE=../../..
--CHARMBIN=$(CHARMBASE)/bin
--CHARMINC=$(CHARMBASE)/include
-+CHARMBIN=/usr/bin
-+CHARMINC=/usr/include/charm-5.9
-
- CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS)
-
diff --git a/sys-cluster/charm/files/charm-fpic-gentoo.patch b/sys-cluster/charm/files/charm-fpic-gentoo.patch
deleted file mode 100644
index e70874de9daa..000000000000
--- a/sys-cluster/charm/files/charm-fpic-gentoo.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-# compile with -fPIC to avoid TEXTRELs
-
---- charm-5.9/src/arch/net-linux/conv-mach.sh 2005-04-22 01:14:55.000000000 +0000
-+++ charm-5.9-backup/src/arch/net-linux/conv-mach.sh 2005-09-27 18:07:10.000000000 +0000
-@@ -1,8 +1,8 @@
- CMK_CPP_CHARM="/lib/cpp -P"
- CMK_CPP_C="gcc -E"
--CMK_CC="gcc "
--CMK_CXX="g++ "
--CMK_CXXPP="$CMK_CXX -x c++ -E "
-+CMK_CC="gcc -fPIC"
-+CMK_CXX="g++ -fPIC -Wno-deprecated"
-+CMK_CXXPP="$CMK_CXX -E "
- CMK_CF77="g77 "
- CMK_CF90="f90 "
- CMK_CF90_FIXED="$CMK_CF90 -W132 "
-@@ -10,12 +10,12 @@
- CMK_LIBS="-lckqt"
- #CMK_LD="$CMK_CC -Wl,--allow-multiple-definition "
- #CMK_LDXX="$CMK_CXX -Wl,--allow-multiple-definition "
--CMK_LD="$CMK_CC "
--CMK_LDXX="$CMK_CXX "
-+CMK_LD="gcc "
-+CMK_LDXX="g++ "
- CMK_LD_SHARED="-shared"
- CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
- CMK_XIOPTS=""
--CMK_F90LIBS="-L/usr/absoft/lib -L/opt/absoft/lib -lf90math -lfio -lU77 -lf77math "
-+CMK_F90LIBS=""
- CMK_F77LIBS="-lg2c "
- CMK_MOD_NAME_ALLCAPS=1
- CMK_MOD_EXT="mod"
diff --git a/sys-cluster/charm/files/charm-python-configure-gentoo.patch b/sys-cluster/charm/files/charm-python-configure-gentoo.patch
deleted file mode 100644
index 6e98642aafe1..000000000000
--- a/sys-cluster/charm/files/charm-python-configure-gentoo.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-# include proper python headers
-
---- charm-5.9/src/scripts/configure 2005-06-01 03:46:06.000000000 +0000
-+++ charm-5.9-backup/src/scripts/configure 2005-09-27 14:28:48.000000000 +0000
-@@ -1970,11 +1970,12 @@
- fi
-
- #### test if Python headers are installed ####
-+PYTHON_VERSION=`python -V 2>&1 | awk {'print $2'} | awk -F. {'print $1"."$2'}`
- cat > $t <<EOT
--#include "python/Python.h"
--#include "python/compile.h"
--#include "python/eval.h"
--#include "python/node.h"
-+#include "python${PYTHON_VERSION}/Python.h"
-+#include "python${PYTHON_VERSION}/compile.h"
-+#include "python${PYTHON_VERSION}/eval.h"
-+#include "python${PYTHON_VERSION}/node.h"
-
- int main() {
- Py_Initialize();
-@@ -1983,7 +1984,6 @@
- PyCodeObject *program = PyNode_Compile(programNode, "");
- }
- EOT
--PYTHON_VERSION=`python -V 2>&1 | awk {'print $2'} | awk -F. {'print $1"."$2'}`
- test_link "whether Python is installed" "yes" "no" "-lpython$PYTHON_VERSION -lpthread -lutil -ldl"
-
- cat >>confdefs.h <<_ACEOF