summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Mollier <emollier@debian.org>2024-03-13 21:38:17 +0100
committerÉtienne Mollier <emollier@debian.org>2024-03-13 21:38:17 +0100
commit3043c218631b8dc8d36a05feddd54d3e6f5c9359 (patch)
treef142f8587529ad8a053bb04184cdbc23cabcdadc
parent5730327beb0e9680d08e2aae4b85173e2b6a6267 (diff)
fix-missing-include.patch: new: fix ftbfs with dpkg.
Closes: #1066534
-rw-r--r--debian/patches/fix-missing-include.patch20
-rw-r--r--debian/patches/series1
2 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/fix-missing-include.patch b/debian/patches/fix-missing-include.patch
new file mode 100644
index 0000000..7aaf861
--- /dev/null
+++ b/debian/patches/fix-missing-include.patch
@@ -0,0 +1,20 @@
+Description: fix missing include.
+Author: Étienne Mollier <emollier@debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066534
+Forwarded: https://github.com/thegenemyers/DALIGNER/pull/96
+Last-Update: 2024-03-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- daligner.orig/ONElib.c
++++ daligner/ONElib.c
+@@ -16,8 +16,10 @@
+ *
+ ****************************************************************************************/
+
++#define _GNU_SOURCE
+ #include <sys/errno.h>
+ #include <sys/types.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/resource.h>
diff --git a/debian/patches/series b/debian/patches/series
index de87cdb..a9ce9fd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ lddflags.patch
destdir-install.patch
cross.patch
cppflags.patch
+fix-missing-include.patch