Apply cross.patch to fix cross-compiling the GUI.

Thanks Helmut for the patch! (Closes: #941320)

Gbp-Dch: full
pull/986/head
Luca Boccassi 2019-09-29 12:42:14 +01:00
rodzic 8a07f12769
commit bc01701a8d
2 zmienionych plików z 16 dodań i 0 usunięć

15
debian/patches/cross.patch vendored 100644
Wyświetl plik

@ -0,0 +1,15 @@
Author: Helmut Grohne <helmut@subdivi.de>
Description: do not stop the GUI from being cross-compiled
Bug-Debian: 941320
Forwarded: yes
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,7 @@
# Dependencies
###
find_package(LibUSB REQUIRED)
-if (NOT APPLE AND NOT WIN32 AND NOT CMAKE_CROSSCOMPILING)
+if (NOT APPLE AND NOT WIN32)
find_package(PkgConfig)
pkg_check_modules(gtk gtk+-3.0)
endif ()

1
debian/patches/series vendored 100644
Wyświetl plik

@ -0,0 +1 @@
cross.patch