aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpast-due <30942300+past-due@users.noreply.github.com>2018-04-17 13:00:20 -0400
committerRobert Schumacher <roschuma@microsoft.com>2018-04-17 10:00:20 -0700
commit0700fbd9c0f7f37ba8e2a32f012b027efefdc3af (patch)
treef5b2d852800788c39d6595edf260ba037f88943d
parentb8c5337875080b95ed0d05510f2ff226abf235b8 (diff)
downloadvcpkg-0700fbd9c0f7f37ba8e2a32f012b027efefdc3af.tar.gz
vcpkg-0700fbd9c0f7f37ba8e2a32f012b027efefdc3af.zip
[physfs] Update to version 3.0.1 (#3238)
-rw-r--r--ports/physfs/export-symbols-in-shared-build-only.patch13
-rw-r--r--ports/physfs/portfile.cmake11
2 files changed, 2 insertions, 22 deletions
diff --git a/ports/physfs/export-symbols-in-shared-build-only.patch b/ports/physfs/export-symbols-in-shared-build-only.patch
deleted file mode 100644
index b3303dcd8..000000000
--- a/ports/physfs/export-symbols-in-shared-build-only.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/physfs.h b/physfs.h
-index 3c252c6..4319981 100644
---- a/physfs.h
-+++ b/physfs.h
-@@ -221,7 +221,7 @@ extern "C" {
- #endif
-
- #ifndef DOXYGEN_SHOULD_IGNORE_THIS
--#if (defined _MSC_VER)
-+#if (defined _MSC_VER && defined (physfs_EXPORTS))
- #define __EXPORT__ __declspec(dllexport)
- #elif (__GNUC__ >= 3)
- #define __EXPORT__ __attribute__((visibility("default")))
diff --git a/ports/physfs/portfile.cmake b/ports/physfs/portfile.cmake
index c6233eed3..08b49e69f 100644
--- a/ports/physfs/portfile.cmake
+++ b/ports/physfs/portfile.cmake
@@ -1,20 +1,13 @@
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "${PORT} does not currently support UWP")
-endif()
-
include(vcpkg_common_functions)
-set(PHYSFS_VERSION 2.0.3)
+set(PHYSFS_VERSION 3.0.1)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/physfs-${PHYSFS_VERSION})
vcpkg_download_distfile(ARCHIVE
URLS "https://icculus.org/physfs/downloads/physfs-${PHYSFS_VERSION}.tar.bz2"
FILENAME "physfs-${PHYSFS_VERSION}.tar.bz2"
- SHA512 47eff0c81b8dc3bb526766b0a8ad2437d2951867880116d6e6e8f2ec1490e263541fb741867fed6517cc3fa8a9c5651b36e3e02a499f19cfdc5c7261c9707e80
+ SHA512 ddf3b075ccb506da5e9a1ce96001be402752b9b777c2e816a85d48aff3626ff0886ea43eb07bd300fe3a9f59b9a002f54d822c51d483a4ee94b38378534c1879
)
vcpkg_extract_source_archive(${ARCHIVE})
-vcpkg_apply_patches(SOURCE_PATH ${SOURCE_PATH}
- PATCHES ${CMAKE_CURRENT_LIST_DIR}/export-symbols-in-shared-build-only.patch)
-
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" PHYSFS_STATIC)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" PHYSFS_SHARED)