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 / kbd / 0001-link-against-libintl.patch
1 Make sure we link against libintl if needed
2
3 We modify directly the Makefile.in so that we don't have to
4 autoreconfigure the package, which doesn't work because packages using
5 gettext need the autopoint tool for their autoregeneration step and
6 this thing doesn't work (yet) in Buildroot.
7
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
10 Index: kbd-1.15.2/src/Makefile.am
11 ===================================================================
12 --- kbd-1.15.2.orig/src/Makefile.am     2011-05-22 16:08:51.144530776 +0200
13 +++ kbd-1.15.2/src/Makefile.am  2011-05-22 16:09:09.892530778 +0200
14 @@ -5,6 +5,8 @@
15  AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\" $(WARNINGS) \
16         -funit-at-a-time
17  
18 +LDADD = @INTLLIBS@
19 +
20  OLDPROGS = mapscrn loadunimap
21  PROGS = \
22         dumpkeys loadkeys showkey setfont showconsolefont \
23 Index: kbd-1.15.2/src/Makefile.in
24 ===================================================================
25 --- kbd-1.15.2.orig/src/Makefile.in     2011-05-22 16:10:27.540530777 +0200
26 +++ kbd-1.15.2/src/Makefile.in  2011-05-22 16:10:51.172530778 +0200
27 @@ -26,6 +26,7 @@
28  install_sh_PROGRAM = $(install_sh) -c
29  install_sh_SCRIPT = $(install_sh) -c
30  INSTALL_HEADER = $(INSTALL_DATA)
31 +LDADD = @INTLLIBS@
32  transform = $(program_transform_name)
33  NORMAL_INSTALL = :
34  PRE_INSTALL = :