ports/104958: security/ssh_askpass_gtk2 does not work on 7-CURRENT
Vladimir Grebenschikov
vova at fbsd.ru
Tue Oct 31 08:50:34 UTC 2006
>Number: 104958
>Category: ports
>Synopsis: security/ssh_askpass_gtk2 does not work on 7-CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 31 08:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Vladimir Grebenschikov
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
SWsoft
>Environment:
System: FreeBSD 7.0-CURRENT #0: Tue Sep 19 19:42:28 MSD 2006
root at vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK
Fresh ports tree
>Description:
$ ssh-askpass-gtk2
GTK Accessibility Module initialized
/libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam"
$
>How-To-Repeat:
Just build port on 7-CURRENT
>Fix:
Following patch fixes problem
Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/security/ssh_askpass_gtk2/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 6 Sep 2006 12:22:21 -0000 1.10
+++ Makefile 31 Oct 2006 08:33:44 -0000
@@ -2,7 +2,7 @@
# Date created: 21 Aug 2003
# Whom: mig
#
-# $FreeBSD: ports/security/ssh_askpass_gtk2/Makefile,v 1.10 2006/09/06 12:22:21 garga Exp $
+# $FreeBSD$
#
PORTNAME= ssh_askpass_gtk2
@@ -20,6 +20,8 @@
MAN1= ssh-askpass-gtk2.1
PLIST_FILES= bin/ssh-askpass-gtk2
+CFLAGS+= ${PTHREAD_LIBS}
+
do-install:
cd ${WRKSRC};\
${INSTALL_PROGRAM} gtk2-ssh-askpass ${PREFIX}/bin/ssh-askpass-gtk2;\
Index: files/patch-pthreads
===================================================================
RCS file: files/patch-pthreads
diff -N files/patch-pthreads
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-pthreads 31 Oct 2006 08:40:47 -0000
@@ -0,0 +1,9 @@
+--- Makefile.orig Tue Oct 31 11:40:13 2006
++++ Makefile Tue Oct 31 11:40:13 2006
+@@ -1,5 +1,5 @@
+ all:
+- gcc -o gtk2-ssh-askpass gtk2-ssh-askpass.c `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0`
++ gcc -o gtk2-ssh-askpass ${CFLAGS} gtk2-ssh-askpass.c `pkg-config --libs gtk+-2.0` `pkg-config --cflags gtk+-2.0`
+
+ clean:
+ rm gtk2-ssh-askpass
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list