summaryrefslogtreecommitdiffstats
path: root/media-video/transcode/files/transcode-1.1.7-glibc-2.32.patch
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2023-12-29 08:53:21 +0300
committerSlávek Banko <slavek.banko@axis.cz>2023-12-29 09:42:52 +0100
commitf6cf1f3771a4ab653dfe6c478803fc8b5536e16d (patch)
tree426cd99495b4b9d8f88e7452a933e93b9e786791 /media-video/transcode/files/transcode-1.1.7-glibc-2.32.patch
parentded29ae43580ed846d3297e7881d0269806d9b8e (diff)
downloadtde-packaging-gentoo-f6cf1f3771a4ab653dfe6c478803fc8b5536e16d.tar.gz
tde-packaging-gentoo-f6cf1f3771a4ab653dfe6c478803fc8b5536e16d.zip
media-video/transcode: new package, add 1.1.7-r6
Salvage last version from upstream due to its removal Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 2eaf3a41556f0dd1df253163657faf6ee4059926)
Diffstat (limited to 'media-video/transcode/files/transcode-1.1.7-glibc-2.32.patch')
-rw-r--r--media-video/transcode/files/transcode-1.1.7-glibc-2.32.patch58
1 files changed, 58 insertions, 0 deletions
diff --git a/media-video/transcode/files/transcode-1.1.7-glibc-2.32.patch b/media-video/transcode/files/transcode-1.1.7-glibc-2.32.patch
new file mode 100644
index 00000000..12ef638d
--- /dev/null
+++ b/media-video/transcode/files/transcode-1.1.7-glibc-2.32.patch
@@ -0,0 +1,58 @@
+--- a/import/v4l/import_v4l2.c 2020-08-28 08:28:44.311434934 +0000
++++ b/import/v4l/import_v4l2.c 2020-08-28 08:41:19.279323984 +0000
+@@ -455,7 +455,7 @@
+ tc_log_warn(MOD_NAME,
+ "driver does not support cropping"
+ "(ioctl(VIDIOC_CROPCAP) returns \"%s\"), disabled",
+- errno <= sys_nerr ? sys_errlist[errno] : "unknown");
++ strerror(errno));
+ return TC_ERROR;
+ }
+ if (verbose_flag > TC_INFO) {
+@@ -485,7 +485,7 @@
+ tc_log_warn(MOD_NAME,
+ "driver does not support inquiring cropping"
+ " parameters (ioctl(VIDIOC_G_CROP) returns \"%s\")",
+- errno <= sys_nerr ? sys_errlist[errno] : "unknown");
++ strerror(errno));
+ return -1;
+ }
+
+@@ -513,7 +513,7 @@
+ tc_log_warn(MOD_NAME,
+ "driver does not support inquering cropping"
+ " parameters (ioctl(VIDIOC_G_CROP) returns \"%s\")",
+- errno <= sys_nerr ? sys_errlist[errno] : "unknown");
++ strerror(errno));
+ return -1;
+ }
+ if (verbose_flag > TC_INFO) {
+@@ -613,7 +613,7 @@
+ if (err < 0) {
+ if (verbose_flag) {
+ tc_log_warn(MOD_NAME, "driver does not support setting parameters (ioctl(VIDIOC_S_PARM) returns \"%s\")",
+- errno <= sys_nerr ? sys_errlist[errno] : "unknown");
++ strerror(errno));
+ }
+ }
+ return TC_OK;
+@@ -628,7 +628,7 @@
+ err = ioctl(vs->video_fd, VIDIOC_G_STD, &stdid);
+ if (err < 0) {
+ tc_log_warn(MOD_NAME, "driver does not support get std (ioctl(VIDIOC_G_STD) returns \"%s\")",
+- errno <= sys_nerr ? sys_errlist[errno] : "unknown");
++ strerror(errno));
+ memset(&stdid, 0, sizeof(v4l2_std_id));
+ }
+
+--- a/import/v4l/import_v4lcam.c 2020-10-02 13:28:47.215179051 +0700
++++ b/import/v4l/import_v4lcam.c 2020-10-02 13:28:40.132224906 +0700
+@@ -368,7 +368,7 @@ static int tc_v4l2_video_setup_stream_pa
+ if (err < 0) {
+ tc_log_warn(MOD_NAME, "driver does not support setting parameters"
+ " (ioctl(VIDIOC_S_PARM) returns \"%s\")",
+- errno <= sys_nerr ? sys_errlist[errno] : "unknown");
++ strerror(errno));
+ }
+ return TC_OK;
+ }