From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 11 14:30:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FFCC106564A for ; Wed, 11 Jul 2012 14:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 47DFA8FC0A for ; Wed, 11 Jul 2012 14:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6BEU2rB023657 for ; Wed, 11 Jul 2012 14:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6BEU2o0023656; Wed, 11 Jul 2012 14:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 11 Jul 2012 14:30:02 GMT Resent-Message-Id: <201207111430.q6BEU2o0023656@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pietro Cerutti Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C564A106566B; Wed, 11 Jul 2012 14:29:03 +0000 (UTC) (envelope-from cerutti@mail.medacta.ch) Received: from mail.medacta.ch (cust.static.212-90-215-232.cybernet.ch [212.90.215.232]) by mx1.freebsd.org (Postfix) with ESMTP id 50E668FC16; Wed, 11 Jul 2012 14:29:02 +0000 (UTC) Received: from mail.medacta.ch (localhost [127.0.0.1]) by mail.medacta.ch (8.14.5/8.14.5) with ESMTP id q6BEPa8U003096; Wed, 11 Jul 2012 16:25:36 +0200 (CEST) (envelope-from cerutti@mail.medacta.ch) Received: (from cerutti@localhost) by mail.medacta.ch (8.14.5/8.14.5/Submit) id q6BEPaTR003095; Wed, 11 Jul 2012 16:25:36 +0200 (CEST) (envelope-from cerutti) Message-Id: <201207111425.q6BEPaTR003095@mail.medacta.ch> Date: Wed, 11 Jul 2012 16:25:36 +0200 (CEST) From: Pietro Cerutti To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clsung@FreeBSD.org Subject: ports/169785: [PATCH] devel/cgdb: link against libutil to use openpty(3) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 14:30:02 -0000 >Number: 169785 >Category: ports >Synopsis: [PATCH] devel/cgdb: link against libutil to use openpty(3) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 11 14:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 10.0-CURRENT amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD SN2000.medacta.ch 10.0-CURRENT FreeBSD 10.0-CURRENT #20: Mon Jun 18 10:00:24 CEST 2012 >Description: cgdb cannot find openpty(3) since it doesn't link against libutil. For this reason, it uses pty(4) directly, which is not in the GENERIC kernel anymore. The patch allow to link against libutil and use openpty(3), which is a cleaner why to allocate ptys. Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS) >How-To-Repeat: >Fix: --- cgdb-0.6.6.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/cgdb/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 21 Jan 2012 17:37:05 -0000 1.24 +++ Makefile 11 Jul 2012 14:23:15 -0000 @@ -19,6 +19,11 @@ GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes +# we need this for openpty(3) . It sucks, +# but since cgdb include a libutil itself, +# we have to specify the full path. +LDFLAGS+= /usr/lib/libutil.so + .include # at this time we can not use LIB_DEPENDS, please read ports/99327 --- cgdb-0.6.6.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: