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

Matthias Schiffer mschiffer at universe-factory.net
Sun May 8 06:44:59 EDT 2016


On 04/25/2016 11:41 AM, Weedy wrote:
> With the update to glibc 2.23, sys/types.h doesn't inherit
> sys/sysmacros.h anymore. We need to include it manually.


Hi,
what kind of system are you building on? Many distributions have updated to
glibc 2.23 (Arch Linux, Ubuntu), but don't seem to be affected by your issue.

Regards,
Matthias


> 
> 
> --- /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
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160508/f0c22390/attachment.sig>
-------------- next part --------------
_______________________________________________
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