/[gentoo-x86]/x11-libs/cairo/files/cairo-1.12.2-fdr-nodl.patch
Gentoo

Contents of /x11-libs/cairo/files/cairo-1.12.2-fdr-nodl.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 14 15:39:24 2012 UTC (23 months ago) by aballier
Branch: MAIN
Add patches from upstream to fix building cairo-fdr and cairo-sphinx on systems with dlopen functions in the libc, like FreeBSD.

(Portage version: 2.2.0_alpha137/cvs/Linux x86_64)

1 commit 3d2712d56a22f2a86fb80da94c3e55be8d26a330
2 Author: Alexis Ballier <aballier@gentoo.org>
3 Date: Fri Sep 21 08:22:54 2012 -0300
4
5 cairo-fdr: protect -ldl link with CAIRO_HAS_DL like in cairo-trace.
6
7 Signed-off-by: Uli Schlachter <psychon@znc.in>
8
9 diff --git a/util/cairo-fdr/Makefile.am b/util/cairo-fdr/Makefile.am
10 index 5cd5798..34215a6 100644
11 --- a/util/cairo-fdr/Makefile.am
12 +++ b/util/cairo-fdr/Makefile.am
13 @@ -10,4 +10,6 @@ cairo_fdr_la_SOURCES = fdr.c
14 cairo_fdr_la_CPPFLAGS = $(AM_CPPFLAGS)
15 cairo_fdr_la_CFLAGS = $(CAIRO_CFLAGS)
16 cairo_fdr_la_LDFLAGS = -module -no-undefined
17 +if CAIRO_HAS_DL
18 cairo_fdr_la_LIBADD = -ldl
19 +endif

  ViewVC Help
Powered by ViewVC 1.1.20