diff options
| author | Aybe <aybe@users.noreply.github.com> | 2017-11-21 06:54:11 +0100 |
|---|---|---|
| committer | Aybe <aybe@users.noreply.github.com> | 2017-11-21 06:54:11 +0100 |
| commit | 395829c5450f0f964cbfc08e1aac5b4559729aed (patch) | |
| tree | f337d6f790d784199b4790cf9e04aa1f639b2cfc | |
| parent | 72fdd294b05f7b29cc711757a819df2948c72d80 (diff) | |
| download | vcpkg-395829c5450f0f964cbfc08e1aac5b4559729aed.tar.gz vcpkg-395829c5450f0f964cbfc08e1aac5b4559729aed.zip | |
[libsndfile] fixed missing return !
| -rw-r--r-- | ports/libsndfile/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/libsndfile/uwp-createfile-getfilesize-addendum.patch | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/libsndfile/portfile.cmake b/ports/libsndfile/portfile.cmake index 503134ff2..daa7de3ae 100644 --- a/ports/libsndfile/portfile.cmake +++ b/ports/libsndfile/portfile.cmake @@ -23,6 +23,7 @@ vcpkg_apply_patches( SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libsndfile-6830c421899e32f8d413a903a21a9b6cf384d369 PATCHES "${CMAKE_CURRENT_LIST_DIR}/uwp-createfile-getfilesize.patch" + "${CMAKE_CURRENT_LIST_DIR}/uwp-createfile-getfilesize-addendum.patch" ) if (VCPKG_CRT_LINKAGE STREQUAL "dynamic") diff --git a/ports/libsndfile/uwp-createfile-getfilesize-addendum.patch b/ports/libsndfile/uwp-createfile-getfilesize-addendum.patch new file mode 100644 index 000000000..62e6b1131 --- /dev/null +++ b/ports/libsndfile/uwp-createfile-getfilesize-addendum.patch @@ -0,0 +1,13 @@ +diff --git a/src/file_io.c b/src/file_io.c +index 47351bc..54741c9 100644 +--- a/src/file_io.c ++++ b/src/file_io.c +@@ -799,6 +799,8 @@ psf_open_handle (PSF_FILE * pfile) + + if (handle == INVALID_HANDLE_VALUE) + return NULL; ++ ++ return handle; + #else + if (pfile->use_wchar) + handle = CreateFileW ( |
