public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/prefix:master commit in: sys-devel/gcc/files/
@ 2020-11-24 12:36 Fabian Groffen
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen @ 2020-11-24 12:36 UTC (permalink / raw
  To: gentoo-commits

commit:     981437103b13af8bce24296d59a99af56a238678
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 24 12:36:46 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Nov 24 12:36:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=98143710

sys-devel/gcc-10.1.0: ensure fixincludes addition is compiled

Package-Manager: Portage-3.0.10-prefix, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 .../files/gcc-10.1.0-darwin-auth-fixincludes.patch | 78 ++++++++++++++++++++++
 1 file changed, 78 insertions(+)

diff --git a/sys-devel/gcc/files/gcc-10.1.0-darwin-auth-fixincludes.patch b/sys-devel/gcc/files/gcc-10.1.0-darwin-auth-fixincludes.patch
index d5e100f6c2..84d5ea3632 100644
--- a/sys-devel/gcc/files/gcc-10.1.0-darwin-auth-fixincludes.patch
+++ b/sys-devel/gcc/files/gcc-10.1.0-darwin-auth-fixincludes.patch
@@ -20,3 +20,81 @@
   *  For the AAB_darwin7_9_long_double_funcs fix (and later fixes for long long)
   *  to be useful, the main math.h must use <> and not "" includes.
   */
+--- a/fixincludes/fixincl.x
++++ b/fixincludes/fixincl.x
+@@ -2686,6 +2686,43 @@
+ 
+ /* * * * * * * * * * * * * * * * * * * * * * * * * *
+  *
++ *  Description of Darwin_Authorization fix
++ */
++tSCC zDarwin_AuthorizationName[] =
++     "darwin_authorization";
++
++/*
++ *  File name selection pattern
++ */
++tSCC zDarwin_AuthorizationList[] =
++  "Frameworks/Security.framework/Headers/Authorization.h\0";
++/*
++ *  Machine/OS name selection pattern
++ */
++tSCC* apzDarwin_AuthorizationMachs[] = {
++        "*-*-darwin*",
++        (const char*)NULL };
++
++/*
++ *  content selection pattern - do fix if pattern found
++ */
++tSCC zDarwin_AuthorizationSelect0[] =
++       "static const size_t kAuthorizationExternalFormLength = 32;\n";
++
++#define    DARWIN_AUTHORIZATION_TEST_CT  1
++static tTestDesc aDarwin_AuthorizationTests[] = {
++  { TT_EGREP,    zDarwin_AuthorizationSelect0, (regex_t*)NULL }, };
++
++/*
++ *  Fix Command Arguments for Darwin_Authorization
++ */
++static const char* apzDarwin_AuthorizationPatch[] = {
++    "format",
++    "enum { kAuthorizationExternalFormLength = 32 };\n",
++    (char*)NULL };
++
++/* * * * * * * * * * * * * * * * * * * * * * * * * *
++ *
+  *  Description of Darwin_9_Long_Double_Funcs_2 fix
+  */
+ tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
+@@ -10476,9 +10513,9 @@
+  *
+  *  List of all fixes
+  */
+-#define REGEX_COUNT          296
++#define REGEX_COUNT          297
+ #define MACH_LIST_SIZE_LIMIT 187
+-#define FIX_COUNT            258
++#define FIX_COUNT            259
+ 
+ /*
+  *  Enumerate the fixes
+@@ -10547,6 +10584,7 @@
+     CTRL_QUOTES_USE_FIXIDX,
+     CXX_UNREADY_FIXIDX,
+     DARWIN_AVAILABILITYINTERNAL_FIXIDX,
++    DARWIN_AUTHORIZATION_FIXIDX,
+     DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
+     DARWIN_EXTERNC_FIXIDX,
+     DARWIN_GCC4_BREAKAGE_FIXIDX,
+@@ -11060,6 +11098,11 @@
+      DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+      aDarwin_AvailabilityinternalTests,   apzDarwin_AvailabilityinternalPatch, 0 },
+ 
++  {  zDarwin_AuthorizationName,    zDarwin_AuthorizationList,
++     apzDarwin_AuthorizationMachs,
++     DARWIN_AUTHORIZATION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
++     aDarwin_AuthorizationTests,   apzDarwin_AuthorizationPatch, 0 },
++
+   {  zDarwin_9_Long_Double_Funcs_2Name,    zDarwin_9_Long_Double_Funcs_2List,
+      apzDarwin_9_Long_Double_Funcs_2Machs,
+      DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-24 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-24 12:36 [gentoo-commits] repo/proj/prefix:master commit in: sys-devel/gcc/files/ Fabian Groffen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox