Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1945355 Details for
Bug 2095500
net-snmp-perl pulls in a lot of unneeded dependencies
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch perl/MakefileSubs.pm so configure will update it
net-snmp-5.9.3-perl.patch (text/plain), 2.34 KB, created by
Chris Adams
on 2023-02-20 19:31:35 UTC
(
hide
)
Description:
Patch perl/MakefileSubs.pm so configure will update it
Filename:
MIME Type:
Creator:
Chris Adams
Created:
2023-02-20 19:31:35 UTC
Size:
2.34 KB
patch
obsolete
>diff -ur net-snmp-5.9.3.dist/configure net-snmp-5.9.3/configure >--- net-snmp-5.9.3.dist/configure 2022-07-13 16:14:22.000000000 -0500 >+++ net-snmp-5.9.3/configure 2023-02-20 13:18:20.933461540 -0600 >@@ -32388,6 +32388,8 @@ > > ac_config_files="$ac_config_files local/snmpconf" > >+ac_config_files="$ac_config_files perl/MakefileSubs.pm" >+ > > ac_config_commands="$ac_config_commands default" > >@@ -33478,6 +33480,7 @@ > "netsnmp-agent.pc") CONFIG_FILES="$CONFIG_FILES netsnmp-agent.pc:netsnmp-agent.pc.in" ;; > "dist/generation-scripts/gen-variables") CONFIG_FILES="$CONFIG_FILES dist/generation-scripts/gen-variables:dist/generation-scripts/gen-variables.in" ;; > "local/snmpconf") CONFIG_FILES="$CONFIG_FILES local/snmpconf" ;; >+ "perl/MakefileSubs.pm") CONFIG_FILES="$CONFIG_FILES perl/MakefileSubs.pm" ;; > "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; > > *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; >diff -ur net-snmp-5.9.3.dist/configure.ac net-snmp-5.9.3/configure.ac >--- net-snmp-5.9.3.dist/configure.ac 2022-07-13 16:14:14.000000000 -0500 >+++ net-snmp-5.9.3/configure.ac 2023-02-20 13:17:42.442821328 -0600 >@@ -121,6 +121,7 @@ > AC_CONFIG_FILES([netsnmp.pc:netsnmp.pc.in netsnmp-agent.pc:netsnmp-agent.pc.in]) > AC_CONFIG_FILES([dist/generation-scripts/gen-variables:dist/generation-scripts/gen-variables.in]) > AC_CONFIG_FILES([local/snmpconf]) >+AC_CONFIG_FILES([perl/MakefileSubs.pm]) > > AC_CONFIG_COMMANDS([default], echo timestamp > stamp-h) > >diff -ur net-snmp-5.9.3.dist/perl/MakefileSubs.pm net-snmp-5.9.3/perl/MakefileSubs.pm >--- net-snmp-5.9.3.dist/perl/MakefileSubs.pm 2022-07-13 16:14:14.000000000 -0500 >+++ net-snmp-5.9.3/perl/MakefileSubs.pm 2023-02-20 13:16:31.912650125 -0600 >@@ -105,14 +105,12 @@ > } else { > # Unix or MinGW. > append($Params->{'LDDLFLAGS'}, $Config{'lddlflags'}); >- my $ldflags = `$opts->{'nsconfig'} --ldflags` or >- die "net-snmp-config failed\n"; >+ my $ldflags = '@LDFLAGS@'; > chomp($ldflags); > append($Params->{'LDDLFLAGS'}, $ldflags); > append($Params->{'CCFLAGS'}, > "-I" . File::Spec->catdir($basedir, "include")); >- my $cflags = `$opts->{'nsconfig'} --cflags` or >- die "net-snmp-config failed\n"; >+ my $cflags = '@CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I@includedir@'; > chomp($cflags); > # Remove -Wimplicit-fallthrough since it is not supported by older > # versions of gcc.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2095500
:
1945354
| 1945355