summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-08 13:16:37 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-08 14:36:23 +0200
commitad0f85e57e0d89e7bc4eb6fc01345f4a4f952d27 (patch)
tree0f2f95658b1e361a5ad1de899d24b76993a6a0e5 /package/gcc
parent9dd523c48f8c9e250da8694308fe24e6bab2fdc8 (diff)
downloadbuildroot-ad0f85e57e0d89e7bc4eb6fc01345f4a4f952d27.tar.gz
buildroot-ad0f85e57e0d89e7bc4eb6fc01345f4a4f952d27.zip
gcc: add missing NIOS-II patch after bump to 4.9.3
When gcc 4.9.x was bumped from 4.9.2 to 4.9.3 in commit 2fed00ea1eaeca952f872120af79a46f39b0868c, patch 920-libgcc-remove-unistd-header.patch was removed with the argument that it had been applied upstream. However, it is not the case, and the patch continues to apply fine on gcc 4.9.3, and is actually needed to make gcc build properly on NIOS-II. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/4.9.3/920-libgcc-remove-unistd-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gcc/4.9.3/920-libgcc-remove-unistd-header.patch b/package/gcc/4.9.3/920-libgcc-remove-unistd-header.patch
new file mode 100644
index 0000000000..df5372bb5a
--- /dev/null
+++ b/package/gcc/4.9.3/920-libgcc-remove-unistd-header.patch
@@ -0,0 +1,12 @@
+Upstream status: In progress
+
+--- a/libgcc/config/nios2/linux-atomic.c
++++ b/libgcc/config/nios2/linux-atomic.c
+@@ -20,7 +20,6 @@
+ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+ <http://www.gnu.org/licenses/>. */
+
+-#include <asm/unistd.h>
+ #define EFAULT 14
+ #define EBUSY 16
+ #define ENOSYS 38
OpenPOWER on IntegriCloud