summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-07-23 09:17:27 +0200
committerUlrich Müller <ulm@gentoo.org>2019-07-23 09:18:51 +0200
commitf799bef8d9836659126a079ed99e5510d1f08707 (patch)
tree5785886a88bc0e65b72b99a5e0f194f8eeb0873f /sci-visualization
parentsys-libs/glibc: expose a knob to downgrade glibc (diff)
downloadgentoo-f799bef8d9836659126a079ed99e5510d1f08707.tar.gz
gentoo-f799bef8d9836659126a079ed99e5510d1f08707.tar.bz2
gentoo-f799bef8d9836659126a079ed99e5510d1f08707.zip
sci-visualization/gnuplot: Fix compilation with USE=caca.
Closes: https://bugs.gentoo.org/690014 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gnuplot/files/gnuplot-5.2.6-caca.patch13
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.2.6.ebuild1
-rw-r--r--sci-visualization/gnuplot/gnuplot-5.2.7.ebuild1
3 files changed, 15 insertions, 0 deletions
diff --git a/sci-visualization/gnuplot/files/gnuplot-5.2.6-caca.patch b/sci-visualization/gnuplot/files/gnuplot-5.2.6-caca.patch
new file mode 100644
index 000000000000..4441e4b8c036
--- /dev/null
+++ b/sci-visualization/gnuplot/files/gnuplot-5.2.6-caca.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/690014
+https://sourceforge.net/p/gnuplot/mailman/message/34342174/
+
+--- gnuplot-5.2.6-orig/configure.ac
++++ gnuplot-5.2.6/configure.ac
+@@ -1224,6 +1224,7 @@
+ if test "${enable_qt_ok}" = yes \
+ || test "${enable_wxwidgets_ok}" = yes \
+ || test "$GGI_SUPPORT" = yes \
++ || test "$with_caca" = yes \
+ || test "$no_x" != yes; then
+ enable_mouse=yes;
+ fi
diff --git a/sci-visualization/gnuplot/gnuplot-5.2.6.ebuild b/sci-visualization/gnuplot/gnuplot-5.2.6.ebuild
index fbf264300569..6ee94c17ade1 100644
--- a/sci-visualization/gnuplot/gnuplot-5.2.6.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.2.6.ebuild
@@ -70,6 +70,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
eapply "${FILESDIR}"/${PN}-5.0.6-no-picins.patch
eapply "${FILESDIR}"/${PN}-5.2.2-regis.patch
+ eapply "${FILESDIR}"/${PN}-5.2.6-caca.patch
eapply_user
if [[ -z ${PV%%*9999} ]]; then
diff --git a/sci-visualization/gnuplot/gnuplot-5.2.7.ebuild b/sci-visualization/gnuplot/gnuplot-5.2.7.ebuild
index 4ea9c17d1442..9ac0df288a51 100644
--- a/sci-visualization/gnuplot/gnuplot-5.2.7.ebuild
+++ b/sci-visualization/gnuplot/gnuplot-5.2.7.ebuild
@@ -70,6 +70,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch
eapply "${FILESDIR}"/${PN}-5.0.6-no-picins.patch
eapply "${FILESDIR}"/${PN}-5.2.2-regis.patch
+ eapply "${FILESDIR}"/${PN}-5.2.6-caca.patch
eapply_user
if [[ -z ${PV%%*9999} ]]; then