1b603d754f8abc52b9040b9c0d659ea8e1ec0e7d
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gob2 / 0001-dont-include-from-prefix.patch
1 [PATCH] Don't search $prefix/include for header files
2
3 Don't add $prefix/include to the header file search path, as that breaks
4 cross compilation (build $prefix/include isn't the same as target
5 $prefix/include).
6
7 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
8 ---
9  src/Makefile.am |    3 +--
10  src/Makefile.in |    3 +--
11  2 files changed, 2 insertions(+), 4 deletions(-)
12
13 Index: gob2-2.0.15/src/Makefile.am
14 ===================================================================
15 --- gob2-2.0.15.orig/src/Makefile.am
16 +++ gob2-2.0.15/src/Makefile.am
17 @@ -17,8 +17,7 @@ INCLUDES = \
18         -I$(top_builddir)       \
19         -I$(top_builddir)/src   \
20         -I$(top_srcdir)         \
21 -       -I$(top_srcdir)/src     \
22 -       -I$(includedir)
23 +       -I$(top_srcdir)/src
24  
25  if NOINSTGOB
26  noinst_PROGRAMS = @NOINSTGOB@
27 Index: gob2-2.0.15/src/Makefile.in
28 ===================================================================
29 --- gob2-2.0.15.orig/src/Makefile.in
30 +++ gob2-2.0.15/src/Makefile.in
31 @@ -193,8 +193,7 @@ INCLUDES = \
32         -I$(top_builddir)       \
33         -I$(top_builddir)/src   \
34         -I$(top_srcdir)         \
35 -       -I$(top_srcdir)/src     \
36 -       -I$(includedir)
37 +       -I$(top_srcdir)/src
38  
39  @NOINSTGOB_TRUE@noinst_PROGRAMS = @NOINSTGOB@
40  @NOINSTGOB_FALSE@bin_PROGRAMS = @INSTGOB@