Files
gentoo/sys-apps/udevil/files/udevil-0.4.4-include-sysmacros.patch
Daniel Campbell 36c87cf957 sys-apps/udevil: revbump, fixes bug 580364
Upstream is adopting a similar fix and it won't be needed for 0.4.5.

Gentoo-Bug: 580364
Gentoo-Bug-URL: https://bugs.gentoo.org/580364

Package-Manager: Portage-2.3.3, Repoman-2.3.1
2017-01-02 07:38:44 -08:00

16 lines
398 B
Diff

# Include sysmacros.h, solves Gentoo bug 580364
# Upstream has merged similar changes, should be present
# in 0.4.5
--- a/src/udevil.c 2015-05-04 06:34:32.000000000 -0700
+++ b/src/udevil.c 2017-01-02 07:25:14.744273858 -0800
@@ -33,6 +33,9 @@
#include <netdb.h>
#include <arpa/inet.h>
+// major/minor, dev_t, needed for glibc>=2.25
+#include <sys/sysmacros.h>
+
// groups
#include <grp.h>