openbsd-ports/x11/vlc/patches/patch-loader_pe_image_c
2005-12-24 09:01:17 +00:00

13 lines
510 B
Plaintext

$OpenBSD: patch-loader_pe_image_c,v 1.1 2005/12/24 09:01:17 jolan Exp $
--- loader/pe_image.c.orig Sun Dec 11 15:36:29 2005
+++ loader/pe_image.c Sat Dec 24 02:11:48 2005
@@ -905,7 +905,7 @@ void PE_UnloadLibrary(WINE_MODREF *wm)
*/
static void __attribute__((noinline)) extend_stack_for_dll_alloca(void)
{
-#if !defined(__FreeBSD__) && !defined(__DragonFly__)
+#if !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__)
volatile int* mem=alloca(0x20000);
*mem=0x1234;
#endif