diff options
| author | Michael Palimaka <kensington@gentoo.org> | 2012-11-19 00:42:05 +1100 |
|---|---|---|
| committer | Michael Palimaka <kensington@gentoo.org> | 2012-11-19 00:42:05 +1100 |
| commit | caa9549623d858b3f20615ccb94829d78f2856e9 (patch) | |
| tree | fc32002c1692eeb83094e8709ca4f1721e148faa /dev-util/cmake/files/cmake-2.6.3-no-duplicates-in-rpath.patch | |
| parent | 3f0bd2e1f04c69b533b8348083a633f1f3e9e4ea (diff) | |
| download | kde-caa9549623d858b3f20615ccb94829d78f2856e9.tar.gz kde-caa9549623d858b3f20615ccb94829d78f2856e9.tar.bz2 kde-caa9549623d858b3f20615ccb94829d78f2856e9.zip | |
[dev-util/cmake] Moved to portage.
Diffstat (limited to 'dev-util/cmake/files/cmake-2.6.3-no-duplicates-in-rpath.patch')
| -rw-r--r-- | dev-util/cmake/files/cmake-2.6.3-no-duplicates-in-rpath.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-util/cmake/files/cmake-2.6.3-no-duplicates-in-rpath.patch b/dev-util/cmake/files/cmake-2.6.3-no-duplicates-in-rpath.patch deleted file mode 100644 index ceb205ff586..00000000000 --- a/dev-util/cmake/files/cmake-2.6.3-no-duplicates-in-rpath.patch +++ /dev/null @@ -1,19 +0,0 @@ -Patch by Heiko Przybyl - ---- Source/cmComputeLinkInformation.cxx -+++ Source/cmComputeLinkInformation.cxx -@@ -1686,6 +1686,14 @@ std::string cmComputeLinkInformation::Ge - for(std::vector<std::string>::const_iterator ri = runtimeDirs.begin(); - ri != runtimeDirs.end(); ++ri) - { -+ // Do not add duplicates. -+ // I'd like to have that check already in the list generation code -+ // but that would need lots of more changes, even in ExpandListArgument(). -+ if(*sep != '\0' && (rpath + sep).find(*ri + sep) != std::string::npos) -+ { -+ //std::cerr << "ignoring duplicate: '" << *ri << "' in '" << rpath << "'" << std::endl; -+ continue; -+ } - // Separate from previous path. - rpath += sep; - sep = this->GetRuntimeSep().c_str(); |
