public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/files/
Date: Sun, 26 Mar 2023 23:23:23 +0000 (UTC)	[thread overview]
Message-ID: <1679872989.2baa6d7fd846f14129d04312728744013acea492.sam@gentoo> (raw)

commit:     2baa6d7fd846f14129d04312728744013acea492
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 23:22:59 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 23:23:09 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2baa6d7f

dev-util/kdevelop: add missing patch

Bug: https://bugs.gentoo.org/902101
Fixes: 856936687150763b48e5d59e94d2f02761ceb593
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../kdevelop/files/kdevelop-22.12.3-clang16.patch  | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/dev-util/kdevelop/files/kdevelop-22.12.3-clang16.patch b/dev-util/kdevelop/files/kdevelop-22.12.3-clang16.patch
new file mode 100644
index 0000000000..38676cc164
--- /dev/null
+++ b/dev-util/kdevelop/files/kdevelop-22.12.3-clang16.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/902101
+--- a/cmake/modules/FindClang.cmake
++++ b/cmake/modules/FindClang.cmake
+@@ -97,6 +97,8 @@
+   # dito for git
+   string(REPLACE "git" "" CLANG_VERSION_CLEAN "${CLANG_VERSION}")
+ 
++  string(REGEX REPLACE "([.]0)+$" "" CLANG_VERSION_STRIPPED "${CLANG_VERSION}")
++  string(REGEX REPLACE "([.]0)+$" "" CLANG_VERSION_CLEAN_STRIPPED "${CLANG_VERSION_CLEAN}")
+   find_path(CLANG_BUILTIN_DIR
+             # cpuid.h because it is defined in ClangSupport constructor as valid clang builtin dir indicator
+             NAMES "cpuid.h"
+@@ -106,6 +108,10 @@
+                           "../../../clang/${CLANG_VERSION}/include"
+                           "clang/${CLANG_VERSION_CLEAN}/include"
+                           "../../../clang/${CLANG_VERSION_CLEAN}/include"
++                          "clang/${CLANG_VERSION_STRIPPED}/include"
++                          "../../../clang/${CLANG_VERSION_STRIPPED}/include"
++                          "clang/${CLANG_VERSION_CLEAN_STRIPPED}/include"
++                          "../../../clang/${CLANG_VERSION_CLEAN_STRIPPED}/include"
+             NO_DEFAULT_PATH
+   )
+ 
+


             reply	other threads:[~2023-03-26 23:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26 23:23 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-24 10:16 [gentoo-commits] proj/kde:master commit in: dev-util/kdevelop/files/ Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1679872989.2baa6d7fd846f14129d04312728744013acea492.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox