wok-next diff net-snmp/stuff/patches/Fix-Perl-module-compilation.patch @ rev 20095
Update/add packages needed for building MATE desktop:
Add: gnome-keyring3, gtkmm3, libappindicator-gtk[23], libfakekey, libgnome-keyring3, libindicator-gtk[23], libpeas.
Update: atkmm, cairomm, gcr, glibmm, gssdp, gupnp, icon-naming-utils, libcap-ng, libspectre, libwnck3, libxklavier, pangomm, perl-xml-sax.
Add: gnome-keyring3, gtkmm3, libappindicator-gtk[23], libfakekey, libgnome-keyring3, libindicator-gtk[23], libpeas.
Update: atkmm, cairomm, gcr, glibmm, gssdp, gupnp, icon-naming-utils, libcap-ng, libspectre, libwnck3, libxklavier, pangomm, perl-xml-sax.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 28 16:45:22 2017 +0300 (2017-10-28) |
parents | f784f25c0128 |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/net-snmp/stuff/patches/Fix-Perl-module-compilation.patch Sat Oct 28 16:45:22 2017 +0300 1.3 @@ -0,0 +1,182 @@ 1.4 +From 4e793461e96a2b4fd81142ab312d074d5c8841fa Mon Sep 17 00:00:00 2001 1.5 +From: Bart Van Assche <bvanassche@acm.org> 1.6 +Date: Sat, 23 Jul 2016 18:41:10 -0700 1.7 +Subject: [PATCH] CHANGES: BUG: 2712: Fix Perl module compilation 1.8 + 1.9 +Avoid that building the Net-SNMP Perl modules fails as follows: 1.10 + 1.11 +ERROR from evaluation of /sources/net-snmp-5.7.3/perl/ASN/Makefile.PL: Bizarre \ copy of HASH in list assignment at /usr/lib/perl5/site_perl/5.24.0/Carp.pm line\ 229. 1.12 + 1.13 +See also https://sourceforge.net/p/net-snmp/bugs/2712/. 1.14 +--- 1.15 + perl/ASN/Makefile.PL | 4 +--- 1.16 + perl/Makefile.PL | 4 +--- 1.17 + perl/OID/Makefile.PL | 5 +---- 1.18 + perl/SNMP/Makefile.PL | 5 +---- 1.19 + perl/TrapReceiver/Makefile.PL | 5 +---- 1.20 + perl/agent/Makefile.PL | 5 +---- 1.21 + perl/agent/Support/Makefile.PL | 5 +---- 1.22 + perl/agent/default_store/Makefile.PL | 5 +---- 1.23 + perl/default_store/Makefile.PL | 6 +----- 1.24 + 9 files changed, 9 insertions(+), 35 deletions(-) 1.25 + 1.26 +diff --git a/perl/ASN/Makefile.PL b/perl/ASN/Makefile.PL 1.27 +index f895a41..0e52b3a 100644 1.28 +--- a/perl/ASN/Makefile.PL 1.29 ++++ b/perl/ASN/Makefile.PL 1.30 +@@ -7,9 +7,7 @@ my $lib_version; 1.31 + # See lib/ExtUtils/MakeMaker.pm for details of how to influence 1.32 + # the contents of the Makefile that is written. 1.33 + 1.34 +-%MakeParams = InitMakeParams(); 1.35 +- 1.36 +-WriteMakefile(%MakeParams); 1.37 ++WriteMakefile(InitMakeParams()); 1.38 + 1.39 + Check_Version(); 1.40 + 1.41 +diff --git a/perl/Makefile.PL b/perl/Makefile.PL 1.42 +index f70f991..ac36c15 100644 1.43 +--- a/perl/Makefile.PL 1.44 ++++ b/perl/Makefile.PL 1.45 +@@ -3,9 +3,7 @@ use Config; 1.46 + use Getopt::Long; 1.47 + require 5; 1.48 + 1.49 +-%MakeParams = InitMakeParams(); 1.50 +- 1.51 +-WriteMakefile(%MakeParams); 1.52 ++WriteMakefile(InitMakeParams()); 1.53 + 1.54 + sub InitMakeParams { 1.55 + $nsconfig="net-snmp-config"; # in path by default 1.56 +diff --git a/perl/OID/Makefile.PL b/perl/OID/Makefile.PL 1.57 +index 5d94338..676c439 100644 1.58 +--- a/perl/OID/Makefile.PL 1.59 ++++ b/perl/OID/Makefile.PL 1.60 +@@ -6,11 +6,8 @@ require 5; 1.61 + use Config; 1.62 + use Getopt::Long; 1.63 + my $lib_version; 1.64 +-my %MakeParams = (); 1.65 + 1.66 +-%MakeParams = InitMakeParams(); 1.67 +- 1.68 +-WriteMakefile(%MakeParams); 1.69 ++WriteMakefile(InitMakeParams()); 1.70 + 1.71 + Check_Version(); 1.72 + 1.73 +diff --git a/perl/SNMP/Makefile.PL b/perl/SNMP/Makefile.PL 1.74 +index 928cb67..d7b5a2a 100644 1.75 +--- a/perl/SNMP/Makefile.PL 1.76 ++++ b/perl/SNMP/Makefile.PL 1.77 +@@ -3,15 +3,12 @@ require 5; 1.78 + use Config; 1.79 + use Getopt::Long; 1.80 + my $lib_version; 1.81 +-my %MakeParams = (); 1.82 + my $opts; 1.83 + 1.84 + # See lib/ExtUtils/MakeMaker.pm for details of how to influence 1.85 + # the contents of the Makefile that is written. 1.86 + 1.87 +-%MakeParams = InitMakeParams(); 1.88 +- 1.89 +-WriteMakefile(%MakeParams); 1.90 ++WriteMakefile(InitMakeParams()); 1.91 + 1.92 + Check_Version(); 1.93 + 1.94 +diff --git a/perl/TrapReceiver/Makefile.PL b/perl/TrapReceiver/Makefile.PL 1.95 +index 5c9463a..0af6aaf 100644 1.96 +--- a/perl/TrapReceiver/Makefile.PL 1.97 ++++ b/perl/TrapReceiver/Makefile.PL 1.98 +@@ -3,11 +3,8 @@ require 5; 1.99 + use Config; 1.100 + use Getopt::Long; 1.101 + my $lib_version; 1.102 +-my %MakeParams = (); 1.103 + 1.104 +-%MakeParams = InitMakeParams(); 1.105 +- 1.106 +-WriteMakefile(%MakeParams); 1.107 ++WriteMakefile(InitMakeParams()); 1.108 + 1.109 + Check_Version(); 1.110 + 1.111 +diff --git a/perl/agent/Makefile.PL b/perl/agent/Makefile.PL 1.112 +index b4b358a..fe105ea 100644 1.113 +--- a/perl/agent/Makefile.PL 1.114 ++++ b/perl/agent/Makefile.PL 1.115 +@@ -3,11 +3,8 @@ require 5; 1.116 + use Config; 1.117 + use Getopt::Long; 1.118 + my $lib_version; 1.119 +-my %MakeParams = (); 1.120 + 1.121 +-%MakeParams = InitMakeParams(); 1.122 +- 1.123 +-WriteMakefile(%MakeParams); 1.124 ++WriteMakefile(InitMakeParams()); 1.125 + 1.126 + Check_Version(); 1.127 + 1.128 +diff --git a/perl/agent/Support/Makefile.PL b/perl/agent/Support/Makefile.PL 1.129 +index 3a4f200..0dcb3f6 100644 1.130 +--- a/perl/agent/Support/Makefile.PL 1.131 ++++ b/perl/agent/Support/Makefile.PL 1.132 +@@ -3,14 +3,11 @@ require 5; 1.133 + use Config; 1.134 + use Getopt::Long; 1.135 + my $lib_version; 1.136 +-my %MakeParams = (); 1.137 + 1.138 + # See lib/ExtUtils/MakeMaker.pm for details of how to influence 1.139 + # the contents of the Makefile that is written. 1.140 + 1.141 +-%MakeParams = InitMakeParams(); 1.142 +- 1.143 +-WriteMakefile(%MakeParams); 1.144 ++WriteMakefile(InitMakeParams()); 1.145 + 1.146 + Check_Version(); 1.147 + 1.148 +diff --git a/perl/agent/default_store/Makefile.PL b/perl/agent/default_store/Makefile.PL 1.149 +index 67d5ff0..5c6a5d6 100644 1.150 +--- a/perl/agent/default_store/Makefile.PL 1.151 ++++ b/perl/agent/default_store/Makefile.PL 1.152 +@@ -3,11 +3,8 @@ require 5; 1.153 + use Config; 1.154 + use Getopt::Long; 1.155 + my $lib_version; 1.156 +-my %MakeParams = (); 1.157 + 1.158 +-%MakeParams = InitMakeParams(); 1.159 +- 1.160 +-WriteMakefile(%MakeParams); 1.161 ++WriteMakefile(InitMakeParams()); 1.162 + 1.163 + Check_Version(); 1.164 + 1.165 +diff --git a/perl/default_store/Makefile.PL b/perl/default_store/Makefile.PL 1.166 +index 54996ab..221d4ed 100644 1.167 +--- a/perl/default_store/Makefile.PL 1.168 ++++ b/perl/default_store/Makefile.PL 1.169 +@@ -3,12 +3,8 @@ require 5; 1.170 + use Config; 1.171 + use Getopt::Long; 1.172 + my $lib_version; 1.173 +-my %MakeParams = (); 1.174 +- 1.175 +-%MakeParams = InitMakeParams(); 1.176 +- 1.177 +-WriteMakefile(%MakeParams); 1.178 + 1.179 ++WriteMakefile(InitMakeParams()); 1.180 + 1.181 + sub InitMakeParams { 1.182 + my $opts; 1.183 +-- 1.184 +2.9.3 1.185 +