From 751b86fabdd5d0f9562d5dbd5b37b4dbebb65672 Mon Sep 17 00:00:00 2001
From: atraczyk <andreastraczyk@gmail.com>
Date: Tue, 10 Jan 2017 13:40:38 -0500
Subject: [PATCH] contrib: add UWP support for opendht

Change-Id: Icfaf6afb1813619ce8119cc4bb1d224db55e9976
Tuleap: #790
---
 .gitignore                              |  3 +++
 contrib/src/opendht/fetch_and_patch.bat | 14 ++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 contrib/src/opendht/fetch_and_patch.bat

diff --git a/.gitignore b/.gitignore
index b0f3691316..e5da286630 100644
--- a/.gitignore
+++ b/.gitignore
@@ -96,6 +96,9 @@ nbproject
 /extras/tools/check_sed
 /extras/tools/libtool-*.tar.xz
 
+#UWP
+/contrib/build/
+
 #iOS
 /build-ios*
 
diff --git a/contrib/src/opendht/fetch_and_patch.bat b/contrib/src/opendht/fetch_and_patch.bat
new file mode 100644
index 0000000000..0611417052
--- /dev/null
+++ b/contrib/src/opendht/fetch_and_patch.bat
@@ -0,0 +1,14 @@
+set BUILD=..\..\build
+set SRC=%~dp0%~1
+
+set OPENDHT_VERSION=e7295bac7b57540905e287a37904c615de971392
+set OPENDHT_URL="https://github.com/savoirfairelinux/opendht.git"
+
+mkdir %BUILD%
+cd %BUILD%
+
+git clone %OPENDHT_URL%
+cd opendht
+git checkout %OPENDHT_VERSION%
+
+cd %SRC%
\ No newline at end of file
-- 
GitLab