pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat chat/inspircd{, 12}: Fix build with perl>=5.26.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf78ed9cbb3c
branches:  trunk
changeset: 367085:bf78ed9cbb3c
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Aug 23 17:54:34 2017 +0000

description:
chat/inspircd{,12}: Fix build with perl>=5.26.0.

Perl 5.26.0 removed "." from @INC, so add it back to the scripts
used to configure the software.  The scripts are only called from
the top-level directory, so adding 'use lib ".";' is sufficient.

diffstat:

 chat/inspircd/distinfo                      |   4 ++--
 chat/inspircd/patches/patch-ac              |  14 +++++++++++---
 chat/inspircd12/distinfo                    |   5 +++--
 chat/inspircd12/patches/patch-ac            |  16 ++++++++++++----
 chat/inspircd12/patches/patch-modulemanager |  12 ++++++++++++
 5 files changed, 40 insertions(+), 11 deletions(-)

diffs (104 lines):

diff -r b50041a3ec1f -r bf78ed9cbb3c chat/inspircd/distinfo
--- a/chat/inspircd/distinfo    Wed Aug 23 17:54:17 2017 +0000
+++ b/chat/inspircd/distinfo    Wed Aug 23 17:54:34 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2015/11/03 01:20:20 agc Exp $
+$NetBSD: distinfo,v 1.18 2017/08/23 17:54:34 jlam Exp $
 
 SHA1 (InspIRCd-1.1.23.tar.bz2) = 0def2426fa60cb32a2514e64196c04f37fa67e5e
 RMD160 (InspIRCd-1.1.23.tar.bz2) = 122ae3c269af0af3f8362f17eae29767d6c314d4
@@ -6,5 +6,5 @@
 Size (InspIRCd-1.1.23.tar.bz2) = 505853 bytes
 SHA1 (patch-aa) = d62675b6ace79ba5c0c0c4db2b4f9454346170c3
 SHA1 (patch-ab) = c0921dda70348839c286315a3fa0244828d5116a
-SHA1 (patch-ac) = 266c8d6015923d890748d4157f7e5aff87da5df1
+SHA1 (patch-ac) = 9e8fd6d4862ac1f913ee016c955fac0b53d132db
 SHA1 (patch-ad) = d35df392a574728f6c61c4107bb3d2ce1e11568a
diff -r b50041a3ec1f -r bf78ed9cbb3c chat/inspircd/patches/patch-ac
--- a/chat/inspircd/patches/patch-ac    Wed Aug 23 17:54:17 2017 +0000
+++ b/chat/inspircd/patches/patch-ac    Wed Aug 23 17:54:34 2017 +0000
@@ -1,8 +1,16 @@
-$NetBSD: patch-ac,v 1.5 2008/06/14 14:30:23 adrianp Exp $
+$NetBSD: patch-ac,v 1.6 2017/08/23 17:54:34 jlam Exp $
 
---- configure.orig     2008-05-11 01:19:59.000000000 +0100
+--- configure.orig     2009-07-30 11:28:57.000000000 +0000
 +++ configure
-@@ -232,8 +231,8 @@ $config{EXTRA_DIR}          = "";                                          #
+@@ -18,6 +18,7 @@ use Cwd;
+ use Getopt::Long;
+ 
+ # Utility functions for our buildsystem
++use lib ".";
+ use make::utilities;
+ use make::configure;
+ use make::gnutlscert;
+@@ -233,8 +234,8 @@ $config{EXTRA_DIR}          = "";                                          #
  if ($config{OSNAME} =~ /darwin/i)
  {
        $config{IS_DARWIN} = "YES";
diff -r b50041a3ec1f -r bf78ed9cbb3c chat/inspircd12/distinfo
--- a/chat/inspircd12/distinfo  Wed Aug 23 17:54:17 2017 +0000
+++ b/chat/inspircd12/distinfo  Wed Aug 23 17:54:34 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 01:20:20 agc Exp $
+$NetBSD: distinfo,v 1.8 2017/08/23 17:54:34 jlam Exp $
 
 SHA1 (InspIRCd-1.2.0.tar.bz2) = 2973dc7e83dc2334c18e7fcd6d95a22da44b256e
 RMD160 (InspIRCd-1.2.0.tar.bz2) = 1f74336bf5e30b89e0baa306c22f0b37fbf339bd
@@ -6,5 +6,6 @@
 Size (InspIRCd-1.2.0.tar.bz2) = 635384 bytes
 SHA1 (patch-aa) = 16c092692872173dede40925be51c4a391491a03
 SHA1 (patch-ab) = 9548488202c5c6dd725c3eba28921961b67dd15b
-SHA1 (patch-ac) = af385c0640ca7101afb8aefbeea3860b3f3bb970
+SHA1 (patch-ac) = e318fa75bcb31c07b3d72906449e420a9020706c
 SHA1 (patch-ad) = 8dd2a589ab639d9d4ecfc4477aa5fb3f613761e7
+SHA1 (patch-modulemanager) = 48f182267337552887f4290dee18c61cf1bd2079
diff -r b50041a3ec1f -r bf78ed9cbb3c chat/inspircd12/patches/patch-ac
--- a/chat/inspircd12/patches/patch-ac  Wed Aug 23 17:54:17 2017 +0000
+++ b/chat/inspircd12/patches/patch-ac  Wed Aug 23 17:54:34 2017 +0000
@@ -1,8 +1,16 @@
-$NetBSD: patch-ac,v 1.3 2009/08/29 22:42:46 adrianp Exp $
+$NetBSD: patch-ac,v 1.4 2017/08/23 17:54:34 jlam Exp $
 
---- configure.orig     2009-08-21 17:33:04.000000000 +0100
+--- configure.orig     2009-08-21 16:33:04.000000000 +0000
 +++ configure
-@@ -320,8 +320,8 @@ $config{EXTRA_DIR}   = "";                                         # Is emp
+@@ -31,6 +31,7 @@ use Cwd;
+ use Getopt::Long;
+ 
+ # Utility functions for our buildsystem
++use lib ".";
+ use make::utilities;
+ use make::configure;
+ use make::gnutlscert;
+@@ -320,8 +321,8 @@ $config{EXTRA_DIR}   = "";                                         # Is emp
  if ($config{OSNAME} =~ /darwin/i)
  {
        $config{IS_DARWIN} = "YES";
@@ -13,7 +21,7 @@
        $config{EXTRA_DIR}          = " launchd_dir";                           # Is OSX specific path.
  }
  $config{CC}               = "g++";                                            # C++ compiler
-@@ -874,7 +874,7 @@ if (($config{USE_OPENSSL} eq "y") && ($c
+@@ -874,7 +875,7 @@ if (($config{USE_OPENSSL} eq "y") && ($c
  our $failed = 0;
  
  $config{CERTGEN} ||= 'y';
diff -r b50041a3ec1f -r bf78ed9cbb3c chat/inspircd12/patches/patch-modulemanager
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd12/patches/patch-modulemanager       Wed Aug 23 17:54:34 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-modulemanager,v 1.1 2017/08/23 17:54:34 jlam Exp $
+
+--- modulemanager.orig 2009-08-14 19:45:30.000000000 +0000
++++ modulemanager
+@@ -3,6 +3,7 @@ use strict;
+ use warnings FATAL => qw(all);
+ use LWP::Simple;
+ 
++use lib ".";
+ use make::configure;
+ 
+ our @modlist;



Home | Main Index | Thread Index | Old Index