Subject: CVS commit: pkgsrc/x11/gtksourceview
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 02/07/2004 15:21:43
Module Name:	pkgsrc
Committed By:	jmmv
Date:		Sat Feb  7 15:21:43 UTC 2004

Modified Files:
	pkgsrc/x11/gtksourceview: Makefile buildlink2.mk distinfo
Added Files:
	pkgsrc/x11/gtksourceview/patches: patch-ab

Log Message:
Under a system without GNU regex, this package builds an internal copy of
it.  This copy defines the standard regcomp and friends functions, which
are also present in NetBSD.  The problem is that the copy gets linked into
the libgtksourceview shared library and, when loaded into memory, shadows
native regex functions.

The problem exposes itself at least in gedit through gnome-vfs2.  The later
executes regcomp, expecting the native one to be called, but instead the
one from the libgtksourceview library appears, making the program crash.

Apply a patch to ensure these internal GNU regex functions do not colish
with native ones.  Bump PKGREVISION to 8.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/x11/gtksourceview/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/x11/gtksourceview/buildlink2.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/x11/gtksourceview/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/x11/gtksourceview/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.