Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2010 21:26:51 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Brian Handy <handy@physics.montana.edu>
Cc:        ports@freebsd.org
Subject:   patch to build sysutils/xosview on CURRENT
Message-ID:  <4B8AD18B.1030801@gwdg.de>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk>
 
-.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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B8AD18B.1030801>