From 5df601c7ef68e469b308c24e9813516169edd6ee Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Thu, 25 Apr 2024 21:20:30 +1100 Subject: sci-visualization/spyview: remove call of unknown macro USER_DIRS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/874408 Signed-off-by: Andreas K. Hüttel --- .../spyview/files/spyview-no-user-dirs.patch | 15 +++++++++++++++ sci-visualization/spyview/spyview-2018.12.24.ebuild | 7 +++++-- sci-visualization/spyview/spyview-9999.ebuild | 7 +++++-- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 sci-visualization/spyview/files/spyview-no-user-dirs.patch (limited to 'sci-visualization') diff --git a/sci-visualization/spyview/files/spyview-no-user-dirs.patch b/sci-visualization/spyview/files/spyview-no-user-dirs.patch new file mode 100644 index 000000000000..0cae5571a137 --- /dev/null +++ b/sci-visualization/spyview/files/spyview-no-user-dirs.patch @@ -0,0 +1,15 @@ +diff --git a/source/configure.ac b/source/configure.ac +index f1d777f..6790257 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4,7 +4,9 @@ AC_CANONICAL_TARGET + AM_INIT_AUTOMAKE(subdir-objects) + AC_CONFIG_SRCDIR([spyview/ImageWindow.C]) + AC_CONFIG_HEADER([config.h]) +-USER_DIRS ++ ++# No idea what this is supposed to do or call... ++# USER_DIRS + + # For local macros + AC_CONFIG_MACRO_DIR([m4]) diff --git a/sci-visualization/spyview/spyview-2018.12.24.ebuild b/sci-visualization/spyview/spyview-2018.12.24.ebuild index 887b1f8e05b1..6dcdb79c891f 100644 --- a/sci-visualization/spyview/spyview-2018.12.24.ebuild +++ b/sci-visualization/spyview/spyview-2018.12.24.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,6 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="" COMMON_DEPEND=" dev-libs/boost:= @@ -34,6 +33,10 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} sci-visualization/gnuplot" +PATCHES=( + "${FILESDIR}/spyview-no-user-dirs.patch" +) + src_unpack() { if [[ ${PV} == *9999* ]] ; then git-r3_src_unpack diff --git a/sci-visualization/spyview/spyview-9999.ebuild b/sci-visualization/spyview/spyview-9999.ebuild index e5448ad183e5..ca495102a00e 100644 --- a/sci-visualization/spyview/spyview-9999.ebuild +++ b/sci-visualization/spyview/spyview-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,6 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="" COMMON_DEPEND=" dev-libs/boost:= @@ -34,6 +33,10 @@ DEPEND="${COMMON_DEPEND} RDEPEND="${COMMON_DEPEND} sci-visualization/gnuplot" +PATCHES=( + "${FILESDIR}/spyview-no-user-dirs.patch" +) + src_unpack() { if [[ ${PV} == *9999* ]] ; then git-r3_src_unpack -- cgit v1.2.3-65-gdbad