aboutsummaryrefslogtreecommitdiff
path: root/ports/physfs
diff options
context:
space:
mode:
authoryurybura <yurybura@gmail.com>2018-05-11 13:33:49 +0300
committerGitHub <noreply@github.com>2018-05-11 13:33:49 +0300
commit9535a5631ac212b1c657a02be3ed9398df30c96c (patch)
treea1124b7b5d81606c6d7413bb7075e8bdbc6afad3 /ports/physfs
parent92eb878b3efdb780097178125066a6070869c954 (diff)
parent9a19dae13a0fa594245db2df45ec54a504bc82f3 (diff)
downloadvcpkg-9535a5631ac212b1c657a02be3ed9398df30c96c.tar.gz
vcpkg-9535a5631ac212b1c657a02be3ed9398df30c96c.zip
Merge pull request #1 from Microsoft/master
update
Diffstat (limited to 'ports/physfs')
-rw-r--r--ports/physfs/CONTROL2
-rw-r--r--ports/physfs/export-symbols-in-shared-build-only.patch13
-rw-r--r--ports/physfs/portfile.cmake11
3 files changed, 3 insertions, 23 deletions
diff --git a/ports/physfs/CONTROL b/ports/physfs/CONTROL
index 20d973f18..a937d38bf 100644
--- a/ports/physfs/CONTROL
+++ b/ports/physfs/CONTROL
@@ -1,4 +1,4 @@
Source: physfs
-Version: 2.0.3-2
+Version: 3.0.1
Description: a library to provide abstract access to various archives
Build-Depends: zlib
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)