diff options
author | David P <megver83@parabola.nu> | 2020-07-23 12:41:24 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-07-23 12:41:24 -0400 |
commit | 118d49b70e08b4bb49acbbf048062af1d733a792 (patch) | |
tree | 5708e57b7e808cbdc6fa705c41795ad240b027c7 /pcr/linphone-desktop/0002-Fix-building-out-of-git.patch | |
parent | 7cff0759b29fe43428bc21632da8e40dddacff92 (diff) | |
download | abslibre-118d49b70e08b4bb49acbbf048062af1d733a792.tar.gz abslibre-118d49b70e08b4bb49acbbf048062af1d733a792.tar.bz2 abslibre-118d49b70e08b4bb49acbbf048062af1d733a792.zip |
addpkg: pcr/linphone-desktop 4.2.1-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/linphone-desktop/0002-Fix-building-out-of-git.patch')
-rw-r--r-- | pcr/linphone-desktop/0002-Fix-building-out-of-git.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/linphone-desktop/0002-Fix-building-out-of-git.patch b/pcr/linphone-desktop/0002-Fix-building-out-of-git.patch new file mode 100644 index 000000000..71ec35f14 --- /dev/null +++ b/pcr/linphone-desktop/0002-Fix-building-out-of-git.patch @@ -0,0 +1,44 @@ +From 98551f5eea1167e0bc42217d0e1cf0dd49f07153 Mon Sep 17 00:00:00 2001 +From: David P <megver83@parabola.nu> +Date: Wed, 22 Jul 2020 17:55:02 -0400 +Subject: [PATCH 2/2] Fix building out-of-git + +Based in https://build.opensuse.org/package/view_file/openSUSE:Factory/linphoneqt/linphoneqt-fix-no-git.patch + +Signed-off-by: David P <megver83@parabola.nu> +--- + linphone-app/src/app/AppController.cpp | 4 ++++ + linphone-app/src/config.h.cmake | 2 ++ + 2 files changed, 6 insertions(+) + +diff --git a/linphone-app/src/app/AppController.cpp b/linphone-app/src/app/AppController.cpp +index e502d9fd..012981d2 100644 +--- a/linphone-app/src/app/AppController.cpp ++++ b/linphone-app/src/app/AppController.cpp +@@ -28,6 +28,10 @@ + + #include "AppController.hpp" + ++#ifndef LINPHONE_QT_GIT_VERSION ++#define LINPHONE_QT_GIT_VERSION LINPHONE_QT_VERSION ++#endif ++ + #include "components/other/desktop-tools/DesktopTools.hpp" + // ============================================================================= + +diff --git a/linphone-app/src/config.h.cmake b/linphone-app/src/config.h.cmake +index 093539e0..a4e7e25a 100644 +--- a/linphone-app/src/config.h.cmake ++++ b/linphone-app/src/config.h.cmake +@@ -20,6 +20,8 @@ + * + *******************************************************************************/ + ++#define LINPHONE_QT_VERSION "${PROJECT_VERSION}" ++ + #cmakedefine APPLICATION_DESCRIPTION "${APPLICATION_DESCRIPTION}" + #cmakedefine APPLICATION_ID "${APPLICATION_ID}" + #cmakedefine APPLICATION_NAME "${APPLICATION_NAME}" +-- +2.27.0 + |