summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-09-15 16:53:03 +0100
committerVincent Sanders <vince@kyllikki.org>2017-09-15 16:53:03 +0100
commit6582b5657d78bfb6b5923a9a2d908679f6781ab6 (patch)
treeb3fed45de307dc52087eae0f2e3fbeeb7756b715
parent41bba10ad7e11b9a3431f7a187ba2a8455eeb945 (diff)
downloadtoolchains-6582b5657d78bfb6b5923a9a2d908679f6781ab6.tar.gz
toolchains-6582b5657d78bfb6b5923a9a2d908679f6781ab6.tar.bz2
apply gperf patch to header too
-rw-r--r--i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_h.p17
1 files changed, 17 insertions, 0 deletions
diff --git a/i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_h.p b/i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_h.p
new file mode 100644
index 0000000..1aa0114
--- /dev/null
+++ b/i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_h.p
@@ -0,0 +1,17 @@
+--- gcc/gcc/cp/cfns.h.orig 2017-09-15 16:50:55.872127506 +0100
++++ gcc/gcc/cp/cfns.h 2017-09-15 16:51:18.147443810 +0100
+@@ -47,14 +47,6 @@
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+-#ifdef __GNUC__
+-__inline
+-#endif
+-static unsigned int hash (const char *, unsigned int);
+-#ifdef __GNUC__
+-__inline
+-#endif
+-const char * libc_name_p (const char *, unsigned int);
+ /* maximum key range = 391, duplicates = 0 */
+
+ #ifdef __GNUC__