mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
clazy, bump to 1.16 (#12916)
This commit is contained in:
@@ -7,8 +7,9 @@ HOMEPAGE="https://www.kdab.com"
|
||||
COPYRIGHT="2016-2025 Sérgio Martins"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/clazy/$portVersion/src/clazy-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="43189460b366ea3126242878c36ee8a403e37ec4baef7e61ccfa124b1414e7a9"
|
||||
SOURCE_URI="https://download.kde.org/stable/clazy/$portVersion/src/clazy-v$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="0fa9e9ce54969edfb2c831815b724be9ab89c41ac3a40c0033c558173c4c302b"
|
||||
SOURCE_DIR="clazy-v$portVersion"
|
||||
PATCHES="clazy-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -29,6 +30,7 @@ PROVIDES="
|
||||
cmd:clazy$commandSuffix = $portVersion
|
||||
cmd:clazy_standalone$commandSuffix = $portVersion
|
||||
lib:ClazyPlugin$secondaryArchSuffix = $portVersion
|
||||
lib:ClazyClangTidy$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -1,14 +1,14 @@
|
||||
From d17ea14fe8503ef53cd8a965128a0f831fe09237 Mon Sep 17 00:00:00 2001
|
||||
From 9bc2e95ffba6c76eac65118fe8790968acb109b8 Mon Sep 17 00:00:00 2001
|
||||
From: Schrijvers Luc <begasus@gmail.com>
|
||||
Date: Sat, 6 Jul 2024 11:45:30 +0200
|
||||
Subject: Silense deprecated warnings
|
||||
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index d3bf9ad..6453a69 100644
|
||||
index 9640b2d..1d77ca9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -65,7 +65,7 @@ if(MSVC)
|
||||
@@ -71,7 +71,7 @@ if(MSVC)
|
||||
# disable trigger-happy warnings from Clang/LLVM headers
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4267 /wd4244 /wd4291 /wd4800 /wd4141 /wd4146 /wd4251")
|
||||
elseif(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
@@ -18,28 +18,5 @@ index d3bf9ad..6453a69 100644
|
||||
|
||||
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
|
||||
--
|
||||
2.48.1
|
||||
|
||||
|
||||
From 98215646d8e2c6b2326a8543da4ba4c954bf6775 Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Mon, 16 Jun 2025 10:34:25 +0200
|
||||
Subject: Add missing header
|
||||
|
||||
Fixes: error: 'Lexer' is not a member of 'clang'
|
||||
|
||||
diff --git a/src/SuppressionManager.cpp b/src/SuppressionManager.cpp
|
||||
index 112025e..b94f1aa 100644
|
||||
--- a/src/SuppressionManager.cpp
|
||||
+++ b/src/SuppressionManager.cpp
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <clang/Basic/SourceLocation.h>
|
||||
#include <clang/Basic/SourceManager.h>
|
||||
#include <clang/Basic/TokenKinds.h>
|
||||
+#include <clang/Lex/Lexer.h>
|
||||
#include <clang/Lex/Token.h>
|
||||
#include <llvm/Support/MemoryBuffer.h>
|
||||
#include <llvm/Support/raw_ostream.h>
|
||||
--
|
||||
2.48.1
|
||||
2.50.1
|
||||
|
||||
Reference in New Issue
Block a user