summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2018-12-08 18:27:22 +0000
committerDmitry Bogatov <KAction@debian.org>2018-12-08 21:43:03 +0000
commitdc7e3750fe67f2d924ce7314a0b34d6fbc6f99c2 (patch)
tree087305e37c3c575f6a0026bd185f0039b1b17097
parent718ade29b86aefb2c65d2e8bf6b2f34670670e0f (diff)
Fix FTBFS with glibc-2.28 (Closes: #915962)
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/102-fix-compatibility-with-glib-2.28.patch12
-rw-r--r--debian/patches/series1
3 files changed, 15 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index ca73979..739b11e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ startpar (0.61-1) UNRELEASED; urgency=medium
* New upstream release
* Update upstream signing key
* Remove obsolete conffile (Closes: #768939)
+ * Fix FTBFS with glibc-2.28 (Closes: #915962)
+ + Thanks: Samuel Thibault <sthibault@debian.org>
-- Dmitry Bogatov <KAction@debian.org> Sun, 25 Nov 2018 00:00:59 +0000
diff --git a/debian/patches/102-fix-compatibility-with-glib-2.28.patch b/debian/patches/102-fix-compatibility-with-glib-2.28.patch
new file mode 100644
index 0000000..dd200a8
--- /dev/null
+++ b/debian/patches/102-fix-compatibility-with-glib-2.28.patch
@@ -0,0 +1,12 @@
+Index: startpar/proc.c
+===================================================================
+--- startpar.orig/proc.c
++++ startpar/proc.c
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <termios.h>
+ #include <fcntl.h>
diff --git a/debian/patches/series b/debian/patches/series
index 03d23df..0f16df1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
30_testsuite_insserv.patch
81_timeout.patch
99-fix-spelling-error.patch
+102-fix-compatibility-with-glib-2.28.patch