summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2024-03-10 13:16:18 +0100
committergregor herrmann <gregoa@debian.org>2024-03-10 13:16:18 +0100
commitce7ee2af1623b0dedc81a80fc676de24f123b36f (patch)
tree3ce10c47c517001e292f0c38ae2a9ed6cb1b1acf
parent2a5c60e2a97dc24babffc57e6e31cf7142e34815 (diff)
Add patch to add missing #includes.
Closes: #1065762
-rw-r--r--debian/patches/implicit-function-declaration.patch22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/implicit-function-declaration.patch b/debian/patches/implicit-function-declaration.patch
new file mode 100644
index 0000000..621828b
--- /dev/null
+++ b/debian/patches/implicit-function-declaration.patch
@@ -0,0 +1,22 @@
+Description: add more #includes
+ for building with -Werror=implicit-function-declaration
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/1065762
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2024-03-10
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=152236
+Bug: https://rt.cpan.org/Ticket/Display.html?id=152236
+
+--- a/cddb_lookup.c
++++ b/cddb_lookup.c
+@@ -21,6 +21,10 @@
+ #include "cdaudio.h"
+ #include "cddb_lookup.h"
+ #include "stdio.h"
++#include <stdlib.h>
++#include <string.h>
++#include <sys/socket.h>
++#include <signal.h>
+
+ #define PACKAGE "Audio::CD"
+
diff --git a/debian/patches/series b/debian/patches/series
index d482304..fbd6e68 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_pod
+implicit-function-declaration.patch