Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2005 15:13:32 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76501: lang/ohugs: fix compilation on >= 5.x
Message-ID:  <20050120141332.DF83646A@mud.stack.nl>
Resent-Message-ID: <200501201420.j0KEKL8u021458@freefall.freebsd.org>

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

>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@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:



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