Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2002 00:57:04 +0100 (CET)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46528: bento-fix: bubblemon-dockapp
Message-ID:  <200212252357.gBPNv4l9032690@deimos.lan.raisdorf.net>

next in thread | raw e-mail | index | archive | help

>Number:         46528
>Category:       ports
>Synopsis:       bento-fix: bubblemon-dockapp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 25 08:00:17 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD deimos.lan.raisdorf.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 12 03:40:00 CET 2002 hscholz@deimos.lan.raisdorf.net:/usr/src/sys/i386/compile/DEIMOS i386


	
>Description:

You might consider this as "low priority" but I cannot live without bubblemon-dockapp :)
So here is a patch that fixes the bento compile problem on -current described
on http://bento.freebsd.org/errorlogs/i386-5-full/bubblemon-dockapp-1.40.log

The patch just addes a new patch, makes portlint happier and bumps
the PORTREVISION.

>How-To-Repeat:
	
>Fix:

	

--- bubblemon-dockapp.patch begins here ---
diff -urP bubblemon-dockapp.orig/Makefile bubblemon-dockapp/Makefile
--- bubblemon-dockapp.orig/Makefile	Thu Dec 26 00:48:59 2002
+++ bubblemon-dockapp/Makefile	Thu Dec 26 00:53:16 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	bubblemon-dockapp
 PORTVERSION=	1.40
+PORTREVISION=   1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.ne.jp/asahi/linux/timecop/software/
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/0$//}
@@ -22,7 +23,7 @@
 
 post-patch:
 	${PERL} -pi -e "s@CC = gcc@CC = ${CC}@g; s@-O3 -ansi -Wall@${CFLAGS} -Wall@g; \
-			s@PREFIX = /usr/local@PREFIX = ${PREFIX}@g; \
+			s@PREFIX = ${LOCALBASE}@PREFIX = ${PREFIX}@g; \
 			s@gtk-config@${GTK_CONFIG}@g; s@-lgtk@-lgtk12@g; \
 			s@-c -g kmem -m 2755 -o root@-s -c -g kmem -m 2755 -o root@g" ${WRKSRC}/Makefile
 
diff -urP bubblemon-dockapp.orig/files/patch-sys_freebsd.c bubblemon-dockapp/files/patch-sys_freebsd.c
--- bubblemon-dockapp.orig/files/patch-sys_freebsd.c	Thu Jan  1 01:00:00 1970
+++ bubblemon-dockapp/files/patch-sys_freebsd.c	Thu Dec 26 00:51:02 2002
@@ -0,0 +1,10 @@
+--- sys_freebsd.c.orig	Thu Dec 26 00:49:38 2002
++++ sys_freebsd.c	Thu Dec 26 00:50:18 2002
+@@ -19,6 +19,7 @@
+ 
+ #include <kvm.h>
+ #include <fcntl.h>
++#include <sys/types.h>
+ #include <sys/dkstat.h>
+ #include <sys/vmmeter.h>
+ #include <stdlib.h>
--- bubblemon-dockapp.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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