diff options
author | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2013-03-19 12:37:00 +0100 |
---|---|---|
committer | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2013-03-19 12:37:00 +0100 |
commit | 7573e95cecb3c3ca2cc8aad2d1150d1f1802a49d (patch) | |
tree | 6b39e6233e7f2f724bb6f2f69f2cba71b28b4422 /dev-lang/berkeley_upc_translator/files | |
parent | Update patches (diff) | |
download | sci-7573e95cecb3c3ca2cc8aad2d1150d1f1802a49d.tar.gz sci-7573e95cecb3c3ca2cc8aad2d1150d1f1802a49d.tar.bz2 sci-7573e95cecb3c3ca2cc8aad2d1150d1f1802a49d.zip |
dev-lang/berkeley_upc_translator: new ebuild for bug#462296, thanks to Paul H. Hargrove
Diffstat (limited to 'dev-lang/berkeley_upc_translator/files')
-rw-r--r-- | dev-lang/berkeley_upc_translator/files/berkeley_upc_translator-2.16.0-stackoverflow.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-lang/berkeley_upc_translator/files/berkeley_upc_translator-2.16.0-stackoverflow.patch b/dev-lang/berkeley_upc_translator/files/berkeley_upc_translator-2.16.0-stackoverflow.patch new file mode 100644 index 000000000..44c6a8e78 --- /dev/null +++ b/dev-lang/berkeley_upc_translator/files/berkeley_upc_translator-2.16.0-stackoverflow.patch @@ -0,0 +1,18 @@ +Author: Paul H. Hargrove +See https://upc-bugs.lbl.gov/bugzilla/show_bug.cgi?id=3141 +--- open64/osprey1.0/gccfe/tree_symtab.h ++++ open64/osprey1.0/gccfe/tree_symtab.h +@@ -45,7 +45,12 @@ + #include <set> + #include <upc_symtab_utils.h> + +-#define MAX_PATH 500 ++#include <limits> ++#ifdef PATH_MAX ++ #define MAX_PATH PATH_MAX ++#else ++ #define MAX_PATH 4096 ++#endif + + extern int Scope_level; + extern int For_scope; |