mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
devel/psptoolchain-gcc-stage1: fix build with GCC-based architectures of stage2
PR: 238249 Submitted by: tphilipp@potion-studios.com (maintainer) Approved by: tphilipp@potion-studios.com (maintainer), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21118
This commit is contained in:
parent
89a5e6cd1a
commit
c08e1bbf7c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508131
2 changed files with 24 additions and 0 deletions
12
devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.gperf
Normal file
12
devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.gperf
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- gcc/cp/cfns.gperf.orig 2019-07-29 17:16:37.155805000 +0200
|
||||
+++ gcc/cp/cfns.gperf
|
||||
@@ -22,6 +22,9 @@
|
||||
static unsigned int hash (const char *, unsigned int);
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
+#ifdef __GNUC_STDC_INLINE__
|
||||
+__attribute__ ((__gnu_inline__))
|
||||
+#endif
|
||||
#endif
|
||||
const char * libc_name_p (const char *, unsigned int);
|
||||
%}
|
12
devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.h
Normal file
12
devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- gcc/cp/cfns.h.orig 2019-07-29 17:16:40.469655000 +0200
|
||||
+++ gcc/cp/cfns.h
|
||||
@@ -53,6 +53,9 @@
|
||||
static unsigned int hash (const char *, unsigned int);
|
||||
#ifdef __GNUC__
|
||||
__inline
|
||||
+#ifdef __GNUC_STDC_INLINE__
|
||||
+__attribute__ ((__gnu_inline__))
|
||||
+#endif
|
||||
#endif
|
||||
const char * libc_name_p (const char *, unsigned int);
|
||||
/* maximum key range = 391, duplicates = 0 */
|
Loading…
Add table
Reference in a new issue