[vlc-commits] contribs: gcrypt: Suppress more Reg* function calls on winrt

Hugo Beauzée-Luyssen git at videolan.org
Wed May 11 23:17:34 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed May 11 22:52:05 2016 +0200| [8d445039a3d165efe2e53c66d9e9180012690a8c] | committer: Hugo Beauzée-Luyssen

contribs: gcrypt: Suppress more Reg* function calls on winrt

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

 contrib/src/gcrypt/winrt.patch |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/contrib/src/gcrypt/winrt.patch b/contrib/src/gcrypt/winrt.patch
index 0bf4141..60dd290 100644
--- a/contrib/src/gcrypt/winrt.patch
+++ b/contrib/src/gcrypt/winrt.patch
@@ -124,3 +124,21 @@
  }
  
  
+--- libgcrypt/random/rndw32.c.orig	2016-05-11 22:50:39.145927976 +0200
++++ libgcrypt/random/rndw32.c	2016-05-11 22:50:42.529932530 +0200
+@@ -502,6 +502,7 @@
+     {
+       HKEY hKey;
+ 
++#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
+       if ( debug_me )
+         log_debug ("rndw32#slow_gatherer: init toolkit\n" );
+       /* Find out whether this is an NT server or workstation if necessary */
+@@ -528,6 +529,7 @@
+             }
+           RegCloseKey (hKey);
+         }
++#endif
+ 
+       /* The following are fixed for the lifetime of the process so we
+          only add them once */



More information about the vlc-commits mailing list