From a970b048cb513afbcec3f8abdea105f18b49ecc2 Mon Sep 17 00:00:00 2001 From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org> Date: Wed, 26 Jun 2024 02:51:31 +0000 Subject: [PATCH] testing/lomiri-location-service: fix build --- testing/lomiri-location-service/APKBUILD | 2 ++ testing/lomiri-location-service/glog.patch | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 testing/lomiri-location-service/glog.patch diff --git a/testing/lomiri-location-service/APKBUILD b/testing/lomiri-location-service/APKBUILD index ed7d2686411..f8c0ad73621 100644 --- a/testing/lomiri-location-service/APKBUILD +++ b/testing/lomiri-location-service/APKBUILD @@ -32,6 +32,7 @@ makedepends="$depends_dev checkdepends="coreutils" source="https://gitlab.com/ubports/development/core/location-service/-/archive/$pkgver/location-service-$pkgver.tar.gz cstdint.patch + glog.patch " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" builddir="$srcdir/location-service-$pkgver" @@ -59,4 +60,5 @@ package() { sha512sums=" cb336690469c97780348de86ba6881228160f3f7ef5c548cd7238fcaeca5f35b1fbd2fb5897d20a805e922b63e2592c159d93747ecfdd7ef94b40c4d5b708838 location-service-3.1.0.tar.gz a593923e4a997977bdab1b7e72bfefbe401c5cb12c15d137e67c7e3527d3b0cd2be10a376140f081a5922d347bb5bce4c88140f33e53f1580bfdaad2a9f36f46 cstdint.patch +dd27a2902923321da01ab286d0bad1eba0a112b81c0c40b988bf4c0ae119577e7347b9ca8af6781f22330888a3298105cf072c66e77f1e77ef69ee9664cade9b glog.patch " diff --git a/testing/lomiri-location-service/glog.patch b/testing/lomiri-location-service/glog.patch new file mode 100644 index 00000000000..df22a95d7d4 --- /dev/null +++ b/testing/lomiri-location-service/glog.patch @@ -0,0 +1,11 @@ +--- a/cmake/FindGLog.cmake ++++ b/cmake/FindGLog.cmake +@@ -8,6 +8,8 @@ + find_library(GLog_LIBRARY libglog.so + HINTS /usr/lib/arm-linux-gnueabihf/) + ++add_compile_definitions(GLOG_USE_GLOG_EXPORT) ++ + include(FindPackageHandleStandardArgs) + find_package_handle_standard_args(GLog DEFAULT_MSG GLog_LIBRARY GLog_INCLUDE_DIR) +