diff options
| author | Johannes Huber <johu@gentoo.org> | 2014-07-27 12:23:55 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2014-07-27 12:23:55 +0200 |
| commit | 3b0721973def80758010c73f486239fe16eded80 (patch) | |
| tree | bd54f8bede7fdb3c1ccc4eaee3a0fbca53314bfe /dev-util/cmake/files/cmake-2.6.3-no-duplicates-in-rpath.patch | |
| parent | 9cd01fff732f0ca35f2621707481f56f53a1ef10 (diff) | |
| download | kde-3b0721973def80758010c73f486239fe16eded80.tar.gz kde-3b0721973def80758010c73f486239fe16eded80.tar.bz2 kde-3b0721973def80758010c73f486239fe16eded80.zip | |
[dev-util/cmake] Moved to tree
Package-Manager: portage-2.2.10
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(); |
