diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch')
| -rw-r--r-- | sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch b/sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch new file mode 100644 index 000000000000..613a028ee79b --- /dev/null +++ b/sci-visualization/gnuplot/files/gnuplot-5.2.2-regis.patch @@ -0,0 +1,43 @@ +Add configure option for ReGIS support. +https://bugs.gentoo.org/643888 + +--- gnuplot-5.2.2-orig/configure.ac ++++ gnuplot-5.2.2/configure.ac +@@ -1057,6 +1057,13 @@ + AC_DEFINE(HAVE_MIF,1, + [ Define to include support for mif terminal ],)) + ++dnl ReGIS terminal ++AC_ARG_WITH(regis,dnl ++[ --with-regis ReGIS terminal]) ++AS_IF([test "x${with_regis}" = "xyes"], ++ AC_DEFINE(HAVE_REGIS,1, ++ [ Define to include support for ReGIS terminal ],)) ++ + AC_ARG_WITH(cairo,dnl + [ --without-cairo cairo-based terminals (default enabled)],, + [test -z "${with_cairo}" && with_cairo=yes]) +@@ -1350,6 +1357,12 @@ + AC_MSG_RESULT([ mif terminal: no (use --with-mif to enable)]) + fi + ++if test "$with_regis" = yes; then ++ AC_MSG_RESULT([ ReGIS terminal: yes]) ++else ++ AC_MSG_RESULT([ ReGIS terminal: no (use --with-regis to enable)]) ++fi ++ + if test "$is_msdos" = yes; then + AC_MSG_RESULT([ svga terminal (MSDOS/djgpp): yes]) + fi +--- gnuplot-5.2.2-orig/src/term.h ++++ gnuplot-5.2.2/src/term.h +@@ -182,7 +182,7 @@ + #endif + + /* REGIS graphics language */ +-#ifdef VMS ++#if defined(VMS) || defined(HAVE_REGIS) + # include "regis.trm" + #endif + |
