summaryrefslogtreecommitdiffstats
path: root/package/vlc/0007-strerror.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-01 22:33:59 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-01 22:33:59 +0200
commit0fb1b8053201e9da0c6ab8e5c6c633c7acb9dde9 (patch)
tree47a9b3e3fbafd1071aece7efda92482ac1eb5153 /package/vlc/0007-strerror.patch
parent9f115bfc2ac798c737d0c2a8ec8c96670e814a49 (diff)
downloadbuildroot-0fb1b8053201e9da0c6ab8e5c6c633c7acb9dde9.tar.gz
buildroot-0fb1b8053201e9da0c6ab8e5c6c633c7acb9dde9.zip
vlc: switch to proper Git formatted patches
VLC uses Git as its version control system, so it makes sense to use Git formatted patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/vlc/0007-strerror.patch')
-rw-r--r--package/vlc/0007-strerror.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/package/vlc/0007-strerror.patch b/package/vlc/0007-strerror.patch
deleted file mode 100644
index e9f3141168..0000000000
--- a/package/vlc/0007-strerror.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Fix compile error
-
- CCLD vlc
-/home/br/br3/output/build/vlc-2.2.1/src/.libs/libvlccore.so: undefined reference to `strerror_l'
-
-Code for #else condition was taken from
-http://patches.osdyson.org/patch/series/view/vlc/2.2.0~rc2-1+dyson2/dyson.patch
-
-Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-
-diff -uNr vlc-2.2.1.org/configure.ac vlc-2.2.1/configure.ac
---- vlc-2.2.1.org/configure.ac 2015-04-13 09:57:54.000000000 +0200
-+++ vlc-2.2.1/configure.ac 2015-05-02 16:13:22.800448380 +0200
-@@ -534,7 +534,7 @@
-
- dnl Check for usual libc functions
- AC_CHECK_DECLS([nanosleep],,,[#include <time.h>])
--AC_CHECK_FUNCS([daemon fcntl fstatvfs fork getenv getpwuid_r isatty lstat memalign mmap open_memstream openat pread posix_fadvise posix_madvise setlocale stricmp strnicmp strptime uselocale])
-+AC_CHECK_FUNCS([daemon fcntl fstatvfs fork getenv getpwuid_r isatty lstat memalign mmap open_memstream openat pread posix_fadvise posix_madvise setlocale strerror_l stricmp strnicmp strptime uselocale])
- AC_REPLACE_FUNCS([atof atoll dirfd fdopendir flockfile fsync getdelim getpid gmtime_r lldiv localtime_r nrand48 poll posix_memalign rewind setenv strcasecmp strcasestr strdup strlcpy strndup strnlen strsep strtof strtok_r strtoll swab tdestroy strverscmp])
- AC_CHECK_FUNCS(fdatasync,,
- [AC_DEFINE(fdatasync, fsync, [Alias fdatasync() to fsync() if missing.])
-diff -uNr vlc-2.2.1.org/src/posix/error.c vlc-2.2.1/src/posix/error.c
---- vlc-2.2.1.org/src/posix/error.c 2014-08-14 09:20:04.000000000 +0200
-+++ vlc-2.2.1/src/posix/error.c 2015-05-02 16:25:24.075378369 +0200
-@@ -31,6 +31,7 @@
-
- static const char *vlc_strerror_l(int errnum, const char *lname)
- {
-+#ifdef HAVE_STRERROR_L
- int saved_errno = errno;
- locale_t loc = newlocale(LC_MESSAGES_MASK, lname, (locale_t)0);
-
-@@ -51,6 +52,9 @@
- const char *buf = strerror_l(errnum, loc);
-
- freelocale(loc);
-+#else
-+ const char *buf = strerror(errnum);
-+#endif
- return buf;
- }
-
OpenPOWER on IntegriCloud