From owner-freebsd-ports Mon Jul 8 8:20:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 698BB37B400 for ; Mon, 8 Jul 2002 08:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0231C43E52 for ; Mon, 8 Jul 2002 08:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g68FK1JU035886 for ; Mon, 8 Jul 2002 08:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g68FK1FL035885; Mon, 8 Jul 2002 08:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D87637B400 for ; Mon, 8 Jul 2002 08:10:35 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6C6043E09 for ; Mon, 8 Jul 2002 08:10:34 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g68FAVWK003182; Mon, 8 Jul 2002 10:10:31 -0500 (CDT) (envelope-from dan) Message-Id: <200207081510.g68FAVWK003182@dan.emsphone.com> Date: Mon, 8 Jul 2002 10:10:31 -0500 (CDT) From: Dan Nelson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40346: [PATCH] gindent-2.2.8 malloc.h fixes Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40346 >Category: ports >Synopsis: [PATCH] gindent-2.2.8 malloc.h fixes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 08 08:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dan Nelson >Release: FreeBSD 5.0-CURRENT i386 >Organization: The Allant Group >Environment: System: FreeBSD dan.emsphone.com 5.0-CURRENT FreeBSD 5.0-CURRENT #176: Fri Jul 5 14:39:41 CDT 2002 dan@dan.emsphone.com:/usr/src/sys/i386/compile/DANSMP i386 >Description: Ever since Oct 25, -current has refused to #include the deprecated . gindent-2.2.8 has two instances where it tries to include malloc.h without checking for HAVE_MALLOC_H. >How-To-Repeat: log into a -current machine, try to build ports/devel/gindent >Fix: Index: files/patch-ac =================================================================== RCS file: files/patch-ac diff -N files/patch-ac --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-ac 8 Jul 2002 00:23:28 -0000 @@ -0,0 +1,22 @@ +--- man/texinfo2man.c~ Thu Jan 17 13:28:51 2002 ++++ man/texinfo2man.c Sun Jul 7 19:22:42 2002 +@@ -1,5 +1,7 @@ + #include ++#ifdef HAVE_MALLOC_H + #include ++#endif + #include + #include + +--- src/wildexp.c~ Tue Feb 26 14:38:27 2002 ++++ src/wildexp.c Sun Jul 7 19:22:43 2002 +@@ -24,7 +24,9 @@ + #include + #include + #include ++#ifdef HAVE_MALLOC_H + #include ++#endif + #include + + #include "sys.h" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message