summaryrefslogtreecommitdiffstats
path: root/source/n/net-snmp/net-snmp-5.8-cflags.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-11-09 21:46:09 +0000
committer Eric Hameleers <alien@slackware.com>2018-11-10 08:59:45 +0100
commit374248fe50672549bd1e5cd53ddb5bdfdcc66b65 (patch)
treefbac9f1c41679d79634ef08ac614cb4b708c8386 /source/n/net-snmp/net-snmp-5.8-cflags.patch
parent0e6f7049d6a514115df0164db47fbd8763cf5148 (diff)
downloadcurrent-374248fe50672549bd1e5cd53ddb5bdfdcc66b65.tar.gz
current-374248fe50672549bd1e5cd53ddb5bdfdcc66b65.tar.xz
Fri Nov 9 21:46:09 UTC 201820181109214609
a/udisks2-2.6.5-x86_64-3.txz: Rebuilt. Recompiled against net-snmp-5.8. ap/hplip-3.18.10-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.8. d/bison-3.2.1-x86_64-1.txz: Upgraded. d/meson-0.48.2-x86_64-1.txz: Upgraded. l/pycairo-1.18.0-x86_64-1.txz: Upgraded. n/bridge-utils-1.6-x86_64-1.txz: Upgraded. n/net-snmp-5.8-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/ntp-4.2.8p12-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.8. n/php-7.2.12-x86_64-2.txz: Rebuilt. Recompiled against net-snmp-5.8. xap/blackbox-0.74-x86_64-2.txz: Rebuilt. When building, don't install anything to the system. Thanks to Didier Spaier. xap/sane-1.0.27-x86_64-4.txz: Rebuilt. Recompiled against net-snmp-5.8. extra/aspell-word-lists/aspell-ar-1.2_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ast-0.01-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ca-2.1.5_1-x86_64-1.txz: Upgraded. extra/aspell-word-lists/aspell-de_alt-2.1_1-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-fy-0.12_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-grc-0.02_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-hy-0.10.0_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ky-0.01_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-ml-0.03_1-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-pt_PT-20070510_0-x86_64-1.txz: Added. extra/aspell-word-lists/aspell-tk-0.01_0-x86_64-1.txz: Added.
Diffstat (limited to 'source/n/net-snmp/net-snmp-5.8-cflags.patch')
-rw-r--r--source/n/net-snmp/net-snmp-5.8-cflags.patch112
1 files changed, 112 insertions, 0 deletions
diff --git a/source/n/net-snmp/net-snmp-5.8-cflags.patch b/source/n/net-snmp/net-snmp-5.8-cflags.patch
new file mode 100644
index 000000000..180972607
--- /dev/null
+++ b/source/n/net-snmp/net-snmp-5.8-cflags.patch
@@ -0,0 +1,112 @@
+diff -urNp a/net-snmp-config.in b/net-snmp-config.in
+--- a/net-snmp-config.in 2018-07-18 13:43:12.264426052 +0200
++++ b/net-snmp-config.in 2018-07-18 13:52:06.917089518 +0200
+@@ -140,10 +140,10 @@ else
+ ;;
+ #################################################### compile
+ --base-cflags)
+- echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
++ echo -I${NSC_INCLUDEDIR}
+ ;;
+ --cflags|--cf*)
+- echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
++ echo @DEVFLAGS@ -I. -I${NSC_INCLUDEDIR}
+ ;;
+ --srcdir)
+ echo $NSC_SRCDIR
+diff -urNp a/perl/agent/default_store/Makefile.PL b/perl/agent/default_store/Makefile.PL
+--- a/perl/agent/default_store/Makefile.PL 2018-07-18 13:43:12.170426290 +0200
++++ b/perl/agent/default_store/Makefile.PL 2018-07-18 13:51:31.812176486 +0200
+@@ -83,7 +83,7 @@ sub AgentDefaultStoreInitMakeParams {
+ " " . $Params{'LIBS'};
+ $Params{'CCFLAGS'} = "-I../../../include " . $Params{'CCFLAGS'};
+ }
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {
+ die "You need to install net-snmp first (I can't find net-snmp-config)";
+diff -urNp a/perl/agent/Makefile.PL b/perl/agent/Makefile.PL
+--- a/perl/agent/Makefile.PL 2018-07-18 13:43:12.169426292 +0200
++++ b/perl/agent/Makefile.PL 2018-07-18 13:52:53.884973275 +0200
+@@ -98,7 +98,7 @@ sub AgentInitMakeParams {
+ $Params{'LIBS'} = `$opts->{'nsconfig'} --libdir` . $Params{'LIBS'};
+ # $Params{'PREREQ_PM'} = {'NetSNMP::OID' => '0.1'};
+ }
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {
+ die "You need to install net-snmp first (I can't find net-snmp-config)";
+diff -urNp a/perl/agent/Support/Makefile.PL b/perl/agent/Support/Makefile.PL
+--- a/perl/agent/Support/Makefile.PL 2018-07-18 13:43:12.169426292 +0200
++++ b/perl/agent/Support/Makefile.PL 2018-07-18 13:53:11.414929921 +0200
+@@ -90,7 +90,7 @@ sub SupportInitMakeParams {
+ " " . $Params{'LIBS'};
+ $Params{'CCFLAGS'} = "-I../../include " . $Params{'CCFLAGS'};
+ }
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {
+ die "You need to install net-snmp first (I can't find net-snmp-config)";
+diff -urNp a/perl/ASN/Makefile.PL b/perl/ASN/Makefile.PL
+--- a/perl/ASN/Makefile.PL 2018-07-18 13:43:12.171426287 +0200
++++ b/perl/ASN/Makefile.PL 2018-07-18 13:53:46.652842822 +0200
+@@ -93,7 +93,7 @@ sub AsnInitMakeParams {
+ " " . $Params{'LIBS'};
+ $Params{'CCFLAGS'} = "-I../../include " . $Params{'CCFLAGS'};
+ }
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {
+ die "You need to install net-snmp first (I can't find net-snmp-config)";
+diff -urNp a/perl/default_store/Makefile.PL b/perl/default_store/Makefile.PL
+--- a/perl/default_store/Makefile.PL 2018-07-18 13:43:12.175426277 +0200
++++ b/perl/default_store/Makefile.PL 2018-07-18 13:54:20.814758441 +0200
+@@ -83,7 +83,7 @@ sub DefaultStoreInitMakeParams {
+ " " . $Params{'LIBS'};
+ $Params{'CCFLAGS'} = "-I../../include " . $Params{'CCFLAGS'};
+ }
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {
+ die "You need to install net-snmp first (I can't find net-snmp-config)";
+diff -urNp a/perl/OID/Makefile.PL b/perl/OID/Makefile.PL
+--- a/perl/OID/Makefile.PL 2018-07-18 13:43:12.175426277 +0200
++++ b/perl/OID/Makefile.PL 2018-07-18 13:54:43.348702811 +0200
+@@ -90,7 +90,7 @@ sub OidInitMakeParams {
+ # } else {
+ # $Params{'PREREQ_PM'} = {'SNMP' => '5.0'};
+ }
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {
+ die "You need to install net-snmp first (I can't find net-snmp-config)";
+diff -urNp a/perl/SNMP/Makefile.PL b/perl/SNMP/Makefile.PL
+--- a/perl/SNMP/Makefile.PL 2018-07-18 13:43:12.173426282 +0200
++++ b/perl/SNMP/Makefile.PL 2018-07-18 13:55:07.220643903 +0200
+@@ -103,7 +103,7 @@ sub SnmpInitMakeParams {
+ # } else {
+ # $Params{'PREREQ_PM'} = { 'NetSNMP::default_store' => 0.01 };
+ }
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if (!$ENV{'NETSNMP_PREFIX'}) {
+ $prefix = `$opts->{'nsconfig'} --prefix`;
+diff -urNp a/perl/TrapReceiver/Makefile.PL b/perl/TrapReceiver/Makefile.PL
+--- a/perl/TrapReceiver/Makefile.PL 2018-07-18 13:43:12.172426285 +0200
++++ b/perl/TrapReceiver/Makefile.PL 2018-07-18 13:55:43.100647233 +0200
+@@ -132,7 +132,7 @@ sub TrapReceiverInitMakeParams {
+ $Params{'LIBS'} = `$opts->{'nsconfig'} --libdir` . " $Params{'LIBS'}";
+ }
+
+- $Params{'CCFLAGS'} =~ s/ -W(all|inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
++ $Params{'CCFLAGS'} =~ s/ -W(inline|strict-prototypes|write-strings|cast-qual|no-char-subscripts)//g; # ignore developer warnings
+ $Params{'CCFLAGS'} .= ' -Wformat';
+ if ($Params{'CCFLAGS'} eq "") {
+ die "You need to install net-snmp first (I can't find net-snmp-config)";