ports/59521: [bento fix] sysutils/lcdproc: Fix build on -CURRENT

Clement Laforet sheepkiller at cultdeadsheep.org
Thu Nov 20 16:20:34 UTC 2003


>Number:         59521
>Category:       ports
>Synopsis:       [bento fix] sysutils/lcdproc: Fix build on -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 08:20:25 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Nov 18 23:10:46 CET 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	Fix lcdproc build (just remove sys/sched.h detection to precent its use)

>How-To-Repeat:

	http://bento.freebsd.org/errorlogs/i386-5-latest/lcdproc-0.4.3_2.log
>Fix:

	

--- lcdproc.diff begins here ---
Index: lcdproc/files/patch-configure
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/sysutils/lcdproc/files/patch-configure,v
retrieving revision 1.1
diff -u -r1.1 patch-configure
--- lcdproc/files/patch-configure	29 Oct 2002 04:47:25 -0000	1.1
+++ lcdproc/files/patch-configure	20 Nov 2003 16:11:38 -0000
@@ -1,5 +1,5 @@
---- configure.orig	Fri Oct 18 20:16:40 2002
-+++ configure	Fri Oct 18 20:23:32 2002
+--- configure.orig	Thu May 30 07:20:57 2002
++++ configure	Thu Nov 20 16:11:23 2003
 @@ -886,7 +886,7 @@
  if test $debug = "yes"; then
  	CFLAGS="-g -O"
@@ -9,6 +9,15 @@
  fi
  CFLAGS="-Wall $CFLAGS"
  export CFLAGS
+@@ -1842,7 +1842,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
 @@ -2902,6 +2902,7 @@
  
  	echo $ac_n "checking for your mounted filesystem table""... $ac_c" 1>&6
--- lcdproc.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list