[Debian-ha-commits] [sbd] 01/02: debian/patches: fix build with glibc 2.25 (Closes: #882624)

Valentin Vidic vvidic-guest at moszumanska.debian.org
Sat Nov 25 08:11:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository sbd.

commit 91e53d08974b620271a7aafd64052cb791a26826
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Sat Nov 25 08:19:10 2017 +0100

    debian/patches: fix build with glibc 2.25 (Closes: #882624)
    
    makedev, major and minor now imported from <sys/sysmacros.h>
---
 debian/patches/glibc-errors.patch | 10 ++++++++++
 debian/patches/series             |  1 +
 2 files changed, 11 insertions(+)

diff --git a/debian/patches/glibc-errors.patch b/debian/patches/glibc-errors.patch
new file mode 100644
index 0000000..cb995fa
--- /dev/null
+++ b/debian/patches/glibc-errors.patch
@@ -0,0 +1,10 @@
+--- a/src/sbd-common.c
++++ b/src/sbd-common.c
+@@ -19,6 +19,7 @@
+ #include "sbd.h"
+ #include <sys/reboot.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <pwd.h>
+ #include <unistd.h>
diff --git a/debian/patches/series b/debian/patches/series
index 7dbeef4..9e3dcc5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 sbd-init.patch
 gcc-errors.patch
+glibc-errors.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/sbd.git



More information about the Debian-HA-Commits mailing list