uclibc: backport upstream patch adding fcntl definitions on OpenRISC
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 20 Apr 2018 09:55:22 +0000 (11:55 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 21 Apr 2018 12:52:57 +0000 (14:52 +0200)
commit7fb6fe883a6ee360aa861fdae93d7441f9f5d52d
tree927f994a64e6f34ff33c6001fa7716c51439efa3
parent04a052d908be6ce187da361f31b5b7699999dd34
uclibc: backport upstream patch adding fcntl definitions on OpenRISC

A number of fcntl.h definitions were missing on OpenRISC in uClibc-ng,
causing build failures such as:

gfile.c: In function 'splice_stream_with_progress':
gfile.c:3017:35: error: 'F_SETPIPE_SZ' undeclared (first use in this function)
   buffer_size = fcntl (buffer[1], F_SETPIPE_SZ, 1024 * 1024);

This comit backports a patch that was merged in upstream uClibc-ng,
which addresses this problem.

Fixes:

  http://autobuild.buildroot.net/results/182ebbba6c7466b07e965e5120d919cbcf5e9da6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/uclibc/0002-or1k-add-F_-DUPFD_CLOEXEC-SETPIPE_SZ-GETPIPE_SZ.patch [new file with mode: 0644]