Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 15:48:29 +0000
From:      Mark Cullen <mark.cullen@dsl.pipex.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   lcdproc port
Message-ID:  <41A9F34D.8050903@dsl.pipex.com>

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

[-- Attachment #1 --]
Just to tell you I got the newest version of lcdproc to compile (0.4.5). 
I don't have an LCD ready yet, so I don't know if it works.. but it 
compiles now.

Attached is a tar of the patches in the 'files' directory. It seems 
there was no need for patch-port anymore, so I removed that and fixed 
the configure patch.

Perhaps someone can test it out and update the port?
-- 
Internet Explorer? Try FireFox at http://www.mozilla.org/products/firefox/
Outlook Express? Try ThunderBird at 
http://www.mozilla.org/products/thunderbird/

[-- Attachment #2 --]
LCDd.sh.sample0100644000000000000000000000036607736141433012275 0ustar  rootwheel#!/bin/sh

case "$1" in
	start)		
		%%PREFIX%%/sbin/LCDd -c %%PREFIX%%/etc/LCDd.conf &
		echo -n " LCDd"
		;;
	stop)
		killall LCDd
		echo -n " LDCd"
		;;
	*)
		echo ""
		echo "Usage: `basename $0` { start | stop }"
		echo ""
		exit 64
		;;
esac
patch-chrono.c0100644000000000000000000000045410152362210012422 0ustar  rootwheel--- clients/lcdproc/chrono.c.orig	Sat Dec 29 06:52:39 2001
+++ clients/lcdproc/chrono.c	Tue May  6 05:07:49 2003
@@ -62,6 +62,8 @@
 #include <sys/dkstat.h>
 #endif

+#include <sys/resource.h>
+
 #if FREEBSD
 /* definitions for indices in the nlist array */
 /* from /usr/src/src.bin/top/machine.c */
patch-configure0100644000000000000000000000153710152364633012710 0ustar  rootwheel--- configure.orig	Sun Nov 28 15:05:32 2004
+++ configure	Sun Nov 28 15:06:51 2004
@@ -890,8 +890,6 @@
 
 if test $debug = "yes"; then
 	CFLAGS="-g -O"
-else
-	CFLAGS="-O3"
 fi
 CFLAGS="-Wall $CFLAGS"
 export CFLAGS
@@ -1847,7 +1845,7 @@
 fi
 
 
-for ac_hdr in sched.h sys/sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h
+for ac_hdr in sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -3241,6 +3239,7 @@
 
 	echo $ac_n "checking for your mounted filesystem table""... $ac_c" 1>&6
 echo "configure:3244: checking for your mounted filesystem table" >&5
+ac_cv_mtab_file=/etc/fstab
 if eval "test \"`echo '$''{'ac_cv_mtab_file'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
patch-cpu.c0100644000000000000000000000047607657652410011751 0ustar  rootwheel--- clients/lcdproc/cpu.c.orig	Thu Jan  3 13:32:42 2002
+++ clients/lcdproc/cpu.c	Tue May  6 05:08:51 2003
@@ -60,6 +60,9 @@
 #include <sys/dkstat.h>
 #endif
 
+#include <sys/time.h>
+#include <sys/resource.h>
+
 #if FREEBSD
 /* definitions for indices in the nlist array */
 /* from /usr/src/src.bin/top/machine.c */

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