From 4f4c41d4036405a7d6f25ef628e1cd77ed1fc7ba Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 30 Jun 2018 06:09:39 +0200 Subject: sci-astronomy/xephem: Don't link against libXp. Closes: https://bugs.gentoo.org/650404 Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch | 11 +++++++++++ sci-astronomy/xephem/xephem-3.7.7.ebuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch (limited to 'sci-astronomy/xephem') diff --git a/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch b/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch new file mode 100644 index 000000000000..e41112f7b1e0 --- /dev/null +++ b/sci-astronomy/xephem/files/xephem-3.7.7-no_xprint.patch @@ -0,0 +1,11 @@ +--- a/GUI/xephem/Makefile ++++ b/GUI/xephem/Makefile +@@ -30,7 +30,7 @@ + endif + + # for linux and Apple OS X +-XLIBS = -lXm -lXp -lXt -lXext -lXmu -lX11 ++XLIBS = -lXm -lXt -lXext -lXmu -lX11 + CFLAGS := $(LIBINC) $(CFLAGS) + LIBS = $(LIBLNK) $(XLIBS) $(LIBLIB) -lm + diff --git a/sci-astronomy/xephem/xephem-3.7.7.ebuild b/sci-astronomy/xephem/xephem-3.7.7.ebuild index ad77acbd7215..21274e2d1ade 100644 --- a/sci-astronomy/xephem/xephem-3.7.7.ebuild +++ b/sci-astronomy/xephem/xephem-3.7.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,6 +23,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${P}-respect_env_vars.patch" "${FILESDIR}/${P}-implicits.patch" + "${FILESDIR}/${P}-no_xprint.patch" ) src_prepare() { -- cgit v1.2.3-65-gdbad