Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 23:05:40 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76832: lang/scriba: fix installation on sparc64
Message-ID:  <20050129220540.06D073D26@mailhost.gletsjer.net>
Resent-Message-ID: <200501292210.j0TMA9pW027036@freefall.freebsd.org>

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

>Number:         76832
>Category:       ports
>Synopsis:       lang/scriba: fix installation on sparc64
>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:   Sat Jan 29 22:10:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 5.3-RELEASE sparc64
>Organization:
>Environment:
System: FreeBSD weber.stack.nl 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 19:30:40 UTC 2004 root@bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64


	
>Description:
	
	Install program returns an unexpected exit code.
	Fix: be sure to return 0 if everything is fine.

>How-To-Repeat:
	
>Fix:

	

Include the following patch (as files/patch-cftc.c)

--- cftc.c.orig	Sat Jan 29 21:04:00 2005
+++ cftc.c	Sat Jan 29 21:06:09 2005
@@ -4,6 +4,7 @@
 #include "confpile.h"
 
 
+int
 main(int argc,char *argv[]){
   int iError;
   tConfigTree MyCONF;
@@ -28,4 +29,5 @@
     fprintf(stderr,"The error code is %d\n",iError);
     exit(iError);
     }
+  return 0;
   }
>Release-Note:
>Audit-Trail:
>Unformatted:



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