gst1-plugins-base: bump version to 1.6.0
[buildroot-gz.git] / package / psmisc / 0001-link-against-libintl.patch
blob907e7e75bd2d27ab5a911df9fb7e6f97fc11f64f
1 Link against libintl if needed
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.
8 This patch therefore ensure that we link against libintl when needed,
9 thanks to the @INTLLIBS@ variable provided by the configure script.
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.
17 Forward-ported Thomas's patch to psmisc 22.16
18 from commit f066ed70cd6939838d4057f66798cbc1d972cc73
20 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
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 =