mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/lastpass-cli: upgrade to 1.6.0
This commit is contained in:
parent
5c0d8c4453
commit
868d723d0a
@ -1,7 +1,7 @@
|
|||||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
pkgname=lastpass-cli
|
pkgname=lastpass-cli
|
||||||
pkgver=1.5.0
|
pkgver=1.6.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="LastPass command line interface tool"
|
pkgdesc="LastPass command line interface tool"
|
||||||
url="https://lastpass.com"
|
url="https://lastpass.com"
|
||||||
@ -22,7 +22,9 @@ subpackages="
|
|||||||
$pkgname-bash-completion
|
$pkgname-bash-completion
|
||||||
$pkgname-fish-completion
|
$pkgname-fish-completion
|
||||||
"
|
"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/lastpass/lastpass-cli/archive/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/lastpass/lastpass-cli/archive/v$pkgver.tar.gz
|
||||||
|
gcc14.patch
|
||||||
|
"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build -G Ninja \
|
cmake -B build -G Ninja \
|
||||||
@ -53,5 +55,6 @@ package() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
0b5ae5e9048ac2afa626b394100f143c4699c3dab8d57d4b17fabe4bf98b4a1004399f157b40b61fe9bba9fad025c23ac1feab5589cb9c447033f4fa1aab197c lastpass-cli-1.5.0.tar.gz
|
1edf93b9dcb928d37a163f2ac6422acae4a1437f95ff09d9135033e757c07b547d0a385b4ac4b3a6accee2552527b6def9c0289fc91ba81e6a76e65f68e10f93 lastpass-cli-1.6.0.tar.gz
|
||||||
|
fc3dce04fac237e0f725191e3c693d6c5522d36f806d04e1e9877a6181d0678ad36b7be47854de0de2360d630a5ecaa279578213dd20da9359b18c096ad0ee6a gcc14.patch
|
||||||
"
|
"
|
||||||
|
26
community/lastpass-cli/gcc14.patch
Normal file
26
community/lastpass-cli/gcc14.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index efc6ba0..8f363ec 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -101,7 +101,7 @@ file(GLOB PROJECT_SOURCES *.c)
|
||||||
|
|
||||||
|
set(PROJECT_DEFINITIONS "_GNU_SOURCE")
|
||||||
|
|
||||||
|
-set(PROJECT_FLAGS "-std=gnu99 -pedantic -Wall -Wextra -Wno-language-extension-token")
|
||||||
|
+set(PROJECT_FLAGS "-std=gnu99 -pedantic -Wextra")
|
||||||
|
if(APPLE)
|
||||||
|
set(PROJECT_FLAGS "${PROJECT_FLAGS} -Wno-deprecated-declarations")
|
||||||
|
endif()
|
||||||
|
diff --git a/lpass.c b/lpass.c
|
||||||
|
index c50ffb8..7416942 100644
|
||||||
|
--- a/lpass.c
|
||||||
|
+++ b/lpass.c
|
||||||
|
@@ -46,7 +46,7 @@
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
-#if (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
|
+#if (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__linux__)
|
||||||
|
#include <libgen.h>
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user