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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 14 15:39:24 2012 UTC (2 years, 1 month 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 f78a9269228f2f48e8eb496e341ef990db39c6c3
2 Author: Alexis Ballier <aballier@gentoo.org>
3 Date: Fri Sep 21 08:22:55 2012 -0300
4
5 cairo-sphinx: 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-sphinx/Makefile.am b/util/cairo-sphinx/Makefile.am
10 index b25bd23..10bc10c 100644
11 --- a/util/cairo-sphinx/Makefile.am
12 +++ b/util/cairo-sphinx/Makefile.am
13 @@ -12,7 +12,9 @@ cairo_sphinx_la_SOURCES = fdr.c
14 cairo_sphinx_la_CPPFLAGS = $(AM_CPPFLAGS)
15 cairo_sphinx_la_CFLAGS = $(CAIRO_CFLAGS)
16 cairo_sphinx_la_LDFLAGS = -module -no-undefined
17 +if CAIRO_HAS_DL
18 cairo_sphinx_la_LIBADD = -ldl
19 +endif
20
21 cairo_sphinx_SOURCES = sphinx.c
22 cairo_sphinx_CPPFLAGS = $(AM_CPPFLAGS) -DLIBDIR="\"$(cairolibdir)\""

  ViewVC Help
Powered by ViewVC 1.1.20