summaryrefslogtreecommitdiffstats
path: root/multimedia/transcode/transcode-1.1.7-gcc10.patch
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2021-01-23 19:03:24 +0100
committer Robby Workman <rworkman@slackbuilds.org>2021-04-18 00:02:34 -0500
commitb4b0e2da9d0f4cce3cfe07962a49aca33e85739d (patch)
tree841401918a703a770e6ec60cf5e357c0ba0aef66 /multimedia/transcode/transcode-1.1.7-gcc10.patch
parent957ebb00a3a8f986ce0ff89895fde91d3d898048 (diff)
downloadslackbuilds-b4b0e2da9d0f4cce3cfe07962a49aca33e85739d.tar.gz
slackbuilds-b4b0e2da9d0f4cce3cfe07962a49aca33e85739d.tar.xz
multimedia/transcode: Patch for glibc >= 2.32, gcc >= 10.x.
...ffmpeg >= 4.x and imagemagick >= 7.x. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/transcode/transcode-1.1.7-gcc10.patch')
-rw-r--r--multimedia/transcode/transcode-1.1.7-gcc10.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/multimedia/transcode/transcode-1.1.7-gcc10.patch b/multimedia/transcode/transcode-1.1.7-gcc10.patch
new file mode 100644
index 0000000000..fcee415dee
--- /dev/null
+++ b/multimedia/transcode/transcode-1.1.7-gcc10.patch
@@ -0,0 +1,48 @@
+--- a/import/demux_pass.c
++++ b/import/demux_pass.c
+@@ -32,8 +32,6 @@
+ #include "packets.h"
+
+
+-int gop, gop_pts, gop_cnt;
+-
+ /* if you listen carefully, then you can hear the desesperate
+ * whisper of this code calling for a rewrite. Or for a redesign.
+ * Or both. -- FR
+--- a/import/extract_ac3.c
++++ b/import/extract_ac3.c
+@@ -334,7 +334,6 @@
+ FILE *fd;
+
+ #define MAX_BUF 4096
+-char audio[MAX_BUF];
+
+
+ /* from ac3scan.c */
+@@ -472,6 +471,8 @@
+ void extract_ac3(info_t *ipipe)
+ {
+
++ char audio[MAX_BUF];
++
+ int error=0;
+
+ avi_t *avifile;
+--- a/import/extract_mp3.c
++++ b/import/extract_mp3.c
+@@ -243,7 +243,6 @@
+ }
+
+ #define MAX_BUF 4096
+-char audio[MAX_BUF];
+
+ /* ------------------------------------------------------------
+ *
+@@ -258,6 +257,7 @@
+
+ void extract_mp3(info_t *ipipe)
+ {
++ char audio[MAX_BUF];
+
+ int error=0;
+