view src/xine-lib-4-mkdir.patch @ 5579:2734b3818171

Avoid double-free with librsb (bug #58957). * src/librsb.mk: Add work-around to avoid double-free (provided by Michele Martone). * src/mingw-of-sparsersb-1-no-render.patch: Remove patch. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 02 Nov 2020 08:55:18 +0100
parents 5aba05f2226e
children
line wrap: on
line source

This file is part of MXE.
See index.html for further information.

diff -urN xine-lib-1.2.4/lib/os_internal.h xine-lib-1.2.4-patch/lib/os_internal.h
--- xine-lib-1.2.4/lib/os_internal.h	2012-02-05 21:17:00.000000000 +0200
+++ xine-lib-1.2.4-patch/lib/os_internal.h	2014-01-03 19:05:56.643793781 +0200
@@ -260,6 +260,7 @@
 #  ifdef __MINGW64__
 #    define mkdir(A, B) mkdir((A))
 #  else
+     _CRTIMP int __cdecl _mkdir(const char *_Path);
 #    define mkdir(A, B) _mkdir((A))
 #  endif