Thanks for the report. librsvg-2.9.5p5 is the package that is
failing in your report. It is failing because it has a shared lib
that is threaded which is dlopen()'ed by gdk-pixbuf-query-loaders
which is unthreaded. For this to work gdk-pixbuf-query-loaders
must be linked with -pthread.

This update differs from the one Mikolaj Kucharski posted
by only modifying gdk-pixbuf-query-loaders and should not
cause a WANTLIB ripple effect on ports that depend on gtk+2.
A similar patch exists in NetBSD's gtk+2 port.

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gtk+2/Makefile,v
retrieving revision 1.40
diff -u -r1.40 Makefile
--- Makefile    10 Jul 2006 14:47:32 -0000      1.40
+++ Makefile    1 Sep 2006 21:19:22 -0000
@@ -7,7 +7,7 @@
 
 VERSION=                       2.8.20
 DISTNAME=                      gtk+-${VERSION}
-PKGNAME=                       gtk+2-${VERSION}
+PKGNAME=                       gtk+2-${VERSION}p0
 PKGNAME-docs=                  gtk+2-docs-${VERSION}
 CATEGORIES=                    x11 devel
 
@@ -32,7 +32,7 @@
 
 .if ${SUBPACKAGE} != "-docs"
 WANTLIB=                       X11 Xcursor Xext Xfixes Xi Xinerama Xrender \
-                               Xrandr c cairo fontconfig freetype glitz m z
+                               Xrandr c cairo fontconfig freetype glitz m 
pthread z
 MODULES=                       devel/gettext
 
 LIB_DEPENDS=                   
glib-2.0.1000.0,gmodule-2.0.1000.0,gobject-2.0.1000.0::devel/glib2 \
Index: patches/patch-gdk-pixbuf_Makefile_in
===================================================================
RCS file: /cvs/ports/x11/gtk+2/patches/patch-gdk-pixbuf_Makefile_in,v
retrieving revision 1.12
diff -u -r1.12 patch-gdk-pixbuf_Makefile_in
--- patches/patch-gdk-pixbuf_Makefile_in        28 May 2006 10:07:25 -0000      
1.12
+++ patches/patch-gdk-pixbuf_Makefile_in        1 Sep 2006 21:19:22 -0000
@@ -1,6 +1,15 @@
 $OpenBSD: patch-gdk-pixbuf_Makefile_in,v 1.12 2006/05/28 10:07:25 steven Exp $
---- gdk-pixbuf/Makefile.in.orig        Fri Dec  9 13:28:12 2005
-+++ gdk-pixbuf/Makefile.in     Sat May 13 16:59:37 2006
+--- gdk-pixbuf/Makefile.in.orig        Sun Jul  2 09:57:38 2006
++++ gdk-pixbuf/Makefile.in     Fri Sep  1 16:16:21 2006
+@@ -526,7 +526,7 @@ gdk_pixbuf_csource_SOURCES = gdk-pixbuf-
+ gdk_pixbuf_csource_LDADD = $(LDADDS)
+ 
+ gdk_pixbuf_query_loaders_DEPENDENCIES = $(DEPS)
+-gdk_pixbuf_query_loaders_LDADD = $(LDADDS)
++gdk_pixbuf_query_loaders_LDADD = $(LDADDS) -pthread
+ 
+ gdk_pixbuf_query_loaders_SOURCES = queryloaders.c
+ 
 @@ -1604,13 +1604,6 @@ install-data-hook: install-ms-lib instal
        @if $(RUN_QUERY_LOADER_TEST) ; then \
          $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \

Reply via email to