pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wine64: Enable tests



Module Name:	pkgsrc-wip
Committed By:	Naveen Narayanan <zerous@nocebo.space>
Pushed By:	zerous
Date:		Wed Aug 14 17:16:16 2019 +0200
Changeset:	700e81ea82472a4b0605a1531cc3139dd708d3e6

Modified Files:
	wine64/Makefile
	wine64/distinfo
Added Files:
	wine64/patches/patch-include_bcrypt.h

Log Message:
wine64: Enable tests

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=700e81ea82472a4b0605a1531cc3139dd708d3e6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 wine64/Makefile                       |  1 -
 wine64/distinfo                       |  1 +
 wine64/patches/patch-include_bcrypt.h | 16 ++++++++++++++++
 3 files changed, 17 insertions(+), 1 deletion(-)

diffs:
diff --git a/wine64/Makefile b/wine64/Makefile
index d160f87531..541d608410 100644
--- a/wine64/Makefile
+++ b/wine64/Makefile
@@ -12,7 +12,6 @@ LICENSE=		gnu-lgpl-v2.1
 
 ONLY_FOR_PLATFORM+=	*-*-x86_64
 GNU_CONFIGURE=		yes
-CONFIGURE_ARGS+=	--disable-tests
 WINE32_ARGS+=		--with-wine64=${BUILD64}
 WINE32_ARGS+=		--with-freetype=${PREFIX}/emul/netbsd32/lib/freetype2
 WINE32_ARGS+=		--with-fontconfig=${PREFIX}/emul/netbsd32/lib/fontconfig
diff --git a/wine64/distinfo b/wine64/distinfo
index aeac74c033..b381c69716 100644
--- a/wine64/distinfo
+++ b/wine64/distinfo
@@ -6,6 +6,7 @@ SHA512 (wine-4.4.tar.xz) = 6678c9b0e086bdc9fab9f9fd2517226352b49f846bbae7be6000b
 Size (wine-4.4.tar.xz) = 21805668 bytes
 SHA1 (patch-dlls_ntdll_thread.c) = 8a13e956e6622cc215fbe6e9943a704b3a926168
 SHA1 (patch-dlls_wininet_http.c) = 9e539ed70a5bf010e50c7beb1c3b3c877ed5e5d8
+SHA1 (patch-include_bcrypt.h) = 77ea288bac8ab9dccb23e831c083b0229bbb669d
 SHA1 (patch-loader_Makefile.in) = e45212af4bd099f9a5b73535cdc4e82ed34951e4
 SHA1 (patch-programs_wineconsole_Makefile.in) = 83aa7c1450b11d5b2eb5ca79885ca599f3900a15
 SHA1 (patch-programs_wineconsole_curses.c) = 61714dc710432b4092ccaf6ffe1e82ba06d623f2
diff --git a/wine64/patches/patch-include_bcrypt.h b/wine64/patches/patch-include_bcrypt.h
new file mode 100644
index 0000000000..beeec29765
--- /dev/null
+++ b/wine64/patches/patch-include_bcrypt.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Use parantheses around expression to prevent gcc from complaining
+when using -D_FORTIFY_SOURCE=2 flag
+
+--- include/bcrypt.h.orig	2019-08-14 15:05:32.929387224 +0000
++++ include/bcrypt.h
+@@ -91,7 +91,7 @@ typedef LONG NTSTATUS;
+ #define BCRYPT_CHAIN_MODE_ECB       (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','E','C','B',0}
+ #define BCRYPT_CHAIN_MODE_CFB       (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','C','F','B',0}
+ #define BCRYPT_CHAIN_MODE_CCM       (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','C','C','M',0}
+-#define BCRYPT_CHAIN_MODE_GCM       (const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','G','C','M',0}
++#define BCRYPT_CHAIN_MODE_GCM       ((const WCHAR []){'C','h','a','i','n','i','n','g','M','o','d','e','G','C','M',0})
+ 
+ #define BCRYPT_ECDSA_PUBLIC_P256_MAGIC  0x31534345
+ #define BCRYPT_ECDSA_PRIVATE_P256_MAGIC 0x32534345


Home | Main Index | Thread Index | Old Index