SHA256
1
0
forked from pool/net-snmp

Accepting request 397352 from net-snmp:factory

Fix build with perl 5.24 - tested locally as a build against openSUSE:Factory:Staging:B (forwarded request 397205 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/397352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=80
This commit is contained in:
Dominique Leuenberger 2016-05-31 10:08:26 +00:00 committed by Git OBS Bridge
parent dd6a8df967
commit c31417dc18
4 changed files with 2557 additions and 0 deletions

View File

@ -0,0 +1,23 @@
diff -up net-snmp-5.7.3/perl/ASN/Makefile.PL.orig net-snmp-5.7.3/perl/ASN/Makefile.PL
--- net-snmp-5.7.3/perl/ASN/Makefile.PL.orig 2016-05-06 10:35:30.005905040 +0200
+++ net-snmp-5.7.3/perl/ASN/Makefile.PL 2016-05-06 10:35:57.518776400 +0200
@@ -3,6 +3,7 @@ require 5;
use Config;
use Getopt::Long;
my $lib_version;
+my %MakeParams = ();
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
diff -up net-snmp-5.7.3/perl/Makefile.PL.orig net-snmp-5.7.3/perl/Makefile.PL
--- net-snmp-5.7.3/perl/Makefile.PL.orig 2016-05-06 10:34:38.975143641 +0200
+++ net-snmp-5.7.3/perl/Makefile.PL 2016-05-06 10:35:13.326983024 +0200
@@ -2,6 +2,7 @@ use ExtUtils::MakeMaker;
use Config;
use Getopt::Long;
require 5;
+my %MakeParams = ();
%MakeParams = InitMakeParams();

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat May 21 08:48:48 UTC 2016 - dimstar@opensuse.org
- Fix build with perl 5.24.0:
+ Add net-snmp-5.7.3-Fix-Makefile.PL.patch: Fix build system
recursiely loading Makefile.Pl and destroying its internas.
See https://rt.perl.org/Public/Bug/Display.html?id=125907
+ net-snmp-5.7.3-Remove-U64-typedef.patch: The U64 typedef
conflicts with a typedef in a Perl header file. Hence remove
the U64 typedef from the Net-SNMP header files. Backported from
upstream commit 477b4307ef1.
-------------------------------------------------------------------
Tue Mar 15 09:09:41 UTC 2016 - abergmann@suse.com

View File

@ -73,6 +73,8 @@ Patch7: net-snmp-5.7.3-fix-snmpd-crashing-when-an-agentx-disconnects.pat
Patch8: net-snmp-5.7.3-netgroups.patch
Patch9: net-snmp-5.7.3-snmpstatus-suppress-output.patch
Patch10: net-snmp-5.7.3-fix-snmp_pdu_parse-incomplete.patch
Patch11: net-snmp-5.7.3-Remove-U64-typedef.patch
Patch12: net-snmp-5.7.3-Fix-Makefile.PL.patch
#
Summary: SNMP Daemon
License: BSD-3-Clause and MIT
@ -208,6 +210,8 @@ Net-SNMP toolkit library.
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%build
MIBS="misc/ipfwacc ucd-snmp/diskio etherlike-mib rmon-mib velocity smux \