On Fri, Sep 01, 2006 at 09:22:27PM +0000, Kurt Miller wrote:
> 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.
I've recompiled gtk+2 with your patch and I've made changes like in
attached file to gimp port. GIMP is working fine. This is minimalistic
change only to gimp binary.
--
best regards
q#
diff -ruN -x CVS graphics/gimp/stable/Makefile
mystuff/graphics/gimp/stable/Makefile
--- graphics/gimp/stable/Makefile Thu Aug 3 20:56:08 2006
+++ mystuff/graphics/gimp/stable/Makefile Sun Sep 3 20:25:43 2006
@@ -3,6 +3,7 @@
COMMENT= "GNU Image Manipulation Program"
DISTNAME= gimp-2.2.12
+PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gimp-2.0 200.12 \
gimpbase-2.0 200.12 \
gimpcolor-2.0 200.12 \
@@ -42,7 +43,7 @@
fontconfig freetype glib-2.0.0.0 gmodule-2.0.0.0 \
gobject-2.0.0.0 jpeg.>=62 lcms.>=1 m pango-1.0.0.0 \
pangocairo-1.0.0.0 pangoft2-1.0.0.0 png.>=4 \
- ncurses xml2 z cairo glitz
+ pthread ncurses xml2 z cairo glitz
MODULES= devel/gettext
diff -ruN -x CVS graphics/gimp/stable/patches/patch-app_Makefile_in
mystuff/graphics/gimp/stable/patches/patch-app_Makefile_in
--- graphics/gimp/stable/patches/patch-app_Makefile_in Thu Jan 1 01:00:00 1970
+++ mystuff/graphics/gimp/stable/patches/patch-app_Makefile_in Sun Sep 3
19:47:47 2006
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- app/Makefile.in.orig Sun Sep 3 19:45:11 2006
++++ app/Makefile.in Sun Sep 3 19:46:53 2006
+@@ -554,6 +554,7 @@ INCLUDES = \
+
+ gimp_2_2_LDFLAGS = $(mwindows)
+ gimp_2_2_LDADD = \
++ -pthread \
+ gui/libappgui.a \
+ actions/libappactions.a \
+ dialogs/libappdialogs.a \