Files
MSYS2-packages/nettle/3.2-dlopen-test-msys-test.patch
J. Peter Mugaas 73649cd0a3 libarchive 3.2 - Update to new version
Update to new version 3.2 and rekey msys2.patch.  Remove
0001-mtree-fix-line-filename-length-calculation.patch',
libarchive-3.1.3-CVE-2013-0211_read_buffer_overflow.patch,
libarchive-3.1.2-acl.patch, and  'libarchive-3.1.2-sparce-mtree.patch
because they are in the source-code now.
Add validpgpkeys array
2016-05-17 07:42:10 -04:00

16 lines
564 B
Diff

diff -aur nettle-3.2/testsuite/dlopen-test.c.orig nettle-3.2/testsuite/dlopen-test.c > ../3.2-dlopen-test-msys-test.patch
--- nettle-3.2/testsuite/dlopen-test.c.orig 2016-05-17 07:17:36.777183000 -0400
+++ nettle-3.2/testsuite/dlopen-test.c 2016-05-17 07:18:23.983817400 -0400
@@ -9,7 +9,11 @@
main (int argc UNUSED, char **argv UNUSED)
{
#if HAVE_LIBDL
+ #ifdef __MSYS__
+ void *handle = dlopen ("../msys-nettle-6.dll", RTLD_NOW);
+ #else
void *handle = dlopen ("../libnettle.so", RTLD_NOW);
+ #endif
int (*get_version)(void);
if (!handle)
{