summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2020-12-08 16:57:53 -0600
committerJoel Sherrill <joel@rtems.org>2020-12-10 15:08:12 -0600
commit803d42cda7b3360128126bc2748b5d2b452a8973 (patch)
treedb5f47f3de0387cbad797b675f2350c1a2fa6d6c
parentpkgconfig.py: Removed use of "unicode" keyword for python3 compatibility (diff)
downloadrtems-source-builder-803d42cda7b3360128126bc2748b5d2b452a8973.tar.bz2
Add patch to newlib for devctl.h to compile with C++
Closes #4174.
-rw-r--r--rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.cfg b/rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.cfg
index cf62d2f..b02ced3 100644
--- a/rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.cfg
+++ b/rtems/config/tools/rtems-gcc-7.5.0-newlib-7947581.cfg
@@ -23,6 +23,10 @@
%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
%hash sha512 newlib-%{newlib_version}.tar.gz 3122fcced8c3c9f5e6c9103bc882958364f3bc7f1806843ff470ed70cd2b9c5c239b9a905c08341ee4d0988e26022fb5da7e565e8af984cd00724288416158d8
+# Patch for devctl.h C++ issue (#4174)
+%patch add newlib --rsb-file=newlib-devctl-fix.patch -p1 https://devel.rtems.org/raw-attachment/ticket/4174/0001-libc-include-newlib.h-Fix-C-compilation-issue.patch
+%hash sha512 newlib-devctl-fix.patch 28723fa2a8b263a40cf53a5812201464140e7c4f3a04132cb96f6f64d62c2ab5e70743f4d5ccb057829e9f317097b9fef21f1817e584902e1424f6feb43a64cf
+
%define isl_version 0.16.1
%hash sha512 isl-%{isl_version}.tar.bz2 c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf41301cf285fb7328846d9a367c096012fec4cc69d244f0bc9e95d84c09ec097394cd4093076f2a041b