From 6582b5657d78bfb6b5923a9a2d908679f6781ab6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 15 Sep 2017 16:53:03 +0100 Subject: apply gperf patch to header too --- i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_h.p | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_h.p 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 + . */ +-#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__ -- cgit v1.2.3