From mat@aragorn-old.in.absolight.net  Fri Mar 24 11:03:41 2006
Return-Path: <mat@aragorn-old.in.absolight.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 98F2C16A440
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Mar 2006 11:03:41 +0000 (UTC)
	(envelope-from mat@aragorn-old.in.absolight.net)
Received: from plouf.absolight.net (plouf.absolight.net [193.30.224.136])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3431143D49
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Mar 2006 11:03:33 +0000 (GMT)
	(envelope-from mat@aragorn-old.in.absolight.net)
Received: from gw.in.absolight.net (gw.in.absolight.net [193.30.224.94])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by plouf.absolight.net (Postfix) with ESMTP id 9F1CC4B2E33
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Mar 2006 12:03:31 +0100 (CET)
Received: from aragorn-old.in.absolight.net (aragorn-old.in.absolight.net [193.30.224.86])
	by gw.in.absolight.net (Postfix) with ESMTP id A5C0860DA
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Mar 2006 12:03:29 +0100 (CET)
Received: by aragorn-old.in.absolight.net (Postfix, from userid 1000)
	id 6E2017CB0; Fri, 24 Mar 2006 12:03:27 +0100 (CET)
Message-Id: <20060324110327.6E2017CB0@aragorn-old.in.absolight.net>
Date: Fri, 24 Mar 2006 12:03:27 +0100 (CET)
From: Mathieu Arnold <mat@FreeBSD.org>
Reply-To: Mathieu Arnold <mat@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Change GraphicsMagick so that it's symbols don't clash with other libs
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ronvdaal@n1x.nl mat@FreeBSD.org, ronvdaal@n1x.nl

>Number:         94905
>Category:       ports
>Synopsis:       Change GraphicsMagick so that it's symbols don't clash with other libs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 24 11:10:15 GMT 2006
>Closed-Date:    Mon Jul 31 16:40:38 GMT 2006
>Last-Modified:  Mon Jul 31 16:40:38 GMT 2006
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn-old.in.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Sep 3 12:54:37 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/src/sys/compile/ARAGORN i386

>Description:

If you try to use a program with both libGraphicsMagick and libtidy, you'll
have problems because both of them export a GetToken symbol. The easiest way to
prevent this from happening is to use this which makes all GraphicsMagick
symbols be prefixed with Gm.

It would require a not in UPDATING because all depending software will have to
be recompiled.

>How-To-Repeat:
>Fix:

--- GraphicsMagick-nox11-1.1.6_2.diff begins here ---
Index: Makefile
===================================================================
RCS file: /opt/freebsd/ports/graphics/GraphicsMagick/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	23 Feb 2006 10:36:46 -0000	1.4
+++ Makefile	24 Mar 2006 10:57:52 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	GraphicsMagick
 PORTVERSION=	1.1.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/
@@ -46,7 +46,8 @@
 
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=	--without-perl --with-windows-font-dir=${WINDOWS_FONT_DIR} \
-		--enable-shared --enable-static --without-threads
+		--enable-shared --enable-static --without-threads \
+		--enable-symbol-prefix
 INSTALLS_SHLIB=	yes
 
 .if !defined(NOPORTDOCS)
--- GraphicsMagick-nox11-1.1.6_2.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Mar 24 11:12:42 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94905 

From: Ron van Daal <ronvdaal@n1x.nl>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/94905: Change graphics/GraphicsMagick so that it's symbols
 don't clash with other libs
Date: Fri, 24 Mar 2006 13:07:47 +0100 (CET)

 The patch has been approved.
 
 Thanks,
 
 Ron
 
 On Fri, 24 Mar 2006, Edwin Groothuis wrote:
 
 > Maintainer of graphics/GraphicsMagick,
 >
 > Please note that PR ports/94905 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/94905
 >
 > -- 
 > Edwin Groothuis
 > edwin@FreeBSD.org
 >
State-Changed-From-To: feedback->open 
State-Changed-By: itetcu 
State-Changed-When: Sun Jul 9 20:07:35 UTC 2006 
State-Changed-Why:  
maintainer approved 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94905 
Responsible-Changed-From-To: freebsd-ports-bugs->mat 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jul 17 04:37:07 UTC 2006 
Responsible-Changed-Why:  
Maintainer was reset due to bouncing email address, so assign this back to 
the originator. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94905 
State-Changed-From-To: open->closed 
State-Changed-By: mat 
State-Changed-When: Mon Jul 31 16:40:22 UTC 2006 
State-Changed-Why:  
committed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94905 
>Unformatted:
