From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 23 20:10:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9460916A401 for ; Fri, 23 Feb 2007 20:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 64CC113C471 for ; Fri, 23 Feb 2007 20:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1NKA4d0060213 for ; Fri, 23 Feb 2007 20:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1NKA4pF060212; Fri, 23 Feb 2007 20:10:04 GMT (envelope-from gnats) Resent-Date: Fri, 23 Feb 2007 20:10:04 GMT Resent-Message-Id: <200702232010.l1NKA4pF060212@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, "Radim Kolar SF.NET" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B0A416A403 for ; Fri, 23 Feb 2007 20:09:36 +0000 (UTC) (envelope-from hsn@sendmail.cz) Received: from smtp-out4.iol.cz (smtp-out4.iol.cz [194.228.2.92]) by mx1.freebsd.org (Postfix) with ESMTP id E82F213C48E for ; Fri, 23 Feb 2007 20:09:35 +0000 (UTC) (envelope-from hsn@sendmail.cz) Received: from antivir6.iol.cz (unknown [192.168.30.215]) by smtp-out4.iol.cz (Postfix) with ESMTP id AF8E31C6451; Fri, 23 Feb 2007 20:09:32 +0000 (UTC) Received: from localhost (antivir6.iol.cz [127.0.0.1]) by antivir6.iol.cz (Postfix) with ESMTP id 95A49260037; Fri, 23 Feb 2007 21:09:32 +0100 (CET) Received: from antivir6.iol.cz ([127.0.0.1]) by localhost (antivir6.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id EzXI3uBzmoXN; Fri, 23 Feb 2007 21:09:32 +0100 (CET) Received: from smtp-out4.iol.cz (mta-out4 [192.168.30.31]) by antivir6.iol.cz (Postfix) with ESMTP id 6068F260036; Fri, 23 Feb 2007 21:09:32 +0100 (CET) Received: from sanatana.dharma (234.114.broadband5.iol.cz [88.100.114.234]) by smtp-out4.iol.cz (Postfix) with ESMTP id 28B9547E07; Fri, 23 Feb 2007 21:09:29 +0100 (CET) Received: from hsn-sf@localhost by sanatana.dharma (Exim 4.66_0 FreeBSD) id 1HKgjO-0001Ko-UH ; Fri, 23 Feb 2007 21:09:27 +0100 Message-Id: Date: Fri, 23 Feb 2007 21:09:26 +0100 From: "Radim Kolar SF.NET" Sender: "Radim Kolar SF.NET" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: dinoex@FreeBSD.org, hsn-sf@sd.iol.cz Subject: ports/109476: [PATCH] graphics/gd: unbreak build with WITH_FONTCONFIG X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 20:10:05 -0000 >Number: 109476 >Category: ports >Synopsis: [PATCH] graphics/gd: unbreak build with WITH_FONTCONFIG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 23 20:10:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Radim Kolar SF.NET >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD sanatana.dharma 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Sun Jan 14 11:36:17 CET 2007 >Description: when building with fontconfig configuration option, fontconfig library must be linked in. It fixes breakage with apps linking self against gd but not against fontconfig. on my system this change unbreaks py-gd. (extension library builded ok, but failed to load >How-To-Repeat: >Fix: --- gd-2.0.34_1,1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/gd/Makefile /home/hsn/hacked/gd/Makefile --- /usr/ports/graphics/gd/Makefile Thu Feb 22 21:33:05 2007 +++ /home/hsn/hacked/gd/Makefile Fri Feb 23 21:01:43 2007 @@ -7,7 +7,7 @@ PORTNAME= gd PORTVERSION= 2.0.34 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH= 1 CATEGORIES+= graphics MASTER_SITES= http://www.libgd.org/releases/ @@ -46,8 +46,8 @@ .if defined(WITH_FONTCONFIG) LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig CPPFLAGS+= -I${X11BASE}/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD ${PTHREAD_CFLAGS} -LDFLAGS+= ${PTHREAD_LIBS} -LDFLAGS2+= ${PTHREAD_LIBS} +LDFLAGS+= ${PTHREAD_LIBS} -lfontconfig +LDFLAGS2+= ${PTHREAD_LIBS} -L${X11BASE}/lib FEATURES+= GD_FONTCONFIG .endif --- gd-2.0.34_1,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: >>> import gd Traceback (most recent call last): File "", line 1, in ? File "/usr/local/lib/python2.4/site-packages/gd.py", line 10, in ? import _gd ImportError: /usr/local/lib/libgd.so.4: Undefined symbol "FcPatternGetString" Port maintainer (dinoex@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77