Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2006 16:17:19 GMT
From:      "Jimmy F.Klarke" <iss.jfk@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95479: Firebird broken
Message-ID:  <200604071617.k37GHJbY006208@www.freebsd.org>
Resent-Message-ID: <200604071620.k37GKNc4064747@freefall.freebsd.org>

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

>Number:         95479
>Category:       ports
>Synopsis:       Firebird broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 07 16:20:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy F.Klarke
>Release:        6.0 Release
>Organization:
InfiniteSpace Studio
>Environment:
FreeBSD ark1.infinitespace.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Apr  5 11:13:10 CST 2006     root@ark0.infinitespace.org:/usr/obj/usr/src/sys/ARK0  i386

>Description:
Ports chinese/firebird not functional after successful make and install.
This port is marked as broken in recend ports update.
>How-To-Repeat:
cd in /usr/ports/chinese/firebird, then make install to repeat.
>Fix:
I made a new patch to bbssrc/src/screen.c to fix this problem. Replace the original files/patch-screen.c with this one should fix the problem.

--- src/screen.c.orig   Tue Apr  4 22:47:56 2006
+++ src/screen.c   Fri Apr  7 09:01:51 2006
@@ -27,7 +27,7 @@
 #include "screen.h"
 #include "edit.h"
 #include <sys/param.h>
-#include <varargs.h>
+#include <stdarg.h>
 
 extern char clearbuf[];
 extern char cleolbuf[];
@@ -538,15 +538,13 @@
 int     dec[] = {1000000000, 100000000, 10000000, 1000000, 100000, 10000, 1000, 100, 10, 1};
 
 void
-prints(va_alist)
-va_dcl
+prints(char *fmt, ...)
 {
    va_list ap;
-   register char *fmt;
+   register char;
    char   *bp;
    register int i, count, hd, indx;
-   va_start(ap);
-   fmt = va_arg(ap, char *);
+   va_start(ap, fmt);
    while (*fmt != '\0') {
       if (*fmt == '%') {
          int     sgn = 1;
>Release-Note:
>Audit-Trail:
>Unformatted:



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