public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/imlib2/files: imlib2-1.4.6-out-of-source-build.patch
@ 2014-06-23 14:11 Michal Gorny (mgorny)
  0 siblings, 0 replies; only message in thread
From: Michal Gorny (mgorny) @ 2014-06-23 14:11 UTC (permalink / raw
  To: gentoo-commits

mgorny      14/06/23 14:11:50

  Added:                imlib2-1.4.6-out-of-source-build.patch
  Log:
  Fix out-of-source builds, bug #510522.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

Revision  Changes    Path
1.1                  media-libs/imlib2/files/imlib2-1.4.6-out-of-source-build.patch

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
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

Index: imlib2-1.4.6-out-of-source-build.patch
===================================================================
From 8d5ebc7399ee03d742a1abe115905c807f8186e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sat, 17 May 2014 09:23:02 +0200
Subject: [PATCH] Fix -I flags to support building out-of-source.

When building out-of-source, the headers are located in subdirectories
in $(top_srcdir) rather than $(top_builddir). Adjust AM_CPPFLAGS
accordingly.
---
 src/bin/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
index 1d3d445..111c24a 100644
--- a/src/bin/Makefile.am
+++ b/src/bin/Makefile.am
@@ -2,7 +2,7 @@ MAINTAINERCLEANFILES = Makefile.in
 
 AM_CPPFLAGS = \
 -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
--I$(top_builddir)/src/lib \
+-I$(top_srcdir)/src/lib \
 $(X_CFLAGS)
 
 if BUILD_X11
-- 
1.9.3






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-23 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 14:11 [gentoo-commits] gentoo-x86 commit in media-libs/imlib2/files: imlib2-1.4.6-out-of-source-build.patch Michal Gorny (mgorny)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox