mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-09 23:37:05 +02:00
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
Author: Breno Leitao <brenohl@br.ibm.com>
|
|
Date: Thu Apr 6 14:03:00 2017 -0300
|
|
|
|
pstree: Linking with libintl.
|
|
|
|
Curently pstree does built, at least on ppc64le, because it does
|
|
not have a explicit link against gettext, causing the following error:
|
|
|
|
peekfd.o: In function `print_version':
|
|
peekfd.c:(.text+0x160): undefined reference to `libintl_gettext'
|
|
peekfd.c:(.text+0x18c): undefined reference to `libintl_gettext'
|
|
peekfd.c:(.text+0x1ac): undefined reference to `libintl_gettext'
|
|
|
|
peekfd depends on libint because of the following macro:
|
|
|
|
#define _(String) gettext (String)
|
|
|
|
Index: psmisc-22.21/src/Makefile.in
|
|
===================================================================
|
|
--- psmisc-22.21.orig/src/Makefile.in
|
|
+++ psmisc-22.21/src/Makefile.in
|
|
@@ -131,7 +131,7 @@ killall_OBJECTS = $(am_killall_OBJECTS)
|
|
killall_DEPENDENCIES =
|
|
am_peekfd_OBJECTS = peekfd.$(OBJEXT)
|
|
peekfd_OBJECTS = $(am_peekfd_OBJECTS)
|
|
-peekfd_LDADD = $(LDADD)
|
|
+peekfd_LDADD = $(LDADD) -lintl
|
|
am_prtstat_OBJECTS = prtstat.$(OBJEXT)
|
|
prtstat_OBJECTS = $(am_prtstat_OBJECTS)
|
|
prtstat_DEPENDENCIES =
|