From 732b427cc6075a8a6b785c90fd0d0f1e092fcb94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Tue, 8 Apr 2025 09:10:50 +0700
Subject: [PATCH] extra-cmake-modules: drop .orig files

---
 srcpkgs/extra-cmake-modules/patches/cross.patch      | 4 +---
 srcpkgs/extra-cmake-modules/patches/libexecdir.patch | 2 +-
 srcpkgs/extra-cmake-modules/template                 | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/extra-cmake-modules/patches/cross.patch b/srcpkgs/extra-cmake-modules/patches/cross.patch
index 26b24a3aa7c..4b0ee42c48a 100644
--- a/srcpkgs/extra-cmake-modules/patches/cross.patch
+++ b/srcpkgs/extra-cmake-modules/patches/cross.patch
@@ -1,8 +1,6 @@
-diff --git a/modules/ECMQueryQt.cmake b/modules/ECMQueryQt.cmake
-index 89e7d4f..798a561 100644
 --- a/modules/ECMQueryQt.cmake
 +++ b/modules/ECMQueryQt.cmake
-@@ -57,7 +57,7 @@ if (QT_MAJOR_VERSION STREQUAL "5")
+@@ -56,7 +56,7 @@ if (QT_MAJOR_VERSION STREQUAL "5")
      endif()
  elseif(QT_MAJOR_VERSION STREQUAL "6")
      # QUIET to accommodate the TRY option
diff --git a/srcpkgs/extra-cmake-modules/patches/libexecdir.patch b/srcpkgs/extra-cmake-modules/patches/libexecdir.patch
index 51d77470a1e..13c29b5db5b 100644
--- a/srcpkgs/extra-cmake-modules/patches/libexecdir.patch
+++ b/srcpkgs/extra-cmake-modules/patches/libexecdir.patch
@@ -11,7 +11,7 @@
      [``CMAKECONFIG_INSTALL_PREFIX``]
 --- a/kde-modules/KDEInstallDirs6.cmake
 +++ b/kde-modules/KDEInstallDirs6.cmake
-@@ -46,7 +46,7 @@ where ``<dir>`` is one of (default value
+@@ -43,7 +43,7 @@ where ``<dir>`` is one of (default value
      ``EXECROOTDIR/lib/<multiarch-tuple`` on Debian)
  ``LIBEXECDIR``
      executables for internal use by programs and libraries (``BINDIR`` on
diff --git a/srcpkgs/extra-cmake-modules/template b/srcpkgs/extra-cmake-modules/template
index 1da8f7b77f0..8972ce24e60 100644
--- a/srcpkgs/extra-cmake-modules/template
+++ b/srcpkgs/extra-cmake-modules/template
@@ -1,7 +1,7 @@
 # Template file for 'extra-cmake-modules'
 pkgname=extra-cmake-modules
 version=6.12.0
-revision=1
+revision=2
 build_style=cmake
 configure_args="-DBUILD_HTML_DOCS=ON -DBUILD_TESTING=ON"
 hostmakedepends="python3-Sphinx qt6-base qt6-tools qt6-plugin-sqlite