[OpenWrt-Devel] [PATCH 01/??] [tools] make-ext4fs glibc >= 2.23 compat

Weedy weedy2887 at gmail.com
Mon Apr 25 05:41:18 EDT 2016


With the update to glibc 2.23, sys/types.h doesn't inherit
sys/sysmacros.h anymore. We need to include it manually.


--- /dev/null	2016-04-18 05:53:30.273258717 -0400
+++ tools/make-ext4fs/patches/125-glibc-2.23-sysmacros.patch	2016-04-24
14:50:33.932873523 -0400
@@ -0,0 +1,10 @@
+--- a/ext4_utils.h	2016-04-24 14:47:50.207888150 -0400
++++ b/ext4_utils.h	2016-04-24 14:48:11.761438966 -0400
+@@ -30,6 +30,7 @@
+ #include <unistd.h>
+
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <errno.h>
+ #include <stdarg.h>
+ #include <stdio.h>


This is a test for my mail client.
Please tell me if I need to change anything.
I have patched the rest of the host packages this update broke.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list