patch to build sysutils/xosview on CURRENT

Rainer Hurling rhurlin at gwdg.de
Sun Feb 28 20:26:59 UTC 2010


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
-------------- next part --------------
--- 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 \
-------------- next part --------------
--- 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
-------------- next part --------------
--- 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


More information about the freebsd-ports mailing list