From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/imlib2/files: imlib2-1.4.6-out-of-source-build.patch |
Date: | Mon, 23 Jun 2014 14:11:54 |
Message-Id: | 20140623141150.9E3432004E@flycatcher.gentoo.org |
1 | mgorny 14/06/23 14:11:50 |
2 | |
3 | Added: imlib2-1.4.6-out-of-source-build.patch |
4 | Log: |
5 | Fix out-of-source builds, bug #510522. |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/imlib2/files/imlib2-1.4.6-out-of-source-build.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/imlib2/files/imlib2-1.4.6-out-of-source-build.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/imlib2/files/imlib2-1.4.6-out-of-source-build.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: imlib2-1.4.6-out-of-source-build.patch |
16 | =================================================================== |
17 | From 8d5ebc7399ee03d742a1abe115905c807f8186e3 Mon Sep 17 00:00:00 2001 |
18 | From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o> |
19 | Date: Sat, 17 May 2014 09:23:02 +0200 |
20 | Subject: [PATCH] Fix -I flags to support building out-of-source. |
21 | |
22 | When building out-of-source, the headers are located in subdirectories |
23 | in $(top_srcdir) rather than $(top_builddir). Adjust AM_CPPFLAGS |
24 | accordingly. |
25 | --- |
26 | src/bin/Makefile.am | 2 +- |
27 | 1 file changed, 1 insertion(+), 1 deletion(-) |
28 | |
29 | diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am |
30 | index 1d3d445..111c24a 100644 |
31 | --- a/src/bin/Makefile.am |
32 | +++ b/src/bin/Makefile.am |
33 | @@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in |
34 | |
35 | AM_CPPFLAGS = \ |
36 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ |
37 | --I$(top_builddir)/src/lib \ |
38 | +-I$(top_srcdir)/src/lib \ |
39 | $(X_CFLAGS) |
40 | |
41 | if BUILD_X11 |
42 | -- |
43 | 1.9.3 |