Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 10:10:31 -0500 (CDT)
From:      Dan Nelson <dnelson@allantgroup.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40346: [PATCH] gindent-2.2.8 malloc.h fixes
Message-ID:  <200207081510.g68FAVWK003182@dan.emsphone.com>

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

>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
<malloc.h>.  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 <stdio.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <string.h>
+ #include <ctype.h>
+ 
+--- 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 <string.h>
+ #include <stdlib.h>
+ #include <direct.h>
++#ifdef HAVE_MALLOC_H
+ #include <malloc.h>
++#endif
+ #include <ctype.h>
+ 
+ #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




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