Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 17:14:35 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        knu@FreeBSD.org
Subject:   ports/42820: [patch] graphics/gdchart doesn't compile
Message-ID:  <20020916071435.C48366A7124@k7.mavetju>

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

>Number:         42820
>Category:       ports
>Synopsis:       [patch] graphics/gdchart doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 16 00:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Mon Mar 11 13:32:05 EST 2002 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

$FreeBSD: ports/graphics/gdchart/Makefile,v 1.7 2002/09/15 12:10:35 knu Exp $

>Description:

graphics/gdchart doesn't compile due to problems finding gd.h

>How-To-Repeat:

cd ports/graphics/gdchart
make

>Fix:

Put there two patches to the files/ directory

[/usr/ports/graphics/gdchart/files] root@k7>cat patch-gdc.h
--- gdc.h.old	Mon Sep 16 17:08:49 2002
+++ gdc.h	Mon Sep 16 17:08:58 2002
@@ -24,12 +24,12 @@
 #include <limits.h>
 #include <float.h>
 #ifdef GDC_INCL
-#include "gd.h"
-#include "gdfonts.h"
-#include "gdfontt.h"
-#include "gdfontmb.h"
-#include "gdfontg.h"
-#include "gdfontl.h"
+#include "gd/gd.h"
+#include "gd/gdfonts.h"
+#include "gd/gdfontt.h"
+#include "gd/gdfontmb.h"
+#include "gd/gdfontg.h"
+#include "gd/gdfontl.h"
 #include "gifencode.h"
 #include "array_alloc.h"
 #endif

[/usr/ports/graphics/gdchart/files] root@k7>cat patch-gifencode.c
--- gifencode.c.old	Mon Sep 16 17:09:19 2002
+++ gifencode.c	Mon Sep 16 17:09:30 2002
@@ -9,7 +9,7 @@
 #include <math.h>
 #include <string.h>
 #include <stdlib.h>
-#include "gd.h"
+#include "gd/gd.h"
 
 /* Code drawn from ppmtogif.c, from the pbmplus package
 **
>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?20020916071435.C48366A7124>