commit: 81a93e00b6fe7e010074b4cabf8630533466ea9e Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sun Sep 5 03:56:14 2021 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Sun Sep 5 03:56:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81a93e00
dev-R/ps: respect LDFLAGS Closes: https://bugs.gentoo.org/794112 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-R/ps/files/ps-respect-LDFLAGS.patch | 15 +++++++++++++++ dev-R/ps/metadata.xml | 10 ++++++++++ dev-R/ps/ps-1.6.0.ebuild | 2 ++ 3 files changed, 27 insertions(+) diff --git a/dev-R/ps/files/ps-respect-LDFLAGS.patch b/dev-R/ps/files/ps-respect-LDFLAGS.patch new file mode 100644 index 000000000..a1ab2933e --- /dev/null +++ b/dev-R/ps/files/ps-respect-LDFLAGS.patch @@ -0,0 +1,15 @@ +--- a/src/Makevars.in ++++ b/src/Makevars.in +@@ -8,10 +8,10 @@ + all: px @TARGETS@ $(SHLIB) + + px: px.c +- $(CC) $(CFLAGS) -Wall px.c -o px ++ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall px.c -o px + + interrupt: interrupt.c +- $(CC) $(CFLAGS) -Wall interrupt.c -o interrupt ++ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall interrupt.c -o interrupt + + clean: + rm -rf $(SHLIB) $(OBJECTS) px.exe px interrupt.exe interrupt diff --git a/dev-R/ps/metadata.xml b/dev-R/ps/metadata.xml index 02fb4b937..b9cec90c8 100644 --- a/dev-R/ps/metadata.xml +++ b/dev-R/ps/metadata.xml @@ -11,4 +11,14 @@ manipulate all system processes, on 'Windows', 'Linux' and 'macOS'. </longdescription> + <upstream> + <bugs-to>https://github.com/r-lib/ps/issues</bugs-to> + <changelog>https://cran.r-project.org/web/packages/ps/news/news.html</changelog> + <doc lang="en">https://cran.r-project.org/web/packages/ps/ps.pdf</doc> + <maintainer> + <email>[email protected]</email> + <name>Gábor Csárdi</name> + </maintainer> + <remote-id type="github">r-lib/ps</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-R/ps/ps-1.6.0.ebuild b/dev-R/ps/ps-1.6.0.ebuild index ba6242513..45ed001ab 100644 --- a/dev-R/ps/ps-1.6.0.ebuild +++ b/dev-R/ps/ps-1.6.0.ebuild @@ -11,3 +11,5 @@ LICENSE='MIT' DEPEND=">=dev-lang/R-3.1" RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-respect-LDFLAGS.patch" )
