diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 00:19:19 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-29 00:19:19 +0100 |
commit | 7b666d29c84d5cad788815a1c9133a5c38c5f410 (patch) | |
tree | 7e0e9f567ea66bc0c2629499454d07545f6d674b /community/v4l-utils | |
parent | c10f2d9b183c51fddfcb61024d01a5bd21197694 (diff) | |
download | aports-7b666d29c84d5cad788815a1c9133a5c38c5f410.tar.bz2 aports-7b666d29c84d5cad788815a1c9133a5c38c5f410.tar.xz |
Remove stale patches in community/
Diffstat (limited to 'community/v4l-utils')
-rw-r--r-- | community/v4l-utils/fix-compliance.patch | 77 | ||||
-rw-r--r-- | community/v4l-utils/fix-libdvbv5.patch | 19 |
2 files changed, 0 insertions, 96 deletions
diff --git a/community/v4l-utils/fix-compliance.patch b/community/v4l-utils/fix-compliance.patch deleted file mode 100644 index 34b85eeb55..0000000000 --- a/community/v4l-utils/fix-compliance.patch +++ /dev/null @@ -1,77 +0,0 @@ ---- a/lib/libv4l1/v4l1compat.c -+++ b/lib/libv4l1/v4l1compat.c -@@ -62,7 +62,7 @@ - return fd; - } - --#ifdef linux -+#ifdef __GLIBC__ - LIBV4L_PUBLIC int open64(const char *file, int oflag, ...) - { - int fd; -@@ -94,7 +94,11 @@ - return v4l1_dup(fd); - } - -+#ifdef __GLIBC__ - LIBV4L_PUBLIC int ioctl(int fd, unsigned long int request, ...) -+#else -+LIBV4L_PUBLIC int ioctl(int fd, int request, ...) -+#endif - { - void *arg; - va_list ap; -@@ -117,7 +121,7 @@ - return v4l1_mmap(start, length, prot, flags, fd, offset); - } - --#ifdef linux -+#ifdef __GLIBC__ - LIBV4L_PUBLIC void *mmap64(void *start, size_t length, int prot, int flags, int fd, - __off64_t offset) - { ---- a/lib/libv4l2/v4l2convert.c -+++ b/lib/libv4l2/v4l2convert.c -@@ -86,7 +86,7 @@ - return fd; - } - --#ifdef linux -+#ifdef __GLIBC__ - LIBV4L_PUBLIC int open64(const char *file, int oflag, ...) - { - int fd; -@@ -121,7 +121,11 @@ - return v4l2_dup(fd); - } - -+#ifdef __GLIBC__ - LIBV4L_PUBLIC int ioctl(int fd, unsigned long int request, ...) -+#else -+LIBV4L_PUBLIC int ioctl(int fd, int request, ...) -+#endif - { - void *arg; - va_list ap; -@@ -144,7 +148,7 @@ - return v4l2_mmap(start, length, prot, flags, fd, offset); - } - --#ifdef linux -+#ifdef __GLIBC__ - LIBV4L_PUBLIC void *mmap64(void *start, size_t length, int prot, int flags, int fd, - __off64_t offset) - { ---- a/lib/libv4lconvert/libv4lsyscall-priv.h -+++ b/lib/libv4lconvert/libv4lsyscall-priv.h -@@ -41,7 +41,9 @@ - #include <linux/ioctl.h> - /* On 32 bits archs we always use mmap2, on 64 bits archs there is no mmap2 */ - #ifdef __NR_mmap2 -+#ifndef SYS_mmap2 - #define SYS_mmap2 __NR_mmap2 -+#endif - #define MMAP2_PAGE_SHIFT 12 - #else - #define SYS_mmap2 SYS_mmap - diff --git a/community/v4l-utils/fix-libdvbv5.patch b/community/v4l-utils/fix-libdvbv5.patch deleted file mode 100644 index 72e169adb4..0000000000 --- a/community/v4l-utils/fix-libdvbv5.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/lib/libdvbv5/dvb-dev-local.c -+++ b/lib/libdvbv5/dvb-dev-local.c -@@ -44,6 +44,15 @@ - # define _(string) string - #endif - -+/* taken from glibc unistd.h */ -+#ifndef TEMP_FAILURE_RETRY -+#define TEMP_FAILURE_RETRY(expression) \ -+ ({ long int __result; \ -+ do __result = (long int) (expression); \ -+ while (__result == -1L && errno == EINTR); \ -+ __result; }) -+#endif -+ - struct dvb_dev_local_priv { - dvb_dev_change_t notify_dev_change; - - |