From 060e0757e2ecb2dad577354f9d2ee293b444b555 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 10 Feb 2009 18:06:28 +0000 Subject: [PATCH] - link gnome-keyring-ask to -pthread as under some circumstances it will need to dlopen libgthread --- x11/gnome/keyring/Makefile | 5 +++-- .../keyring/patches/patch-daemon_ui_Makefile_in | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 x11/gnome/keyring/patches/patch-daemon_ui_Makefile_in diff --git a/x11/gnome/keyring/Makefile b/x11/gnome/keyring/Makefile index 011b0eefdd8..73d651d8513 100644 --- a/x11/gnome/keyring/Makefile +++ b/x11/gnome/keyring/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.29 2009/01/29 18:15:19 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.30 2009/02/10 18:06:28 ajacoutot Exp $ COMMENT= password agent for the GNOME project GNOME_PROJECT= gnome-keyring GNOME_VERSION= 2.24.1 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 + SHARED_LIBS += gp11 0.0 # .0.0 SHARED_LIBS += gnome-keyring 4.0 # .1.1 diff --git a/x11/gnome/keyring/patches/patch-daemon_ui_Makefile_in b/x11/gnome/keyring/patches/patch-daemon_ui_Makefile_in new file mode 100644 index 00000000000..6102e87554f --- /dev/null +++ b/x11/gnome/keyring/patches/patch-daemon_ui_Makefile_in @@ -0,0 +1,16 @@ +$OpenBSD: patch-daemon_ui_Makefile_in,v 1.1 2009/02/10 18:06:28 ajacoutot Exp $ + +gnome-keyring-ask will eventually need to dlopen(3) libgthread which +needs libpthread. + +--- daemon/ui/Makefile.in.orig Tue Feb 10 18:56:10 2009 ++++ daemon/ui/Makefile.in Tue Feb 10 18:56:20 2009 +@@ -287,7 +287,7 @@ gnome_keyring_ask_SOURCES = \ + + gnome_keyring_ask_LDADD = \ + $(top_builddir)/common/libgkr-module-common.la \ +- $(GTK_LIBS) ++ $(GTK_LIBS) -pthread + + noinst_LTLIBRARIES = libgkr-ui.la + BUILT_SOURCES = \