vlc | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Jun  6 
16:23:21 2017 +0200| [69de4660edc1aaf57e3954f6fc080598df442afc] | committer: 
Hugo Beauzée-Luyssen

contribs: archive: Remove windows-file specific declaration

This fixes the build on UWP/WinRT

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=69de4660edc1aaf57e3954f6fc080598df442afc
---

 contrib/src/libarchive/no-windows-files.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/contrib/src/libarchive/no-windows-files.patch 
b/contrib/src/libarchive/no-windows-files.patch
index aa6ec78536..e5300aaef0 100644
--- a/contrib/src/libarchive/no-windows-files.patch
+++ b/contrib/src/libarchive/no-windows-files.patch
@@ -8,3 +8,14 @@
  AM_CONDITIONAL([INC_WINDOWS_FILES], [test $inc_windows_files = yes])
  AM_CONDITIONAL([INC_CYGWIN_FILES], [test $inc_cygwin_files = yes])
  
+--- libarchive/libarchive/archive_entry.h.old  2017-06-06 16:19:37.998058703 
+0200
++++ libarchive/libarchive/archive_entry.h      2017-06-06 16:19:41.830066940 
+0200
+@@ -294,7 +294,7 @@
+
+ __LA_DECL void        archive_entry_set_atime(struct archive_entry *, time_t, 
long);
+ __LA_DECL void  archive_entry_unset_atime(struct archive_entry *);
+-#if defined(_WIN32) && !defined(__CYGWIN__)
++#if defined(_WIN32) && !defined(__CYGWIN__) && 
WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
+ __LA_DECL void archive_entry_copy_bhfi(struct archive_entry *, 
BY_HANDLE_FILE_INFORMATION *);
+ #endif
+ __LA_DECL void        archive_entry_set_birthtime(struct archive_entry *, 
time_t, long);

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to