diff --git a/srcpkgs/libphonenumber/patches/32bit.patch b/srcpkgs/libphonenumber/patches/32bit.patch index cc5f570be4d..8348f2525ed 100644 --- a/srcpkgs/libphonenumber/patches/32bit.patch +++ b/srcpkgs/libphonenumber/patches/32bit.patch @@ -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 > country_languages; vector entries; if (!ListDirectory(data_path, &entries)) { diff --git a/srcpkgs/libphonenumber/patches/cmake-duplicate-rule-definition.patch b/srcpkgs/libphonenumber/patches/cmake-duplicate-rule-definition.patch deleted file mode 100644 index cecebae4375..00000000000 --- a/srcpkgs/libphonenumber/patches/cmake-duplicate-rule-definition.patch +++ /dev/null @@ -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") - diff --git a/srcpkgs/libphonenumber/template b/srcpkgs/libphonenumber/template index 4edd459c6bc..df75db75c7e 100644 --- a/srcpkgs/libphonenumber/template +++ b/srcpkgs/libphonenumber/template @@ -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 " 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"