Add patch for GCC 10 changes

f38
Michael Cronenworth 5 years ago
parent 2013e2b6bb
commit 8ff4e61e3d

@ -0,0 +1,11 @@
--- a/dlls/crypt32/crypt32_private.h 2020-01-21 11:03:21.000000000 -0600
+++ b/dlls/crypt32/crypt32_private.h 2020-01-22 09:09:42.545954092 -0600
@@ -152,7 +152,7 @@
*/
HCRYPTPROV WINAPI I_CryptGetDefaultCryptProv(ALG_ID);
-HINSTANCE hInstance DECLSPEC_HIDDEN;
+extern HINSTANCE hInstance DECLSPEC_HIDDEN;
void crypt_oid_init(void) DECLSPEC_HIDDEN;
void crypt_oid_free(void) DECLSPEC_HIDDEN;

@ -72,6 +72,7 @@ Source109: wine-oleview.desktop
Source150: wine.appdata.xml Source150: wine.appdata.xml
# build fixes # build fixes
Patch100: wine-5.0-gcc10.patch
# wine bugs # wine bugs
@ -680,6 +681,7 @@ This package adds the opencl driver for wine.
%prep %prep
%setup -q -n wine-%{version} %setup -q -n wine-%{version}
%patch100 -p1 -b.gcc10
%patch511 -p1 -b.cjk %patch511 -p1 -b.cjk
%if 0%{?wine_staging} %if 0%{?wine_staging}

Loading…
Cancel
Save