package/gnutls: fix build with uClibc
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Tue, 23 Jun 2020 10:15:33 +0000 (12:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 9 Jul 2020 07:16:35 +0000 (09:16 +0200)
commit838f67c27f0cf1f3c363e2156d5c4813b9cac9eb
tree511f4f56fbe2539c9e574ae990477d686580eaed
parentb6141b2aa127cebb29bfff7a0beb392251972092
package/gnutls: fix build with uClibc

Since v3.6.14 gnutls wants to use the 'e' flag with fopen to set the
O_CLOEXEC flags. Since this is a glibc extension, it will trigger a
gnulib override of fopen on non-glibc systems, but that override
breaks the uClibc stdio.h header.

Fixes:
http://autobuild.buildroot.org/results/02f/02f2b524add307c8f7cc1af1ed0783bb1baf029a

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gnutls/0001-Fix-gnulib-stdio.h-include-on-uclibc.patch [new file with mode: 0644]