summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-10-20 18:40:22 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-10-21 14:16:51 +0200
commit57ac98d528da9242378901de422704e96cfa483b (patch)
tree8fb058757de11d6ecc0f6402ff773de76ebd458b /sci-physics
parentsci-physics/fastjet-contrib: add github upstream metadata (diff)
downloadgentoo-57ac98d528da9242378901de422704e96cfa483b.tar.gz
gentoo-57ac98d528da9242378901de422704e96cfa483b.tar.bz2
gentoo-57ac98d528da9242378901de422704e96cfa483b.zip
sci-physics/fastjet-contrib: Update ar patch
Closes: https://bugs.gentoo.org/940452 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Closes: https://github.com/gentoo/gentoo/pull/39057 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/fastjet-contrib/fastjet-contrib-1.055.ebuild1
-rw-r--r--sci-physics/fastjet-contrib/files/fastjet-contrib-1.055-ar-part2.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/sci-physics/fastjet-contrib/fastjet-contrib-1.055.ebuild b/sci-physics/fastjet-contrib/fastjet-contrib-1.055.ebuild
index f48a5b1a4594..c337473684b1 100644
--- a/sci-physics/fastjet-contrib/fastjet-contrib-1.055.ebuild
+++ b/sci-physics/fastjet-contrib/fastjet-contrib-1.055.ebuild
@@ -23,6 +23,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.049-soname.patch
"${FILESDIR}"/${PN}-1.049-ar.patch
+ "${FILESDIR}"/${PN}-1.055-ar-part2.patch # https://github.com/fjcontrib/fjcontrib/issues/3
)
src_configure() {
diff --git a/sci-physics/fastjet-contrib/files/fastjet-contrib-1.055-ar-part2.patch b/sci-physics/fastjet-contrib/files/fastjet-contrib-1.055-ar-part2.patch
new file mode 100644
index 000000000000..2bfb63960c6b
--- /dev/null
+++ b/sci-physics/fastjet-contrib/files/fastjet-contrib-1.055-ar-part2.patch
@@ -0,0 +1,13 @@
+--- a/SignalFreeBackgroundEstimator/Makefile
++++ b/SignalFreeBackgroundEstimator/Makefile
+@@ -39,8 +39,8 @@
+ all: lib$(NAME).a
+
+ lib$(NAME).a: $(OBJS)
+- ar cru lib$(NAME).a $(OBJS)
+- ranlib lib$(NAME).a
++ $(AR) cru lib$(NAME).a $(OBJS)
++ $(RANLIB) lib$(NAME).a
+
+ # building the examples
+ examples: $(EXAMPLES)