[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: bff5023b358935fac57d2cd6f43e575a867af3d6 Author: David Seifert gentoo org> AuthorDate: Fri Dec 1 22:42:35 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 1 23:00:45 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff5023b sci-chemistry/prekin: [QA] Fix DESCRIPTION.toolong sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 7f90ace13b9..8bea9cc5230 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs eutils multilib MY_P=${PN}.${PV} -DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files" +DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz";
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/
commit: 7c47eb5a61bc4cd600ed38c5b6c351c0c10c3aa4 Author: David Seifert gentoo org> AuthorDate: Tue Apr 17 09:48:46 2018 + Commit: David Seifert gentoo org> CommitDate: Tue Apr 17 20:25:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c47eb5a sci-chemistry/prekin: Port to EAPI 6 Package-Manager: Portage-2.3.29, Repoman-2.3.9 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 38 ++- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index 8bea9cc5230..db0c34eca49 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit toolchain-funcs eutils multilib +inherit toolchain-funcs MY_P=${PN}.${PV} @@ -16,37 +16,33 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="X" -RDEPEND="x11-libs/libXext +RDEPEND=" + x11-libs/libXext x11-libs/libXmu x11-libs/libX11 x11-libs/libXt - X? ( >=x11-libs/motif-2.3:0 )" + X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" S=${WORKDIR}/${MY_P} +PATCHES=( + "${FILESDIR}"/${PV}-Makefile.patch + "${FILESDIR}"/${PV}-overflow.patch +) -src_prepare() { - epatch \ - "${FILESDIR}"/${PV}-Makefile.patch \ - "${FILESDIR}"/${PV}-overflow.patch - sed \ +src_configure() { + tc-export CC + + sed \ -e 's:cc:$(CC):g' \ -e "s:GENTOOLIBDIR:$(get_libdir):g" \ - "${S}"/Makefile.linux > Makefile || die + Makefile.linux > Makefile || die } src_compile() { - local mytarget - - if use X; then - mytarget="${PN}" - else - mytarget="nogui" - fi - - emake CC="$(tc-getCC)" ${mytarget} || die + emake $(usex X ${PN} nogui) } src_install() { - dobin "${S}"/prekin || die + dobin prekin }
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-chemistry/prekin/files/, sci-chemistry/prekin/
commit: 783ac39b1124347dc84c558dffb8e8b3575a4f49 Author: Jakov Smolic sartura hr> AuthorDate: Sun Feb 14 10:33:06 2021 + Commit: David Seifert gentoo org> CommitDate: Sun Feb 14 10:33:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=783ac39b sci-chemistry/prekin: Port to EAPI 7 Closes: https://bugs.gentoo.org/707310 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> .../prekin/files/6.51.081122-Makefile.patch| 2 -- .../prekin/files/6.51.081122-overflow.patch| 2 -- .../files/prekin-6.51.081122-fno-common.patch | 34 ++ sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild | 9 +++--- 4 files changed, 39 insertions(+), 8 deletions(-) diff --git a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch index 5fd9d00d9b0..b562f27e51d 100644 --- a/sci-chemistry/prekin/files/6.51.081122-Makefile.patch +++ b/sci-chemistry/prekin/files/6.51.081122-Makefile.patch @@ -1,5 +1,3 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 65a021a..3daacd8 100755 --- a/Makefile.linux +++ b/Makefile.linux @@ -1,15 +1,15 @@ diff --git a/sci-chemistry/prekin/files/6.51.081122-overflow.patch b/sci-chemistry/prekin/files/6.51.081122-overflow.patch index 27bc01d61a5..1c6ded31431 100644 --- a/sci-chemistry/prekin/files/6.51.081122-overflow.patch +++ b/sci-chemistry/prekin/files/6.51.081122-overflow.patch @@ -1,5 +1,3 @@ -diff --git a/PKIN.h b/PKIN.h -index 6cb6670..c9c6b89 100755 --- a/PKIN.h +++ b/PKIN.h @@ -533,8 +533,8 @@ EXTERN float xnext,ynext,znext,onext,Bnext,Uvalnext; diff --git a/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch new file mode 100644 index 000..207d3015202 --- /dev/null +++ b/sci-chemistry/prekin/files/prekin-6.51.081122-fno-common.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/707310 +--- a/PKININIT.c b/PKININIT.c +@@ -65,6 +65,8 @@ void writeversiontooutput(void); /*041011*/ + void writechangestooutput(void); /*040215*/ + void writecmdhelptooutput(void); /*040425*/ + ++extern int Lribbonnew; ++ + static char* prekinchanges[] = + {"\r" + ,"020514 Cbeta:Superpos,NB:Prekin,IOmage\r" +--- a/PKINRIBB.c b/PKINRIBB.c +@@ -6,6 +6,8 @@ + #define PKINRIBB + #include "PKINRIBB.h" + #undefPKINRIBB ++ ++extern int Lribbonnew; + + /*{{{--NOTE-- version, etc. */ + /*051025 for now, just work with one model, and let prekin's levels==sections*/ +--- a/PKINRIBB.h b/PKINRIBB.h +@@ -5,7 +5,7 @@ + #define PKINRIBB extern + #endif + +-PKINRIBBint Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ ++extern int Lribbonnew; /*051025 new ribbon structures: PKINRIBB*/ + + #define CORDER 4 /*order of the B-spline defined here*/ + diff --git a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild index db0c34eca49..d6f5e98ced6 100644 --- a/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild +++ b/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,6 @@ EAPI=6 inherit toolchain-funcs MY_P=${PN}.${PV} - DESCRIPTION="Prepares molecular kinemages from PDB-format coordinate files" HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"; SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"; @@ -19,15 +18,17 @@ IUSE="X" RDEPEND=" x11-libs/libXext x11-libs/libXmu - x11-libs/libX11 x11-libs/libXt + x11-libs/libX11 X? ( >=x11-libs/motif-2.3:0= )" DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" + PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch "${FILESDIR}"/${PV}-overflow.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() {