svn commit: r547125 - branches/2020Q3/math/reduce/files

Kyle Evans kevans at FreeBSD.org
Sun Aug 30 21:06:53 UTC 2020


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);


More information about the svn-ports-all mailing list