Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2001 16:27:57 +0300 (MSK)
From:      Kostya Lukin <lukin@okbmei.msk.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25893: archivers/freese: package building error?
Message-ID:  <200103181327.QAA42880@ns.okbmei.msk.su>

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

>Number:         25893
>Category:       ports
>Synopsis:       archivers/freese: package building error?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 18 05:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kostya Lukin
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
OKB MEI
>Environment:

	

>Description:

Bill Fenner have been reported about package building error. I have no
such problem, but under several circumstances (putc is not defined as
macro in stdio.h) it may be. I suppose he have another stdio.h. So I
make this patch.

>How-To-Repeat:

	

>Fix:

Please, remove zero-sized patch-aa.orig after applying.

diff -ruN /usr/ports/archivers/freeze/files/patch-aa freeze/files/patch-aa
--- /usr/ports/archivers/freeze/files/patch-aa	Thu Jan  1 03:00:00 1970
+++ freeze/files/patch-aa	Sun Mar 18 16:05:10 2001
@@ -0,0 +1,24 @@
+--- freeze.h.orig	Wed Feb 24 16:36:58 1993
++++ freeze.h	Sun Mar 18 16:04:29 2001
+@@ -5,21 +5,6 @@
+ # include <sys/stdtypes.h>
+ #endif
+ 
+-#ifndef getc
+-# ifdef m88k                   /* Green Hill C library bug. */
+-#  define getc(p)         (--(p)->_cnt < 0 ? __filbuf(p) : (int) *(p)->_ptr++)
+-# else
+-#  define getc(p)         (--(p)->_cnt < 0 ? _filbuf(p) : (int) *(p)->_ptr++)
+-# endif
+-#endif
+-#ifndef putc
+-# ifdef m88k                   /* Green Hill C library bug. */
+-#  define putc(x, p)      (--(p)->_cnt < 0 ? __flsbuf((unsigned char) (x), (p)) : (int) (*(p)->_ptr++ = (unsigned char) (x)))
+-# else
+-#  define putc(x, p)      (--(p)->_cnt < 0 ? _flsbuf((unsigned char) (x), (p)) : (int) (*(p)->_ptr++ = (unsigned char) (x)))
+-# endif
+-#endif
+-
+ #if !defined(MSDOS) && defined(__MSDOS__)
+ # define MSDOS
+ #endif
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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