commit:     0f0b91303f6a45dda7723444888eb502008f8a0c
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  4 07:35:34 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jun  4 07:35:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0b9130

dev-lang/smlnj: fix make

Closes: https://bugs.gentoo.org/911785
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-lang/smlnj/files/smlnj-110.99.4-shuffle.patch | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/dev-lang/smlnj/files/smlnj-110.99.4-shuffle.patch 
b/dev-lang/smlnj/files/smlnj-110.99.4-shuffle.patch
index 0f0d343fc136..9a37a1d859bb 100644
--- a/dev-lang/smlnj/files/smlnj-110.99.4-shuffle.patch
+++ b/dev-lang/smlnj/files/smlnj-110.99.4-shuffle.patch
@@ -1,12 +1,11 @@
 --- a/base/runtime/c-libs/posix-io/makefile    2024-06-04 08:38:20.192453601 
+0200
 +++ b/base/runtime/c-libs/posix-io/makefile    2024-06-04 08:39:09.504903619 
+0200
-@@ -37,7 +37,9 @@
+@@ -37,7 +37,8 @@
          lseek.o \
          fsync.o
  
 -$(LIBRARY)    : $(VERSION) $(OBJS)
-+$(LIBRARY)    :
-+      $(MAKE) $(VERSION)
++$(LIBRARY)    : $(VERSION)
 +      $(MAKE) $(OBJS)
        rm -rf $(LIBRARY)
        $(AR) $(ARFLAGS) $(LIBRARY) $(OBJS)
@@ -23,3 +22,15 @@
        $(CC) -o $(RUNTIME) $(CFLAGS) $(LDFLAGS) main.o $(OBJS) $(ALL_LIBS) 
$(LD_LIBS)
  
  $(RUNTIME_A): $(VERSION) main.o $(OBJS) $(ALL_LIBS)
+--- a/base/runtime/c-libs/posix-signal/makefile        2024-06-04 
09:32:49.906560537 +0200
++++ b/base/runtime/c-libs/posix-signal/makefile        2024-06-04 
09:33:12.811305204 +0200
+@@ -21,7 +21,8 @@
+ OBJS =        posix-signal-lib.o \
+       osval.o
+ 
+-$(LIBRARY)    : $(VERSION) $(OBJS)
++$(LIBRARY)    : $(VERSION)
++      $(MAKE) $(OBJS)
+       rm -rf $(LIBRARY)
+       $(AR) $(ARFLAGS) $(LIBRARY) $(OBJS)
+       $(RANLIB) $(LIBRARY)

Reply via email to