aboutsummaryrefslogtreecommitdiff
path: root/ports/bzip2/fix-windows-include.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-03-09 09:19:05 -0700
committerRobert Schumacher <roschuma@microsoft.com>2020-03-09 09:19:05 -0700
commit6b55c62144b120f3c5fc0d3cd8163f309241a18a (patch)
tree125aa435dff79db545fc4b08ab0c3cb537bc725c /ports/bzip2/fix-windows-include.patch
parente21400c7cae2c2df3a9dce6ef8e3c4bf7109aaac (diff)
parentd0b1f2a9e8ed1ea53d181d13c69e15cf775148db (diff)
downloadvcpkg-6b55c62144b120f3c5fc0d3cd8163f309241a18a.tar.gz
vcpkg-6b55c62144b120f3c5fc0d3cd8163f309241a18a.zip
Merge remote-tracking branch 'origin/master' into HEAD
Diffstat (limited to 'ports/bzip2/fix-windows-include.patch')
-rw-r--r--ports/bzip2/fix-windows-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/bzip2/fix-windows-include.patch b/ports/bzip2/fix-windows-include.patch
new file mode 100644
index 000000000..11797ad2f
--- /dev/null
+++ b/ports/bzip2/fix-windows-include.patch
@@ -0,0 +1,12 @@
+diff -urN bzip2-1.0.6-orig/bzip2.c bzip2-1.0.6/bzip2.c
+--- bzip2-1.0.6-orig/bzip2.c 2010-09-11 02:04:53.000000000 +0300
++++ bzip2-1.0.6/bzip2.c 2019-11-04 11:40:52.230652175 +0200
+@@ -128,7 +128,7 @@
+ #if BZ_LCCWIN32
+ # include <io.h>
+ # include <fcntl.h>
+-# include <sys\stat.h>
++# include <sys/stat.h>
+
+ # define NORETURN /**/
+ # define PATH_SEP '\\'