svn commit: r547124 - head/math/reduce/files
Kyle Evans
kevans at FreeBSD.org
Sun Aug 30 21:06:11 UTC 2020
Author: kevans
Date: Sun Aug 30 21:06:10 2020
New Revision: 547124
URL: https://svnweb.freebsd.org/changeset/ports/547124
Log:
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.
MFH: 2020Q3 (-fno-common build fix)
Modified:
head/math/reduce/files/patch-generic_newfront_redfront.h
Modified: head/math/reduce/files/patch-generic_newfront_redfront.h
==============================================================================
--- head/math/reduce/files/patch-generic_newfront_redfront.h Sun Aug 30 21:02:42 2020 (r547123)
+++ head/math/reduce/files/patch-generic_newfront_redfront.h Sun Aug 30 21:06:10 2020 (r547124)
@@ -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-head
mailing list