Date: Thu, 5 Sep 2002 10:34:52 -0700 (PDT) From: Adam Weinberger <adam@vectors.cx> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42452: patch: unbreak print/bibcard Message-ID: <200209051734.g85HYq0v083148@vectors.cx>
next in thread | raw e-mail | index | archive | help
>Number: 42452 >Category: ports >Synopsis: patch: unbreak print/bibcard >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 05 10:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Adam Weinberger >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD manifold.vectors.cx 4.6-STABLE FreeBSD 4.6-STABLE #10: Sat Jun 29 16:50:17 PDT 2002 root@manifold.vectors.cx:/usr/src/sys/compile/subspace i386 >Description: realloc() is part of stdlib and needn't be redefined in FreeBSD. see: http://bento.freebsd.org/errorlogs/4-latest/bibcard-0.6.4.log >How-To-Repeat: >Fix: files/patch-01: --- bt.h.orig Thu Sep 5 10:21:18 2002 +++ bt.h Thu Sep 5 10:22:45 2002 @@ -47,7 +47,9 @@ #define LD_ERROR 98 extern char * strdup(); +#if !defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(_bsdi__) extern char * realloc(); +#endif #define set_str(x, new)\ if (x) free(x); \ if (new) x = strdup(new); \ >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?200209051734.g85HYq0v083148>