From owner-freebsd-ports@FreeBSD.ORG Sun Feb 28 20:26:59 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6175A106566C for ; Sun, 28 Feb 2010 20:26:59 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id D450C8FC16 for ; Sun, 28 Feb 2010 20:26:58 +0000 (UTC) Received: from p578b68b8.dip0.t-ipconnect.de ([87.139.104.184] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nlpj5-0001P1-UJ; Sun, 28 Feb 2010 21:26:56 +0100 Message-ID: <4B8AD18B.1030801@gwdg.de> Date: Sun, 28 Feb 2010 21:26:51 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.1.8) Gecko/20100226 Thunderbird/3.0.2 MIME-Version: 1.0 To: Brian Handy Content-Type: multipart/mixed; boundary="------------010807030109080703020102" X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: ports@freebsd.org Subject: patch to build sysutils/xosview on CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2010 20:26:59 -0000 This is a multi-part message in MIME format. --------------010807030109080703020102 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit The good old xosview did not build and install under CURRENT. After some trying I found a way to install and run it. In Makefile we have to remove the 'BROKEN' lines. 'files/patch-configure has to include version 9. Additionally the irg/interrupt-meters have to be disabled over 'files/patch-ae' , because these both crashes under CURRENT. All neccessary patches are attached. It would be nice to take a look at the patches. If all is ok, we could update the port. Is it right to disable irq/interrupt-meters for all FreeBSD version. Or is there some version specific solution? What do you think? Thanks in advance, Rainer Hurling --------------010807030109080703020102 Content-Type: text/plain; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.diff" --- Makefile.orig 2009-12-21 14:05:21.000000000 +0100 +++ Makefile 2010-02-28 19:26:38.000000000 +0100 @@ -21,10 +21,6 @@ .include -.if ${OSVERSION} >= 900000 -BROKEN= unsupported FreeBSD version -.endif - post-patch: @${REINPLACE_CMD} -e 's,iostream.h,iostream,' \ ${WRKSRC}/xwin.h \ --------------010807030109080703020102 Content-Type: text/plain; name="patch-ae.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-ae.diff" --- patch-ae 2001-08-21 21:32:41.000000000 +0200 +++ patch-ae.diff2 2010-02-28 20:35:25.000000000 +0100 @@ -1,8 +1,19 @@ ---- Xdefaults.in.orig Wed Jul 5 21:44:36 2000 -+++ Xdefaults.in Tue Aug 21 12:15:19 2001 -@@ -175,7 +175,7 @@ +--- Xdefaults.in.orig 2006-02-18 06:45:00.000000000 +0100 ++++ Xdefaults.in 2010-02-28 19:58:09.000000000 +0100 +@@ -169,17 +169,17 @@ + + ! Interrupt Meter Resources + +-xosview*interrupts: True ++xosview*interrupts: False + xosview*intOnColor: red + xosview*intOffColor: aquamarine + xosview*intPriority: 1 + ! Interrupt Rate Meter Resources xosview*irqrate: True +-xosview*irqrate: True ++xosview*irqrate: False xosview*irqrateUsedColor: red -xosview*irqrateIdleColor: black +xosview*irqrateIdleColor: aquamarine --------------010807030109080703020102 Content-Type: text/plain; name="patch-configure.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-configure.diff" --- patch-configure.orig 2007-12-20 16:10:47.000000000 +0100 +++ patch-configure 2010-02-28 19:37:30.000000000 +0100 @@ -5,7 +5,7 @@ host_dir=bsd host_os=freebsd ;; -freebsd[4]*) -+freebsd[45678]*) ++freebsd[456789]*) EXTRALIBS="-lkvm $XPMLIB $DEVSTATLIB" INSTALL_ARGS='-s -g kmem -m 02555' NetMeter_Default_Setting=True --------------010807030109080703020102--