sci-visualization/gnuplot: Fix compilation with USE=caca.
authorUlrich Müller <ulm@gentoo.org>
Tue, 23 Jul 2019 07:17:27 +0000 (09:17 +0200)
committerUlrich Müller <ulm@gentoo.org>
Tue, 23 Jul 2019 07:18:51 +0000 (09:18 +0200)
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>
sci-visualization/gnuplot/files/gnuplot-5.2.6-caca.patch [new file with mode: 0644]
sci-visualization/gnuplot/gnuplot-5.2.6.ebuild
sci-visualization/gnuplot/gnuplot-5.2.7.ebuild

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 (file)
index 0000000..4441e4b
--- /dev/null
@@ -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
index fbf264300569f3a6b869b73d77e2d88c1f518370..6ee94c17ade15df134ff5af30d6f83d6a43503aa 100644 (file)
@@ -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
index 4ea9c17d14429b9aa0ab9519ea2d85796b08541a..9ac0df288a51af32532c293e9e9b60362552174f 100644 (file)
@@ -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