From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 12 23:40:05 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3793737B404 for ; Sat, 12 Apr 2003 23:40:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E10343F3F for ; Sat, 12 Apr 2003 23:40:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3D6e1Up061633 for ; Sat, 12 Apr 2003 23:40:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3D6e17g061632; Sat, 12 Apr 2003 23:40:01 -0700 (PDT) Resent-Date: Sat, 12 Apr 2003 23:40:01 -0700 (PDT) Resent-Message-Id: <200304130640.h3D6e17g061632@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Philip M. Gollucci" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99BC437B401 for ; Sat, 12 Apr 2003 23:37:53 -0700 (PDT) Received: from p6m7g8.com (pcp02835904pcs.hyatsv01.md.comcast.net [68.54.254.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94D2943FA3 for ; Sat, 12 Apr 2003 23:37:52 -0700 (PDT) (envelope-from philip@p6m7g8.com) Received: from p6m7g8.com (localhost [127.0.0.1]) by p6m7g8.com (8.12.6/8.12.6) with ESMTP id h3D2aU6d069374; Sun, 13 Apr 2003 02:36:30 GMT (envelope-from philip@p6m7g8.com) Received: (from root@localhost) by p6m7g8.com (8.12.6/8.12.6/Submit) id h3D2aTHU069373; Sun, 13 Apr 2003 02:36:29 GMT Message-Id: <200304130236.h3D2aTHU069373@p6m7g8.com> Date: Sun, 13 Apr 2003 02:36:29 GMT From: "Philip M. Gollucci" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: sotnikov@kyivstar.net Subject: ports/50890: Updated patch file (missing -DHAVE_FT for freetype) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Philip M. Gollucci" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2003 06:40:05 -0000 >Number: 50890 >Category: ports >Synopsis: Updated patch file (missing -DHAVE_FT for freetype) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 12 23:40:01 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Philip M. Gollucci >Release: FreeBSD 5.0-RELEASE i386 >Organization: P6M7G8 Consulting >Environment: System: FreeBSD p6m7g8.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Hello, I've used port p5-GD2 and encoutered some problems with stringFT fuction, - it not works. I've found that the problem in files/patch-aa. Below is my patch to your patch, may be You found it usefull :) --- files/patch-aa.orig Fri Apr 11 20:16:43 2003 +++ files/patch-aa Fri Apr 11 20:15:27 2003 @@ -70,7 +70,7 @@ -$DEFINES .= ' -DHAVE_JPEG' if $JPEG; -$DEFINES .= ' -DHAVE_FT' if $FT; -$DEFINES .= ' -DHAVE_XPM' if $XPM; -++my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF'; +++my $DEFINES = '-DHAVE_JPEG -DHAVE_FT'; ++$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32'; $DEFINES .= ' -DFCGI' if $FCGI; If I've disturbed You without reason, please excuse me. -- Vladimir Sotnikov Based ont his, I've patch the patch-aa file myself. I noticed I had to many +'s in the defines line. In addition to that, I've added -DHAVE_FT. I have however left the if $FT inplace. Supposedly for us, this will always be true since libgd2 depends on freetype2. >How-To-Repeat: >Fix: --- patch.diff begins here --- Index: patch-aa =================================================================== RCS file: /home/ncvs/ports/graphics/p5-GD2/files/patch-aa,v retrieving revision 1.9 diff -u -r1.9 patch-aa --- patch-aa 2003/04/03 09:40:13 1.9 +++ patch-aa 2003/04/13 06:31:40 @@ -1,5 +1,5 @@ ---- Makefile.PL.orig Wed Nov 27 08:29:57 2002 -+++ Makefile.PL Thu Apr 3 01:35:53 2003 +--- Makefile.PL.orig Wed Nov 27 16:29:57 2002 ++++ Makefile.PL Sun Apr 13 02:25:57 2003 @@ -6,46 +6,23 @@ @@ -55,7 +55,7 @@ my $FCGI = 0; # set to 1 to build compatability with fastCGI -@@ -61,16 +38,13 @@ +@@ -61,16 +38,14 @@ push @INC, '-I/lib_root/ft2/include/freetype' if ($FT && $^O eq 'VMS'); push @INC, '-I/X11' if ($XPM && $^O eq 'VMS'); @@ -70,8 +70,9 @@ -$DEFINES .= ' -DHAVE_JPEG' if $JPEG; -$DEFINES .= ' -DHAVE_FT' if $FT; -$DEFINES .= ' -DHAVE_XPM' if $XPM; -++my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF'; -++$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32'; ++my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF'; ++$DEFINES .= ' -DHAVE_FT' if $FT; ++$DEFINES .= ' -DHAVE_XPM' unless $^O eq 'MSWin32'; $DEFINES .= ' -DFCGI' if $FCGI; WriteMakefile( --- patch.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: