From owner-freebsd-ports@FreeBSD.ORG Wed Sep 10 04:35:29 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E683D16A4BF for ; Wed, 10 Sep 2003 04:35:29 -0700 (PDT) Received: from posti1.jyu.fi (posti1.jyu.fi [130.234.4.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7161343FAF for ; Wed, 10 Sep 2003 04:35:27 -0700 (PDT) (envelope-from erkkila@cc.jyu.fi) Received: from a.o.t (dynamic48.isdn.jyu.fi [130.234.232.112]) h8ABZJi4021160; Wed, 10 Sep 2003 14:35:19 +0300 Received: from a.o.t (a.o.t [127.0.0.1]) by a.o.t (8.12.9/8.12.9) with ESMTP id h8ABZfvW029576; Wed, 10 Sep 2003 14:35:42 +0300 (EEST) (envelope-from je@a.o.t) Received: (from je@localhost) by a.o.t (8.12.9/8.12.9/Submit) id h8ABZfg6029575; Wed, 10 Sep 2003 14:35:41 +0300 (EEST) Date: Wed, 10 Sep 2003 14:35:40 +0300 From: Juha Erkkila To: Alexander =?iso-8859-1?Q?K=F6nig?= Message-ID: <20030910113540.GA29546@a.o.t> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) at posti1.jyu.fi; Wed, 10 Sep 2003 14:35:20 +0300 X-Spam-Checked: by miltrassassin at posti1.jyu.fi; Wed, 10 Sep 2003 14:35:22 +0300 cc: ports@FreeBSD.org Subject: terminatorX-3.81 /proc -patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 11:35:30 -0000 terminatorX doesn't appear to work if one hasn't /proc mounted. here's a patch: diff -ru old_terminatorX-3.81/src/tX_mastergui.cc terminatorX-3.81/src/tX_mastergui.cc --- old_terminatorX-3.81/src/tX_mastergui.cc Wed Sep 10 14:16:36 2003 +++ terminatorX-3.81/src/tX_mastergui.cc Wed Sep 10 14:17:00 2003 @@ -222,8 +222,8 @@ gtk_label_set_text(GTK_LABEL(used_mem), buffer); } } - } fclose(procfs); + } sprintf(buffer, "%i", vtt_class::vtt_amount); gtk_label_set_text(GTK_LABEL(no_of_vtts), buffer);