Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2020 21:06:53 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r547125 - branches/2020Q3/math/reduce/files
Message-ID:  <202008302106.07UL6r0N031398@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Sun Aug 30 21:06:53 2020
New Revision: 547125
URL: https://svnweb.freebsd.org/changeset/ports/547125

Log:
  MFH: r547124
  
  math/reduce: fix the build with LLVM 11
  
  reduce started to fail with the default switch to -fno-common in LLVM 11
  (and GCC 10). This patch was written then confirmed to be the fix that
  upstream also provided in late March.
  
  Approved by:	ports-secteam (implicit, -fno-common build fix)

Modified:
  branches/2020Q3/math/reduce/files/patch-generic_newfront_redfront.h
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/math/reduce/files/patch-generic_newfront_redfront.h
==============================================================================
--- branches/2020Q3/math/reduce/files/patch-generic_newfront_redfront.h	Sun Aug 30 21:06:10 2020	(r547124)
+++ branches/2020Q3/math/reduce/files/patch-generic_newfront_redfront.h	Sun Aug 30 21:06:53 2020	(r547125)
@@ -12,3 +12,14 @@
  #include "chartype.h"
  #endif
  
+@@ -133,8 +133,8 @@ extern int wcwidth(wchar_t c);
+ #define HANDLE_T int
+ #endif
+ 
+-HANDLE_T MeToReduce[2];
+-HANDLE_T ReduceToMe[2];
++extern HANDLE_T MeToReduce[2];
++extern HANDLE_T ReduceToMe[2];
+ extern int redread(HANDLE_T h, void *buffer, int len);
+ extern int redwrite(HANDLE_T h, void *buffer, int len);
+ extern void redclose(HANDLE_T h);



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