Date: Sat, 6 Apr 2002 16:19:11 +0200 (CEST) From: Juergen Lock <nox@jelal.kn-bremen.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36812: update games/gracer for -current (untested) Message-ID: <200204061419.g36EJBr06392@saturn>
next in thread | raw e-mail | index | archive | help
>Number: 36812 >Category: ports >Synopsis: update games/gracer for -current (untested) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Apr 06 06:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Juergen Lock >Release: FreeBSD 4.3-STABLE i386 >Organization: me? organized?? >Environment: System: FreeBSD saturn 4.3-STABLE FreeBSD 4.3-STABLE #4: Sat Mar 9 15:54:14 CET 2002 nox@saturn:/www/w/usr/src4/src/sys/compile/SP3G.3I i386 >Description: use <stdlib.h> instead of <malloc.h>, as suggested by http://bento.freebsd.org/errorlogs/errorlogs/e.5.20020327/ >How-To-Repeat: i guess -current no longer has <malloc.h>... Can someone please test this and commit it if it works? Thanx! (sorry if its too late for DP1) >Fix: New file: files/patch-ba Index: files/patch-ba @@ -0,0 +1,13 @@ +Index: common/gr_memory.h +@@ -29,7 +29,11 @@ + } + #endif + ++#ifdef __FreeBSD__ ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + + #define gr_new(type,num) (type *) malloc (sizeof(type) * (num)) + #define gr_new0(type,num) (type *) __malloc0 (sizeof(type) * (num)) >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?200204061419.g36EJBr06392>