aboutsummaryrefslogtreecommitdiff
path: root/ports/libmaxminddb
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-09-23 06:36:04 +0800
committerGitHub <noreply@github.com>2020-09-22 15:36:04 -0700
commit7339aea6f57e85a37ff14e887c5bc040c6f0ac41 (patch)
treeb255496e66688a8f082cea6ec6e524b9e4def95d /ports/libmaxminddb
parent0890b5a25fb4d514a879712eecf4842669073f78 (diff)
downloadvcpkg-7339aea6f57e85a37ff14e887c5bc040c6f0ac41.tar.gz
vcpkg-7339aea6f57e85a37ff14e887c5bc040c6f0ac41.zip
[Many ports] Update to the latest version or commit (#13560)
* [Many ports] Update to the latest version or commit * [libplist] Update version [libsync] Update patch format * Update as review suggestions * [libplist] Revert changes
Diffstat (limited to 'ports/libmaxminddb')
-rw-r--r--ports/libmaxminddb/CONTROL3
-rw-r--r--ports/libmaxminddb/fix-linux-build.patch6
-rw-r--r--ports/libmaxminddb/portfile.cmake8
3 files changed, 8 insertions, 9 deletions
diff --git a/ports/libmaxminddb/CONTROL b/ports/libmaxminddb/CONTROL
index f8b7f85be..c12d40315 100644
--- a/ports/libmaxminddb/CONTROL
+++ b/ports/libmaxminddb/CONTROL
@@ -1,3 +1,4 @@
Source: libmaxminddb
-Version: 1.3.2-2
+Version: 1.4.3
+Homepage: https://github.com/maxmind/libmaxminddb
Description: C library for the MaxMind DB file format \ No newline at end of file
diff --git a/ports/libmaxminddb/fix-linux-build.patch b/ports/libmaxminddb/fix-linux-build.patch
index 334b0f64c..bdf9b7780 100644
--- a/ports/libmaxminddb/fix-linux-build.patch
+++ b/ports/libmaxminddb/fix-linux-build.patch
@@ -1,5 +1,5 @@
diff --git a/include/maxminddb.h b/include/maxminddb.h
-index de1fdf8..1d17bc3 100644
+index 13b276f..6c70e49 100644
--- a/include/maxminddb.h
+++ b/include/maxminddb.h
@@ -24,11 +24,12 @@ extern "C" {
@@ -7,13 +7,13 @@ index de1fdf8..1d17bc3 100644
#include <sys/types.h>
+/* libmaxminddb package version from configure */
-+#define PACKAGE_VERSION "1.3.2"
++#define PACKAGE_VERSION "1.4.3"
+
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
-/* libmaxminddb package version from configure */
--#define PACKAGE_VERSION "1.3.2"
+-#define PACKAGE_VERSION "1.4.3"
typedef ADDRESS_FAMILY sa_family_t;
diff --git a/ports/libmaxminddb/portfile.cmake b/ports/libmaxminddb/portfile.cmake
index bbc13472e..db280fad8 100644
--- a/ports/libmaxminddb/portfile.cmake
+++ b/ports/libmaxminddb/portfile.cmake
@@ -1,12 +1,10 @@
-include(vcpkg_common_functions)
-
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO maxmind/libmaxminddb
- REF 1.3.2
- SHA512 43ff5f4e3a413772cd315412afc1070fb80280405d8845dc9d94a795265a71007c6c182dc01da8e14bf7b8ab8defe05714bec543faa956e7fb0f0a7756e7df48
+ REF 07797e9dfb6771190f9fa41a33babe19425ef552 #1.4.3
+ SHA512 94f7fbd46a7846c804edad9759ceedf2f7c4b2085430322f74bea5c89f6c3fa0824f154f551119a8c69becec5120650efef89c6d7f5a2ef3df476086070c8c7e
HEAD_REF master
PATCHES fix-linux-build.patch
)
@@ -24,4 +22,4 @@ vcpkg_install_cmake()
vcpkg_copy_pdbs()
# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libmaxminddb RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file