Ticket #45265: root.diff
File root.diff, 3.7 KB (added by cjones051073 (Chris Jones), 10 years ago) |
---|
-
Portfile
9 9 PortGroup github 1.0 10 10 PortGroup select 1.0 11 11 12 # don't forget to update both the git tag and the version 13 #github.setup root-mirror root 6-02-00 v 14 # tag below is 6.02/00 + a small fix for the GNU install option ... 15 github.setup root-mirror root 058aa8d4949b392da69ff496cfa9ac87fbec47e2 16 version 6.02.00 12 17 13 # don't forget to update both the git tag and the version14 github.setup root-mirror root 6-00-02 v15 version 6.00.0216 revision 217 18 # this could be a better way to set the version (unless we use a sha sum for the git tag ;) 18 19 # version [string map {- .} $version] 19 20 set version_major [lindex [split ${version} .] 0] 20 checksums rmd160 5efc28e5d68aaa4274d869c809c4d052d6011fe4 \21 sha256 6e6fa7fbe0fe72828a6a65f758af9e1fcb04b66dec7fae79ecbe06e81692b21822 21 22 checksums rmd160 900448b5e8ef39d763bee11224e7f40aa564a7f7 \ 23 sha256 63dd1b0ca3c511ffa9da2433ed085df3b12d1d5f48eb91da3709fe5a3cd56910 24 23 25 name root${version_major} 24 26 categories science 25 27 maintainers hep.phy.cam.ac.uk:jonesc mojca … … 60 62 select.group root 61 63 select.file ${filespath}/${name} 62 64 63 patchfiles patch-cmake-modules-SearchInstalledSoftware.cmake.diff64 65 65 # Force a compatible compiler 66 66 compiler.blacklist-append *gcc* {clang < 500} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2 67 67 compiler.fallback-append macports-clang-3.4 macports-clang-3.5 … … 160 160 } 161 161 162 162 post-destroot { 163 # Work around for bug in 6.02.00 that incorrectly installs some 'build' files ... 164 # Hopefully fixed in a future release, so this can be removed... 165 set dirToRemove ${destroot}${prefix}/var/macports/build 166 if { [ file exists ${dirToRemove} ] } { delete ${dirToRemove} } 163 167 # create versioned symlinks for the content of libexec 164 168 # bin dir 165 169 foreach f [glob -directory ${destroot}${install_prefix}/bin *] { … … 567 571 # Note that g95 does not work here, so that variant is removed 568 572 # ======================================================================================== 569 573 570 set gcc_versions { 4.7 4.8 4.9 }574 set gcc_versions { 4.7 4.8 4.9 4.10 } 571 575 set default_fortran_variant +gcc48 572 576 573 577 foreach gcc_ver ${gcc_versions} { -
files/patch-montecarlo-vmc-inc-TMCtls.h.diff
1 https://sft.its.cern.ch/jira/browse/ROOT-6394 2 3 --- montecarlo/vmc/inc/TMCtls.h.orig 4 +++ montecarlo/vmc/inc/TMCtls.h 5 @@ -49,8 +49,8 @@ 6 ( defined(__MACH__) && defined(__GNUC__) && __GNUC__>=4 && __GNUC_MINOR__>=7 ) || \ 7 defined(__linux__) || defined(_AIX) ) && ( !defined(__CINT__) ) 8 // Multi-threaded build: for POSIX systems 1 --- ./montecarlo/vmc/inc/TMCtls.h.orig 2014-10-03 11:59:47.000000000 +0100 2 +++ ./montecarlo/vmc/inc/TMCtls.h 2014-10-03 12:00:24.000000000 +0100 3 @@ -52,8 +52,8 @@ 4 */ 5 #if ( defined(__linux__) ) && ( !defined(__CINT__) ) 6 // Multi-threaded build: for POSIX systems 9 7 - #include <pthread.h> 10 8 - #define TMCThreadLocal __thread 11 + //#include <pthread.h>9 + //#include <pthread.h> 12 10 + #define TMCThreadLocal 13 11 #else 14 12 //# error "No Thread Local Storage (TLS) technology supported for this platform. Use sequential build !" 15 #define TMCThreadLocal 13 #define TMCThreadLocal