aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd-dbus/strverscmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dhcpcd-dbus/strverscmp.patch')
-rw-r--r--main/dhcpcd-dbus/strverscmp.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/dhcpcd-dbus/strverscmp.patch b/main/dhcpcd-dbus/strverscmp.patch
new file mode 100644
index 0000000000..70507b77e3
--- /dev/null
+++ b/main/dhcpcd-dbus/strverscmp.patch
@@ -0,0 +1,21 @@
+--- old/dhcpcd.c
++++ new/dhcpcd.c
+@@ -664,8 +664,7 @@
+ return list;
+ }
+
+-#ifndef __GLIBC__
+-/* Good enough for our needs */
++/*
+ static int
+ strverscmp(const char *s1, const char *s2)
+ {
+@@ -687,7 +686,7 @@
+ return r;
+ return s1part - s2part;
+ }
+-#endif
++*/
+
+ void
+ dhcpcd_init(_unused void *data)