The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / psmisc / 0001-link-against-libintl.patch
1 Link against libintl if needed
2
3 When built against a C library that has locale support, but for which
4 intl support is provided by an external libintl library, psmisc
5 forgets to link against this library, even though the configure script
6 properly checks that.
7
8 This patch therefore ensure that we link against libintl when needed,
9 thanks to the @INTLLIBS@ variable provided by the configure script.
10
11 We do not modify the Makefile.am file, because autoreconfiguring this
12 package doesn't work: because of its usage of gettext, it wants to run
13 the "autopoint" program, which itself depends on CVS being installed,
14 for some strange reasons. That's the reason why we fall back to the
15 hacky solution of modifying the Makefile.in file.
16
17 Forward-ported Thomas's patch to psmisc 22.16
18 from commit f066ed70cd6939838d4057f66798cbc1d972cc73
19
20 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
21
22 diff -Nura psmisc-22.16.orig/src/Makefile.in psmisc-22.16/src/Makefile.in
23 --- psmisc-22.16.orig/src/Makefile.in   2012-03-28 22:27:33.106660358 -0300
24 +++ psmisc-22.16/src/Makefile.in        2012-03-28 22:28:55.752219349 -0300
25 @@ -76,7 +76,7 @@
26  killall_DEPENDENCIES =
27  am_peekfd_OBJECTS = peekfd.$(OBJEXT)
28  peekfd_OBJECTS = $(am_peekfd_OBJECTS)
29 -peekfd_LDADD = $(LDADD)
30 +peekfd_LDADD = $(LDADD) @LIBINTL@
31  am_prtstat_OBJECTS = prtstat.$(OBJEXT)
32  prtstat_OBJECTS = $(am_prtstat_OBJECTS)
33  prtstat_DEPENDENCIES =