forked from cms-sw/cmsdist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cms-sw#79 from davidlt/IB/CMSSW_6_2_X/stable
[IB/CMSSW_6_2_X/stable] DAS, ICC, GDB, GIT, LHAPDF, NCURSES
- Loading branch information
Showing
13 changed files
with
207 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
### RPM cms das-client 1.9.5 | ||
### RPM cms das-client 1.11.7 | ||
## INITENV +PATH PYTHONPATH %i/bin/ | ||
## NOCOMPILER | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
diff --git a/Makefile b/Makefile | ||
index 0f931a2..db0d69e 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -1705,8 +1705,6 @@ version.sp version.s version.o: EXTRA_CPPFLAGS = \ | ||
|
||
$(BUILT_INS): git$X | ||
$(QUIET_BUILT_IN)$(RM) $@ && \ | ||
- ln git$X $@ 2>/dev/null || \ | ||
- ln -s git$X $@ 2>/dev/null || \ | ||
cp git$X $@ | ||
|
||
common-cmds.h: ./generate-cmdlist.sh command-list.txt | ||
@@ -2026,8 +2024,6 @@ git-remote-testsvn$X: remote-testsvn.o GIT-LDFLAGS $(GITLIBS) $(VCSSVN_LIB) | ||
|
||
$(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY) | ||
$(QUIET_LNCP)$(RM) $@ && \ | ||
- ln $< $@ 2>/dev/null || \ | ||
- ln -s $< $@ 2>/dev/null || \ | ||
cp $< $@ | ||
|
||
$(REMOTE_CURL_PRIMARY): remote-curl.o http.o http-walker.o GIT-LDFLAGS $(GITLIBS) | ||
@@ -2326,30 +2322,23 @@ endif | ||
for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \ | ||
$(RM) "$$execdir/$$p" && \ | ||
test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \ | ||
- ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \ | ||
cp "$$bindir/$$p" "$$execdir/$$p" || exit; \ | ||
done; \ | ||
} && \ | ||
for p in $(filter $(install_bindir_programs),$(BUILT_INS)); do \ | ||
$(RM) "$$bindir/$$p" && \ | ||
test -z "$(NO_INSTALL_HARDLINKS)" && \ | ||
- ln "$$bindir/git$X" "$$bindir/$$p" 2>/dev/null || \ | ||
- ln -s "git$X" "$$bindir/$$p" 2>/dev/null || \ | ||
cp "$$bindir/git$X" "$$bindir/$$p" || exit; \ | ||
done && \ | ||
for p in $(BUILT_INS); do \ | ||
$(RM) "$$execdir/$$p" && \ | ||
test -z "$(NO_INSTALL_HARDLINKS)" && \ | ||
- ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \ | ||
- ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \ | ||
cp "$$execdir/git$X" "$$execdir/$$p" || exit; \ | ||
done && \ | ||
remote_curl_aliases="$(REMOTE_CURL_ALIASES)" && \ | ||
for p in $$remote_curl_aliases; do \ | ||
$(RM) "$$execdir/$$p" && \ | ||
test -z "$(NO_INSTALL_HARDLINKS)" && \ | ||
- ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \ | ||
- ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \ | ||
cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; \ | ||
done && \ | ||
./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
### RPM external git-toolfile 1.0 | ||
Requires: git | ||
%prep | ||
|
||
%build | ||
|
||
%install | ||
|
||
mkdir -p %{i}/etc/scram.d | ||
cat << \EOF_TOOLFILE >%{i}/etc/scram.d/git.xml | ||
<tool name="git" version="@TOOL_VERSION@"> | ||
<info url="http://git-scm.com"/> | ||
<client> | ||
<environment name="GIT_BASE" default="@TOOL_ROOT@"/> | ||
</client> | ||
<runtime name="PATH" value="$GIT_BASE/bin" type="path"/> | ||
<runtime name="PATH" value="$GIT_BASE/libexec/git-core" type="path"/> | ||
<runtime name="GIT_TEMPLATE_DIR" value="$GIT_BASE/share/git-core/templates" type="path"/> | ||
</tool> | ||
EOF_TOOLFILE | ||
|
||
## IMPORT scram-tools-post |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
### RPM external git 1.8.3.1 | ||
|
||
%define isDarwin %(case %{cmsos} in (osx*) echo 1 ;; (*) echo 0 ;; esac) | ||
|
||
Source: https://github.com/git/git/archive/v%{realversion}.tar.gz | ||
Patch1: git-1.8.3.1-no-symlink | ||
|
||
Requires: curl expat openssl zlib pcre | ||
|
||
%prep | ||
%setup -n %{n}-%{realversion} | ||
%patch1 -p1 | ||
|
||
%build | ||
make prefix=%{i} \ | ||
%if %isDarwin | ||
NO_DARWIN_PORTS=1 \ | ||
NO_FINK=1 \ | ||
%endif | ||
CURLDIR="${CURL_ROOT}" \ | ||
OPENSSLDIR="${OPENSSL_ROOT}" \ | ||
EXPATDIR="${EXPAT_ROOT}" \ | ||
ZLIB_PATH="${ZLIB_ROOT}" \ | ||
USE_LIBPCRE=1 \ | ||
NO_GETTEXT=1 \ | ||
NO_R_TO_GCC_LINKER=1 \ | ||
LIBPCREDIR="${PCRE_ROOT}" \ | ||
NO_PYTHON=1 \ | ||
NO_PERL=1 \ | ||
V=1 \ | ||
%{makeprocesses} \ | ||
all | ||
|
||
%install | ||
make prefix=%{i} \ | ||
%if %isDarwin | ||
NO_DARWIN_PORTS=1 \ | ||
NO_FINK=1 \ | ||
%endif | ||
CURLDIR="${CURL_ROOT}" \ | ||
OPENSSLDIR="${OPENSSL_ROOT}" \ | ||
EXPATDIR="${EXPAT_ROOT}" \ | ||
ZLIB_PATH="${ZLIB_ROOT}" \ | ||
USE_LIBPCRE=1 \ | ||
NO_GETTEXT=1 \ | ||
NO_R_TO_GCC_LINKER=1 \ | ||
LIBPCREDIR="${PCRE_ROOT}" \ | ||
NO_PYTHON=1 \ | ||
NO_PERL=1 \ | ||
V=1 \ | ||
%{makeprocesses} \ | ||
install | ||
|
||
%post | ||
%{relocateConfig}libexec/git-core/git-sh-i18n | ||
%{relocateConfig}libexec/git-core/git-citool | ||
%{relocateConfig}libexec/git-core/git-gui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From b54356e5cd8e17b8848ae6ce9f7b27145d5059d2 Mon Sep 17 00:00:00 2001 | ||
From: Philippe Canal <[email protected]> | ||
Date: Thu, 6 Jun 2013 15:17:32 -0500 | ||
Subject: [PATCH] Fix spurrious (fatal) removal of duplicate part of branch | ||
names. | ||
|
||
Since v5-34-06 (specifically commit b454e81), a TTree fails to save | ||
the content of a branch that is part of a split STL collection and | ||
whose name (of the data member) match some other component of the | ||
branch name (and the two must be separted my at least one level). | ||
|
||
For example out.OBJ.vec.OBJect | ||
or TH1DMEtoEDM_MEtoEDMConverter_MEtoEDMConverterRun_TEST.obj.MEtoEdmObject.object. | ||
|
||
When reading the file back in v5-34-06, 07 or 08, this will result | ||
in the data not being written and the missing data not being noticed in any way | ||
by the I/O .. but of course, it is not being read. | ||
|
||
When reading the file back with v5-34-05 or below, this can result | ||
in error messages like: | ||
|
||
Error in <TBufferFile::ReadVersion>: Could not find the StreamerInfo with a checksum of 0x20000 for the class "TH1F" in output.root. | ||
--- | ||
tree/tree/src/TBranchElement.cxx | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/tree/tree/src/TBranchElement.cxx b/tree/tree/src/TBranchElement.cxx | ||
index 286238d..0277a30 100644 | ||
--- a/tree/tree/src/TBranchElement.cxx | ||
+++ b/tree/tree/src/TBranchElement.cxx | ||
@@ -3008,7 +3008,8 @@ void TBranchElement::InitializeOffsets() | ||
//----------------------------------------------------------------- | ||
if( stlParentName.Length() ) | ||
{ | ||
- if( !strncmp( stlParentName.Data(), dataName.Data(), stlParentName.Length()-1 )) | ||
+ if( !strncmp( stlParentName.Data(), dataName.Data(), stlParentName.Length()-1 ) | ||
+ && dataName[ stlParentName.Length() ] == '.' ) | ||
dataName.Remove( 0, stlParentName.Length()+1 ); | ||
} | ||
|
||
-- | ||
1.8.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters