Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 12:03:27 +0100 (CET)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94905: Change GraphicsMagick so that it's symbols don't clash with other libs
Message-ID:  <20060324110327.6E2017CB0@aragorn-old.in.absolight.net>
Resent-Message-ID: <200603241110.k2OBALpD080445@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 24 11:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060324110327.6E2017CB0>