summaryrefslogtreecommitdiff
path: root/math/reduce
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-01-13 16:12:54 +0000
committerSteve Wills <swills@FreeBSD.org>2019-01-13 16:12:54 +0000
commitfb13f7c5cdbe4b8a1e8ff77a35746de8bb545321 (patch)
tree26dcaf79fd99d22d9edb2d8ef1c99783b213eb97 /math/reduce
parentx11/mlterm: Remove libfontconfig from REGIS_LIB_DEPENDS (diff)
math/reduce: fix stage-qa issues
PR: 234873 Submitted by: pfg (maintainer)
Notes
Notes: svn path=/head/; revision=490153
Diffstat (limited to 'math/reduce')
-rw-r--r--math/reduce/Makefile6
-rw-r--r--math/reduce/files/patch-generic_newfront_redfront.h14
2 files changed, 18 insertions, 2 deletions
diff --git a/math/reduce/Makefile b/math/reduce/Makefile
index 041f74d3ad96..99e1ced3b137 100644
--- a/math/reduce/Makefile
+++ b/math/reduce/Makefile
@@ -18,11 +18,13 @@ BROKEN_powerpc64= fails to compile: arith01.cpp: 'statuc' does not name a type
BUILD_DEPENDS= gnuplot:math/gnuplot
-LIB_DEPENDS= libpng.so:graphics/png \
+LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2 \
+ libpng.so:graphics/png \
libtiff.so:graphics/tiff
USES= autoreconf:build libtool gmake ncurses jpeg
-USE_XORG= x11 xext xorgproto xft
+USE_XORG= x11 xcursor xext xorgproto xft xrandr xrender
SFSUBDIR= snapshot_2018-11-23
diff --git a/math/reduce/files/patch-generic_newfront_redfront.h b/math/reduce/files/patch-generic_newfront_redfront.h
new file mode 100644
index 000000000000..49428f210f5e
--- /dev/null
+++ b/math/reduce/files/patch-generic_newfront_redfront.h
@@ -0,0 +1,14 @@
+--- generic/newfront/redfront.h.orig 2018-06-17 19:20:00 UTC
++++ generic/newfront/redfront.h
+@@ -114,8 +114,11 @@ typedef void (*sig_t)(int);
+ * version is different...
+ */
+ #ifndef NATIVE_WINDOWS
++
+ #include "sys.h"
++#ifndef wcwidth
+ extern int wcwidth(wchar_t c);
++#endif
+ #include "chartype.h"
+ #endif
+