pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bugzilla bugzilla: workaround build issue with P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/880d1e0fc1b6
branches:  trunk
changeset: 404354:880d1e0fc1b6
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Nov 11 20:36:04 2019 +0000

description:
bugzilla: workaround build issue with Perl 5.30.

It doesn't like this one line of code. Unclear why. Fails with
an undefined reference to utf8::SWASHNEW.

But all it does is remove BiDi control characters, so we can remove it.

Bump PKGREVISION
PR pkg/54624

diffstat:

 devel/bugzilla/Makefile                       |   5 +++--
 devel/bugzilla/distinfo                       |   3 ++-
 devel/bugzilla/patches/patch-Bugzilla_Util.pm |  16 ++++++++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 3afa1b6930d6 -r 880d1e0fc1b6 devel/bugzilla/Makefile
--- a/devel/bugzilla/Makefile   Mon Nov 11 19:47:10 2019 +0000
+++ b/devel/bugzilla/Makefile   Mon Nov 11 20:36:04 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2019/11/03 10:39:07 rillig Exp $
+# $NetBSD: Makefile,v 1.52 2019/11/11 20:36:04 maya Exp $
 
 DISTNAME=      bugzilla-5.0.3
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    www devel
 MASTER_SITES=  ${MASTER_SITE_MOZILLA_ALL:=webtools/}
 
@@ -147,6 +147,7 @@
        pax -rw -pmp template           ${DESTDIR}${BZDIR} ;\
        )
        ${RM} ${DESTDIR}${BZDIR}/Bugzilla/Install/Filesystem.pm.orig
+       ${RM} ${DESTDIR}${BZDIR}/Bugzilla/Util.pm.orig
 
 .include "../../mk/apache.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3afa1b6930d6 -r 880d1e0fc1b6 devel/bugzilla/distinfo
--- a/devel/bugzilla/distinfo   Mon Nov 11 19:47:10 2019 +0000
+++ b/devel/bugzilla/distinfo   Mon Nov 11 20:36:04 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.20 2017/03/17 16:26:30 mef Exp $
+$NetBSD: distinfo,v 1.21 2019/11/11 20:36:04 maya Exp $
 
 SHA1 (bugzilla-5.0.3.tar.gz) = 49b4b2b1b3086cb9b75f65138e702da71dc29c93
 RMD160 (bugzilla-5.0.3.tar.gz) = f48c7e903a9984d9bf95b969dba3b8d0b4ba4cb2
 SHA512 (bugzilla-5.0.3.tar.gz) = 82334533bd75a4a5eee5213826da916175ecf39cbfd1c4d820519f015257b02998a3acd881f8f52c1650d1140158c8aa839e374574a1fa862a6a4a1351748c46
 Size (bugzilla-5.0.3.tar.gz) = 4069689 bytes
 SHA1 (patch-Bugzilla_Install_Filesystem_pm) = 9ec49194210270be0a4af872765d29ec0544b189
+SHA1 (patch-Bugzilla_Util.pm) = d95ebe682b508660c5943f516c2be9541792f4fb
diff -r 3afa1b6930d6 -r 880d1e0fc1b6 devel/bugzilla/patches/patch-Bugzilla_Util.pm
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/bugzilla/patches/patch-Bugzilla_Util.pm     Mon Nov 11 20:36:04 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Bugzilla_Util.pm,v 1.1 2019/11/11 20:36:04 maya Exp $
+
+don't truncate bidi control characters, this breaks the build
+with perl 5.30
+
+--- Bugzilla/Util.pm.orig      2016-05-16 19:02:18.000000000 +0000
++++ Bugzilla/Util.pm
+@@ -101,7 +101,7 @@ sub html_quote {
+         # |U+200e|Left-To-Right Mark        |0xe2 0x80 0x8e      |
+         # |U+200f|Right-To-Left Mark        |0xe2 0x80 0x8f      |
+         # --------------------------------------------------------
+-        $var =~ tr/\x{202a}-\x{202e}//d;
++      #$var =~ tr/\x{202a}-\x{202e}//d;
+     }
+     return $var;
+ }



Home | Main Index | Thread Index | Old Index