summaryrefslogtreecommitdiff
path: root/sci-astronomy/stellarium/files
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/stellarium/files')
-rw-r--r--sci-astronomy/stellarium/files/stellarium-1.1-qxlsx.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-astronomy/stellarium/files/stellarium-1.1-qxlsx.patch b/sci-astronomy/stellarium/files/stellarium-1.1-qxlsx.patch
new file mode 100644
index 000000000000..f3e4c9c38ab7
--- /dev/null
+++ b/sci-astronomy/stellarium/files/stellarium-1.1-qxlsx.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -815,7 +815,7 @@ IF(ENABLE_XLSX)
+ # TODO: switch to something like vcpkg or conan, and plain find_package,
+ # without the fallback of cmake downloading the dep itself.
+ # But some libraries are not available there yet.
+- CPMFindPackage(NAME QXlsx
++ CPMFindPackage(NAME QXlsxQt${QT_VERSION_MAJOR}
+ URL https://github.com/QtExcel/QXlsx/archive/refs/tags/v1.4.4.zip
+ URL_HASH SHA256=3efbd6f63a1ffd521c535dce7b5a5a7e9ebd23db51e6ae8e3e2eb89796e57675
+ DOWNLOAD_ONLY yes