[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27318: [PATCH 1/2] gnu: stellarium: Fix build with Qt 5.9.
From: |
Kei Kebreau |
Subject: |
bug#27318: [PATCH 1/2] gnu: stellarium: Fix build with Qt 5.9. |
Date: |
Sun, 11 Jun 2017 13:28:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Danny Milosavljevic <address@hidden> writes:
> * gnu/packages/astronomy.scm (stellarium)[arguments]:
> Add phase "patch-version-check".
> ---
> gnu/packages/astronomy.scm | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
> index 2aa65d588..6c486469d 100644
> --- a/gnu/packages/astronomy.scm
> +++ b/gnu/packages/astronomy.scm
> @@ -141,6 +141,14 @@ programs for the manipulation and analysis of
> astronomical data.")
> (arguments
> `(#:test-target "tests"
> #:phases (modify-phases %standard-phases
> + (add-after 'unpack 'patch-version-check
> + (lambda _
> + ;; Previously-deprecated cmake variable vanished in
> + ;; Qt 5.9.
> + ;; See <https://bugreports.qt.io/browse/QTBUG-60936>.
> + (substitute* "CMakeLists.txt"
> + (("Qt5Core_VERSION_STRING") "Qt5Core_VERSION"))
> + #t))
> (add-before 'check 'set-offscreen-display
> (lambda _
> ;; make Qt render "offscreen", required for tests
LGTM.
signature.asc
Description: PGP signature