File: gcc-14.patch

package info (click to toggle)
mpg321 0.3.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 876 kB
  • sloc: ansic: 7,038; sh: 767; makefile: 46
file content (28 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Author: Andreas Tille <tille@debian.org>
Last-Update: 2024-11-06
Bug-Debian: https://bugs.debian.org/1075291
Description: Fix ftbfs with GCC-14
Forwarded: https://github.com/jomael/mpg321/issues/2

--- a/mpg321.c
+++ b/mpg321.c
@@ -99,7 +99,7 @@ int buffer_size = 0;
 /* PID of frame buffer process */
 pid_t output_pid;
 /* Not used for the moment. It only works for CBR http/ftp retrieved files */
-extern http_file_length;
+extern int http_file_length;
 #ifdef HAVE_ALSA
 /* ALSA Volume Range */
 extern long volume_min,volume_max;
--- a/options.c
+++ b/options.c
@@ -44,7 +44,7 @@ extern int proxy_enable;
 extern char *proxy_server;
 extern int auth_enable;
 extern int auth_enable_var;
-extern remote_restart;
+extern int remote_restart;
 /*Basic Authentication Arguments*/
 char *basic_auth = NULL;