summaryrefslogtreecommitdiff
path: root/graphics/cairo/patches/patch-aa
blob: e7f1840fc0b18e3adb3752fa89cf468e80f340d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.16 2012/11/04 23:48:54 wiz Exp $

revision 1.6
date: 2005/12/06 23:14:11;  author: joerg;  state: Exp;  lines: +2 -2
Fix a bug in the thread linkage I introduced earlier. This was most
noticable on NetBSD 1.6, where PTHREAD_LDFLAGS is not set at all.
----------------------------
revision 1.5
date: 2005/10/02 10:54:37;  author: jmmv;  state: Exp;  lines: +21 -168
Cairo uses pthreads, so link it against the threading library.
Fixes build problems of other packages using cairo (nothing could be linked
with -lcairo before), at least under NetBSD 2.0.  Bump PKGREVISION to 2.

--- src/Makefile.in.orig	2012-04-29 18:49:55.000000000 +0000
+++ src/Makefile.in
@@ -928,9 +928,9 @@ AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 BFD_LIBS = @BFD_LIBS@
 CAIROBOILERPLATE_LIBS = @CAIROBOILERPLATE_LIBS@
-CAIRO_CFLAGS = @CAIRO_CFLAGS@
+CAIRO_CFLAGS = @CAIRO_CFLAGS@ ${PTHREAD_CFLAGS}
 CAIRO_LDFLAGS = @CAIRO_LDFLAGS@
-CAIRO_LIBS = @CAIRO_LIBS@
+CAIRO_LIBS = @CAIRO_LIBS@ ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
 CAIRO_LIBTOOL_VERSION_INFO = @CAIRO_LIBTOOL_VERSION_INFO@
 CAIRO_NONPKGCONFIG_CFLAGS = @CAIRO_NONPKGCONFIG_CFLAGS@
 CAIRO_NONPKGCONFIG_LIBS = @CAIRO_NONPKGCONFIG_LIBS@