Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2019 23:12:34 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508131 - head/devel/psptoolchain-gcc-stage1/files
Message-ID:  <201908042312.x74NCYDW033089@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Aug  4 23:12:34 2019
New Revision: 508131
URL: https://svnweb.freebsd.org/changeset/ports/508131

Log:
  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

Added:
  head/devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.gperf   (contents, props changed)
  head/devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.h   (contents, props changed)

Added: head/devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.gperf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.gperf	Sun Aug  4 23:12:34 2019	(r508131)
@@ -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);
+ %}

Added: head/devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/psptoolchain-gcc-stage1/files/patch-gcc_cp_cfns.h	Sun Aug  4 23:12:34 2019	(r508131)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908042312.x74NCYDW033089>