mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +02:00
* fix x264 compilation
This commit is contained in:
parent
3b05b11cdc
commit
27f1f2eb76
@ -1157,6 +1157,7 @@ DISTCLEAN_PKG += libdts-$(LIBDTS_VERSION).tar.gz
|
||||
ifdef SVN
|
||||
x264:
|
||||
$(SVN) co svn://svn.videolan.org/x264/trunk/ x264
|
||||
(cd x264; patch -p 0 < ../Patches/x264-svn.patch )
|
||||
ifdef HAVE_WIN32
|
||||
(cd x264; patch -p 0 < ../Patches/x264-svn-win32.patch )
|
||||
endif
|
||||
|
12
extras/contrib/src/Patches/x264-svn.patch
Normal file
12
extras/contrib/src/Patches/x264-svn.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: muxers.c
|
||||
===================================================================
|
||||
--- muxers.c (revision 486)
|
||||
+++ muxers.c (working copy)
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <sys/types.h>
|
||||
|
||||
#include "common/common.h"
|
||||
#include "x264.h"
|
Loading…
Reference in New Issue
Block a user