commit:     cec3e164dcf496815986706a2a907c09a842dde2
Author:     Daniel Kenzelmann <github.com <AT> k8n <DOT> de>
AuthorDate: Sat Sep 25 15:12:32 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 12:32:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec3e164

dev-libs/pigpio: fix broken Makefile

fix broken Makefile, missing linked lib

Signed-off-by: Daniel Kenzelmann <gentoo <AT> k8n.de>
Closes: https://github.com/gentoo/gentoo/pull/22400
Closes: https://bugs.gentoo.org/811150
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/pigpio/files/pigpio-70-makefile.patch | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-libs/pigpio/files/pigpio-70-makefile.patch 
b/dev-libs/pigpio/files/pigpio-70-makefile.patch
index 1102fa5b625..ed3c2283394 100644
--- a/dev-libs/pigpio/files/pigpio-70-makefile.patch
+++ b/dev-libs/pigpio/files/pigpio-70-makefile.patch
@@ -92,7 +92,7 @@
  
  uninstall:
        rm -f $(DESTDIR)$(includedir)/pigpio.h
-@@ -136,22 +131,13 @@
+@@ -136,22 +131,16 @@
  endif
  
  $(LIB1):      $(OBJ1)
@@ -101,6 +101,7 @@
 -      $(STRIPLIB) $(LIB1)
 -      $(SIZE)     $(LIB1)
 +      $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB1).$(SOVERSION) -o 
$(LIB1).$(LIBVERSION) $(OBJ1)
++      ln -sf $(LIB1).$(LIBVERSION) $(LIB1)
  
  $(LIB2):      $(OBJ2)
 -      $(SHLIB) -pthread -Wl,-soname,$(LIB2).$(SOVERSION) -o 
$(LIB2).$(SOVERSION) $(OBJ2)
@@ -108,13 +109,15 @@
 -      $(STRIPLIB) $(LIB2)
 -      $(SIZE)     $(LIB2)
 +      $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB2).$(SOVERSION) -o 
$(LIB2).$(LIBVERSION) $(OBJ2)
++      ln -sf $(LIB2).$(LIBVERSION) $(LIB2)
  
  $(LIB3):      $(OBJ3)
 -      $(SHLIB) -pthread -Wl,-soname,$(LIB3).$(SOVERSION) -o 
$(LIB3).$(SOVERSION) $(OBJ3)
 -      ln -fs $(LIB3).$(SOVERSION) $(LIB3)
 -      $(STRIPLIB) $(LIB3)
 -      $(SIZE)     $(LIB3)
-+      $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB2).$(SOVERSION) -o 
$(LIB3).$(LIBVERSION) $(OBJ3)
++      $(SHLIB) $(LDFLAGS) -Wl,-soname,$(LIB3).$(SOVERSION) -o 
$(LIB3).$(LIBVERSION) $(OBJ3)
++      ln -sf $(LIB3).$(LIBVERSION) $(LIB3)
  
  # generated using gcc -MM *.c
  

Reply via email to