commit:     57ac98d528da9242378901de422704e96cfa483b
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Sun Oct 20 16:40:22 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 12:16:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ac98d5

sci-physics/fastjet-contrib: Update ar patch

Closes: https://bugs.gentoo.org/940452
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/39057
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/fastjet-contrib/fastjet-contrib-1.055.ebuild    |  1 +
 .../files/fastjet-contrib-1.055-ar-part2.patch              | 13 +++++++++++++
 2 files changed, 14 insertions(+)

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)

Reply via email to