aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd-dbus/fix-dhcpcd.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-02-02 17:30:19 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-15 10:17:35 +0000
commite0378bdd54756829f03cf2d802dd4dacffa47604 (patch)
tree4a1989336650f3162f78d0a8bd76a58890a88ad8 /main/dhcpcd-dbus/fix-dhcpcd.patch
parenta542f61274291c8ff49152bc18112b57dec1cfb3 (diff)
downloadaports-e0378bdd54756829f03cf2d802dd4dacffa47604.tar.bz2
aports-e0378bdd54756829f03cf2d802dd4dacffa47604.tar.xz
main/dhcpcd-dbus: cleanups in patches, add dbus as dependency
Diffstat (limited to 'main/dhcpcd-dbus/fix-dhcpcd.patch')
-rw-r--r--main/dhcpcd-dbus/fix-dhcpcd.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/dhcpcd-dbus/fix-dhcpcd.patch b/main/dhcpcd-dbus/fix-dhcpcd.patch
new file mode 100644
index 0000000000..13e4f51161
--- /dev/null
+++ b/main/dhcpcd-dbus/fix-dhcpcd.patch
@@ -0,0 +1,22 @@
+--- a/dhcpcd.c
++++ b/dhcpcd.c
+@@ -664,7 +664,7 @@
+ return list;
+ }
+
+-#ifndef __GLIBC__
++#ifndef _GNU_SOURCE
+ /* Good enough for our needs */
+ static int
+ strverscmp(const char *s1, const char *s2)
+--- a/dhcpcd.h
++++ b/dhcpcd.h
+@@ -28,6 +28,8 @@
+ #ifndef DHCPCD_H
+ #define DHCPCD_H
+
++#include <sys/types.h>
++
+ extern char *dhcpcd_version;
+ extern const char *dhcpcd_status;
+