From a88f8d57b4aad3a60c9b621e0e513616c6d62ad2 Mon Sep 17 00:00:00 2001 From: aanriot Date: Mon, 21 Aug 2006 17:39:00 +0000 Subject: [PATCH] The following diff removes a call to utf_initialize() used in Core.pm by the swig-generated perl modules, which is causing a Segmentation Fault, as reported in PR #5071 . ok naddy@ , Sigfred Haversen --- devel/subversion/Makefile | 4 ++-- ...tch-subversion_bindings_swig_perl_native_Core_pm | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 devel/subversion/patches/patch-subversion_bindings_swig_perl_native_Core_pm diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile index c94dfc1b288..5535944f04a 100644 --- a/devel/subversion/Makefile +++ b/devel/subversion/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2006/08/01 23:39:08 espie Exp $ +# $OpenBSD: Makefile,v 1.22 2006/08/21 17:39:00 aanriot Exp $ COMMENT= "subversion revision control system" COMMENT-perl= "perl interface to subversion" @@ -6,7 +6,7 @@ COMMENT-python= "python interface to subversion" VERSION= 1.3.2 DISTNAME= subversion-${VERSION} -PKGNAME-perl= p5-SVN-${VERSION} +PKGNAME-perl= p5-SVN-${VERSION}p0 PKGNAME-python= py-subversion-${VERSION} SHARED_LIBS= svn_client-1 0.0 \ svn_delta-1 0.0 \ diff --git a/devel/subversion/patches/patch-subversion_bindings_swig_perl_native_Core_pm b/devel/subversion/patches/patch-subversion_bindings_swig_perl_native_Core_pm new file mode 100644 index 00000000000..1761159401a --- /dev/null +++ b/devel/subversion/patches/patch-subversion_bindings_swig_perl_native_Core_pm @@ -0,0 +1,13 @@ +$OpenBSD: patch-subversion_bindings_swig_perl_native_Core_pm,v 1.1 2006/08/21 17:39:00 aanriot Exp $ +--- subversion/bindings/swig/perl/native/Core.pm.orig Mon Aug 14 15:23:49 2006 ++++ subversion/bindings/swig/perl/native/Core.pm Mon Aug 14 15:23:57 2006 +@@ -50,9 +50,6 @@ BEGIN { + SVN::_Core::apr_initialize(); + } + +-our $gpool = SVN::Pool->new_default; +-SVN::Core::utf_initialize($gpool); +- + END { + SVN::_Core::apr_terminate(); + }