Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 10:38:34 -0800 (PST)
From:      Erik Greenwald <erik@smluc.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33302: gnomeicu won't compile on -current
Message-ID:  <200112291838.fBTIcYC08922@freefall.freebsd.org>

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

>Number:         33302
>Category:       ports
>Synopsis:       gnomeicu won't compile on -current
>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:   Sat Dec 29 10:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Erik Greenwald
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
FreeBSD fenris 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Fri Dec 28 19:26:14 CST 2001 erik@fenris:/usr/src/sys/i386/compile/FENRIS i386

>Description:
net/gnomeicu breaks on src/icu_db.c with this error

/usr/include/malloc.h:3: #error "<malloc.h> has been replaced by <stdlib.h>"

>How-To-Repeat:
cd /usr/ports/net/gnomeicu ; make

>Fix:
diff -urNb net/gnomeicu.orig/files/patch-src::icu_db.c net/gnomeicu/files/patch-src::icu_db.c
--- net/gnomeicu.orig/files/patch-src::icu_db.c	Wed Dec 31 18:00:00 1969
+++ net/gnomeicu/files/patch-src::icu_db.c	Sat Dec 29 12:08:26 2001
@@ -0,0 +1,11 @@
+--- src/icu_db.c.orig	Sat Dec 29 12:05:53 2001
++++ src/icu_db.c	Sat Dec 29 12:07:04 2001
+@@ -33,7 +33,7 @@
+ #include <errno.h>
+ #include <stdio.h>
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ 
+ #if defined(HAVE_LIBGDBM)
+ #include <gdbm.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?200112291838.fBTIcYC08922>