diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/vlc/vlc/0002-glibc-does-not-provide-strlcpy.patch')
-rw-r--r-- | meta-multimedia/recipes-multimedia/vlc/vlc/0002-glibc-does-not-provide-strlcpy.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/0002-glibc-does-not-provide-strlcpy.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/0002-glibc-does-not-provide-strlcpy.patch deleted file mode 100644 index 6d2a46fb3c..0000000000 --- a/meta-multimedia/recipes-multimedia/vlc/vlc/0002-glibc-does-not-provide-strlcpy.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: vlc-2.1.2/src/input/subtitles.c -=================================================================== ---- vlc-2.1.2.orig/src/input/subtitles.c -+++ vlc-2.1.2/src/input/subtitles.c -@@ -44,6 +44,12 @@ - #include "input_internal.h" - - /** -+ * Drepper's alternative -+ * http://en.wikibooks.org/wiki/C_Programming/C_Reference/nonstandard/strlcpy -+ */ -+#define strlcpy(dst, src, n) *((char* ) mempcpy(dst, src, n)) = '\0' -+ -+/** - * We are not going to autodetect more subtitle files than this. - */ - #define MAX_SUBTITLE_FILES 128 |