mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
libphonenumber: update to 8.13.30.
This commit is contained in:
parent
bf70d7bf1b
commit
6685e9119b
3 changed files with 6 additions and 27 deletions
|
@ -1,14 +1,6 @@
|
|||
--- a/tools/cpp/src/cpp-build/generate_geocoding_data.cc 2021-12-13 14:43:42.507659848 +0100
|
||||
+++ - 2021-12-13 14:45:11.191139520 +0100
|
||||
@@ -13,6 +13,7 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
// Author: Patrick Mezard
|
||||
+#define _FILE_OFFSET_BITS 64
|
||||
|
||||
#include "cpp-build/generate_geocoding_data.h"
|
||||
|
||||
@@ -567,7 +568,7 @@
|
||||
@@ -567,7 +567,7 @@
|
||||
map<int32, set<string> > country_languages;
|
||||
vector<DirEntry> entries;
|
||||
if (!ListDirectory(data_path, &entries)) {
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
Work around a deficiency in cmake's build rule generation.
|
||||
Upstream: not yet
|
||||
Source: https://git.alpinelinux.org/aports/tree/community/libphonenumber/cmake-duplicate-rule-definition.patch
|
||||
|
||||
--- libphonenumber-8.12.20.orig/cpp/CMakeLists.txt
|
||||
+++ libphonenumber-8.12.20/cpp/CMakeLists.txt
|
||||
@@ -351,7 +351,7 @@
|
||||
${TEST_METADATA_TARGET}
|
||||
"${RESOURCES_DIR}/PhoneNumberMetadataForTesting.xml"
|
||||
"test_metadata"
|
||||
- "metadata"
|
||||
+ "test_metadata"
|
||||
)
|
||||
list (APPEND TESTING_LIBRARY_SOURCES "src/phonenumbers/test_metadata.cc")
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libphonenumber'
|
||||
pkgname=libphonenumber
|
||||
version=8.12.39
|
||||
revision=16
|
||||
version=8.13.30
|
||||
revision=1
|
||||
build_wrksrc=cpp
|
||||
build_style=cmake
|
||||
build_helper=qemu
|
||||
|
@ -13,7 +13,9 @@ maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://github.com/googlei18n/libphonenumber"
|
||||
distfiles="https://github.com/google/libphonenumber/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=ff16330f130917e42bc0b1a7efe5e4fba46633bfa62e35268acec855e17e385c
|
||||
checksum=126d2680c282107fcb54286fbae5709df84d7ec2e93ce94f3ab4ae373dff6c3e
|
||||
|
||||
CXXFLAGS="-D_FILE_OFFSET_BITS=64"
|
||||
|
||||
libphonenumber-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} protobuf-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue