File: fix-build-with-gcc-14.patch

package info (click to toggle)
floatbg 1.0-28.3
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 152 kB
  • sloc: ansic: 741; makefile: 49
file content (17 lines) | stat: -rw-r--r-- 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix build with GCC-14
Author: Marcos Talau <talau@debian.org>
Bug-Debian: https://bugs.debian.org/1074960
Last-Update: 2024-08-27

Index: floatbg-1.0/floatbg.c
===================================================================
--- floatbg-1.0.orig/floatbg.c
+++ floatbg-1.0/floatbg.c
@@ -21,6 +21,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 #include <signal.h>
+#include <string.h>
 
 #define MaxColor 	0xffff
 #define MaxTime  	0x7fff