ports/76501: lang/ohugs: fix compilation on >= 5.x

Johan van Selst johans at stack.nl
Thu Jan 20 14:20:22 UTC 2005


>Number:         76501
>Category:       ports
>Synopsis:       lang/ohugs: fix compilation on >= 5.x
>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 Jan 20 14:20:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 5.3-STABLE FreeBSD 5.3-STABLE #3: Thu Jan 13 13:11:19 CET 2005 root at mud.stack.nl:/usr/local/spare1/TEMP/obj/usr/src/sys/mud i386


	
>Description:
	
	Compiler complains about the use of NULL as integer value.
	ObFix: use 0 instead.

>How-To-Repeat:
	
>Fix:

	

Add patch below as files/patch-src::type.c
And remove BROKEN variable

--- src/type.c.orig	Thu Jan 20 15:04:24 2005
+++ src/type.c	Thu Jan 20 15:03:17 2005
@@ -1165,7 +1165,7 @@
                         break;
         case QUAL     : snd(snd(t)) = freshSig(snd(snd(t)));
                         break;
-        case NULL     : 
+        case 0        : 
 	case OFFSET   : 
 	case INTCELL  : 
 	case TYCON    :
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list