diff --git a/devel/libphonenumber/Makefile b/devel/libphonenumber/Makefile index d8ce42be46f7..da95a6c3e25f 100644 --- a/devel/libphonenumber/Makefile +++ b/devel/libphonenumber/Makefile @@ -2,7 +2,7 @@ PORTNAME= libphonenumber DISTVERSIONPREFIX= v -DISTVERSION= 8.12.5 +DISTVERSION= 8.12.6 CATEGORIES= devel MAINTAINER= kde@FreeBSD.org diff --git a/devel/libphonenumber/distinfo b/devel/libphonenumber/distinfo index 5688b9d8c727..650dc835734f 100644 --- a/devel/libphonenumber/distinfo +++ b/devel/libphonenumber/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1591330476 -SHA256 (googlei18n-libphonenumber-v8.12.5_GH0.tar.gz) = 5acc2f679220ba7e1d9f256ff4de470db00949dd60220268ee5d73c720f0ec44 -SIZE (googlei18n-libphonenumber-v8.12.5_GH0.tar.gz) = 7743794 +TIMESTAMP = 1592595176 +SHA256 (googlei18n-libphonenumber-v8.12.6_GH0.tar.gz) = 99525172e34405326a0e882fa51ab03c1cf66297d0ee893d846eae8380090a35 +SIZE (googlei18n-libphonenumber-v8.12.6_GH0.tar.gz) = 7977157 diff --git a/devel/libphonenumber/files/patch-src_phonenumbers_base_memory_singleton.h b/devel/libphonenumber/files/patch-src_phonenumbers_base_memory_singleton.h index b7a2837ec734..bda91675a4ed 100644 --- a/devel/libphonenumber/files/patch-src_phonenumbers_base_memory_singleton.h +++ b/devel/libphonenumber/files/patch-src_phonenumbers_base_memory_singleton.h @@ -1,11 +1,11 @@ ---- src/phonenumbers/base/memory/singleton.h.orig 2020-01-18 23:13:06 UTC +--- src/phonenumbers/base/memory/singleton.h.orig 2020-06-18 13:06:40 UTC +++ src/phonenumbers/base/memory/singleton.h -@@ -56,7 +56,7 @@ template boost::once_flag Singleton::flag - #include "phonenumbers/base/logging.h" - #include "phonenumbers/base/thread_checker.h" - --#if !defined(__linux__) && !defined(__APPLE__) -+#if !defined(__linux__) && !defined(__APPLE__) && !defined(__FreeBSD__) - - namespace i18n { - namespace phonenumbers { +@@ -22,7 +22,7 @@ + #elif (__cplusplus >= 201103L) && defined(I18N_PHONENUMBERS_USE_STDMUTEX) + // C++11 Lock implementation based on std::mutex. + #include "phonenumbers/base/memory/singleton_stdmutex.h" +-#elif defined(__linux__) || defined(__APPLE__) || defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) ++#elif defined(__linux__) || defined(__APPLE__) || defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) || defined(__FreeBSD__) + #include "phonenumbers/base/memory/singleton_posix.h" + #elif defined(WIN32) + #include "phonenumbers/base/memory/singleton_win32.h" diff --git a/devel/libphonenumber/files/patch-src_phonenumbers_base_synchronization_lock.h b/devel/libphonenumber/files/patch-src_phonenumbers_base_synchronization_lock.h index c2c390789460..6455ae783a95 100644 --- a/devel/libphonenumber/files/patch-src_phonenumbers_base_synchronization_lock.h +++ b/devel/libphonenumber/files/patch-src_phonenumbers_base_synchronization_lock.h @@ -1,11 +1,11 @@ ---- src/phonenumbers/base/synchronization/lock.h.orig 2020-01-18 23:13:17 UTC +--- src/phonenumbers/base/synchronization/lock.h.orig 2020-06-18 13:06:40 UTC +++ src/phonenumbers/base/synchronization/lock.h -@@ -63,7 +63,7 @@ class Lock { (private) - // Dummy lock implementation on non-POSIX platforms. If you are running on a - // different platform and care about thread-safety, please compile with - // -DI18N_PHONENUMBERS_USE_BOOST. --#elif !defined(__linux__) && !defined(__APPLE__) -+#elif !defined(__linux__) && !defined(__APPLE__) && !defined(__FreeBSD__) - - namespace i18n { - namespace phonenumbers { +@@ -22,7 +22,7 @@ + #elif (__cplusplus >= 201103L) && defined(I18N_PHONENUMBERS_USE_STDMUTEX) + // C++11 Lock implementation based on std::mutex. + #include "phonenumbers/base/synchronization/lock_stdmutex.h" +-#elif defined(__linux__) || defined(__APPLE__) || defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) ++#elif defined(__linux__) || defined(__APPLE__) || defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) || defined(__FreeBSD__) + #include "phonenumbers/base/synchronization/lock_posix.h" + #elif defined(WIN32) + #include "phonenumbers/base/synchronization/lock_win32.h" diff --git a/devel/libphonenumber/files/patch-src_phonenumbers_base_thread__checker.h b/devel/libphonenumber/files/patch-src_phonenumbers_base_thread__checker.h index fbc996785ce2..15949d4389a2 100644 --- a/devel/libphonenumber/files/patch-src_phonenumbers_base_thread__checker.h +++ b/devel/libphonenumber/files/patch-src_phonenumbers_base_thread__checker.h @@ -1,20 +1,11 @@ ---- src/phonenumbers/base/thread_checker.h.orig 2020-01-18 23:13:13 UTC +--- src/phonenumbers/base/thread_checker.h.orig 2020-06-18 13:06:40 UTC +++ src/phonenumbers/base/thread_checker.h @@ -22,7 +22,7 @@ // Note that I18N_PHONENUMBERS_NO_THREAD_SAFETY must be defined only to let the // user of the library know that it can't be used in a thread-safe manner when // it is not depending on Boost. --#if !defined(__linux__) && !defined(__APPLE__) && \ -+#if !defined(__linux__) && !defined(__APPLE__) && !defined(__FreeBSD__) && \ - !defined(I18N_PHONENUMBERS_NO_THREAD_SAFETY) - #error Building without Boost, please provide \ - -DI18N_PHONENUMBERS_NO_THREAD_SAFETY -@@ -31,7 +31,7 @@ - #endif - - #if !defined(NDEBUG) && !defined(I18N_PHONENUMBERS_USE_BOOST) && \ -- (defined(__linux__) || defined(__apple__)) -+ (defined(__linux__) || defined(__apple__) || defined(__FreeBSD__)) - - #include - +-#if !defined(__linux__) && !defined(__APPLE__) && !defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) && \ ++#if !defined(__linux__) && !defined(__APPLE__) && !defined(I18N_PHONENUMBERS_HAVE_POSIX_THREAD) && !defined(__FreeBSD__) \ + !defined(I18N_PHONENUMBERS_NO_THREAD_SAFETY) && \ + !((__cplusplus >= 201103L) && defined(I18N_PHONENUMBERS_USE_STDMUTEX)) && \ + !defined(WIN32) diff --git a/devel/libphonenumber/pkg-plist b/devel/libphonenumber/pkg-plist index b2b5552482ff..4814ac2f37ea 100644 --- a/devel/libphonenumber/pkg-plist +++ b/devel/libphonenumber/pkg-plist @@ -3,9 +3,17 @@ include/phonenumbers/base/basictypes.h include/phonenumbers/base/logging.h include/phonenumbers/base/memory/scoped_ptr.h include/phonenumbers/base/memory/singleton.h +include/phonenumbers/base/memory/singleton_boost.h include/phonenumbers/base/memory/singleton_posix.h +include/phonenumbers/base/memory/singleton_stdmutex.h +include/phonenumbers/base/memory/singleton_unsafe.h +include/phonenumbers/base/memory/singleton_win32.h include/phonenumbers/base/synchronization/lock.h +include/phonenumbers/base/synchronization/lock_boost.h include/phonenumbers/base/synchronization/lock_posix.h +include/phonenumbers/base/synchronization/lock_stdmutex.h +include/phonenumbers/base/synchronization/lock_unsafe.h +include/phonenumbers/base/synchronization/lock_win32.h include/phonenumbers/base/template_util.h include/phonenumbers/base/thread_checker.h include/phonenumbers/callback.h