From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/imlib2/files: imlib2-1.4.6-no-x.patch |
Date: | Tue, 29 Jul 2014 03:29:42 |
Message-Id: | 20140729032938.3BE9D2004F@flycatcher.gentoo.org |
1 | vapier 14/07/29 03:29:38 |
2 | |
3 | Added: imlib2-1.4.6-no-x.patch |
4 | Log: |
5 | Fix builds with USE=-X #517670 by Laurent Bachelier. |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/imlib2/files/imlib2-1.4.6-no-x.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/imlib2/files/imlib2-1.4.6-no-x.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/imlib2/files/imlib2-1.4.6-no-x.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: imlib2-1.4.6-no-x.patch |
16 | =================================================================== |
17 | https://bugs.gentoo.org/517670 |
18 | |
19 | already in upstream |
20 | |
21 | From 3e6ca0b48d2b07980c310935ad1a8dde209efed5 Mon Sep 17 00:00:00 2001 |
22 | From: Mike Frysinger <vapier@g.o> |
23 | Date: Mon, 28 Jul 2014 23:01:23 -0400 |
24 | Subject: [PATCH] do not link with X libs when X is disabled |
25 | |
26 | Signed-off-by: Mike Frysinger <vapier@g.o> |
27 | --- |
28 | src/lib/Makefile.am | 5 ++++- |
29 | 1 file changed, 4 insertions(+), 1 deletion(-) |
30 | |
31 | diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am |
32 | index b03f753..93c708f 100644 |
33 | --- a/src/lib/Makefile.am |
34 | +++ b/src/lib/Makefile.am |
35 | @@ -84,7 +84,10 @@ AMD64_OBJS = $(AMD64_SRCS:.S=.lo) |
36 | |
37 | EXTRA_DIST = $(MMX_SRCS) $(AMD64_SRCS) asm_loadimmq.S |
38 | |
39 | -MY_LIBS = -lXext -lX11 $(FREETYPE_LIBS) $(DLOPEN_LIBS) -lm |
40 | +MY_LIBS = $(FREETYPE_LIBS) $(DLOPEN_LIBS) -lm |
41 | +if BUILD_X11 |
42 | +MY_LIBS += -lXext -lX11 |
43 | +endif |
44 | |
45 | if BUILD_MMX |
46 | libImlib2_la_LIBADD = $(MMX_OBJS) $(MY_LIBS) |
47 | -- |
48 | 2.0.0 |