try fix issues when being dep
This commit is contained in:
parent
6677d654a2
commit
7b4b71a79b
12
findtqt-name-fix.patch
Normal file
12
findtqt-name-fix.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Naur orig/modules/FindTQt.cmake tde-cmake-trinity-14.1.3/modules/FindTQt.cmake
|
||||
--- orig/modules/FindTQt.cmake 2024-10-15 00:00:02.000000000 +0800
|
||||
+++ tde-cmake-trinity-14.1.3/modules/FindTQt.cmake 2025-04-08 14:23:21.174115911 +0800
|
||||
@@ -88,7 +88,7 @@
|
||||
list( APPEND CMAKE_REQUIRED_LIBRARIES ${TQT_LIBRARIES} )
|
||||
|
||||
check_cxx_source_compiles("
|
||||
- #include <tqapplication.h>
|
||||
+ #include <ntqapplication.h>
|
||||
int main(int argc, char **argv) { TQApplication app(argc, argv); return 0; } "
|
||||
HAVE_USABLE_TQT )
|
||||
|
||||
@ -6,7 +6,7 @@ Summary:CMake templates and modules used by TDE
|
||||
License:GPL-2.0-only
|
||||
URL:http://www.trinitydesktop.org
|
||||
Source0:https://mirror.ppa.trinitydesktop.org/trinity/releases/R%{version}/main/dependencies/%{name}-%{version}.tar.xz
|
||||
|
||||
Patch0: findtqt-name-fix.patch
|
||||
BuildRequires:cmake
|
||||
BuildRequires:gcc-c++
|
||||
Requires:cmake
|
||||
@ -17,7 +17,6 @@ CMake templates and modules used by TDE
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user