]> git.pld-linux.org Git - packages/net-snmp.git/commitdiff
- Remove-U64-typedef is back for 5.8, renumbered patches
authorMarcin Krol <hawk@tld-linux.org>
Fri, 31 Aug 2018 10:58:58 +0000 (10:58 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Fri, 31 Aug 2018 10:58:58 +0000 (10:58 +0000)
net-snmp-Remove-U64-typedef.patch [new file with mode: 0644]
net-snmp.spec

diff --git a/net-snmp-Remove-U64-typedef.patch b/net-snmp-Remove-U64-typedef.patch
new file mode 100644 (file)
index 0000000..d95a39a
--- /dev/null
@@ -0,0 +1,18 @@
+diff -ur net-snmp-5.8.orig/include/net-snmp/library/int64.h net-snmp-5.8/include/net-snmp/library/int64.h
+--- net-snmp-5.8.orig/include/net-snmp/library/int64.h 2018-07-16 14:33:40.000000000 +0000
++++ net-snmp-5.8/include/net-snmp/library/int64.h      2018-08-31 10:50:18.665987890 +0000
+@@ -5,14 +5,6 @@
+ extern          "C" {
+ #endif
+-#ifndef NETSNMP_REMOVE_U64
+-    /*
+-     * Note: using the U64 typedef is deprecated because this typedef conflicts
+-     * with a typedef with the same name defined in the Perl header files.
+-     */
+-    typedef struct counter64 U64;
+-#endif
+-
+ #define I64CHARSZ 21
+     void            divBy10(struct counter64, struct counter64 *,
index 4e0b98919648f0d24d408aac7fcba57d658e59c1..db1b35c831053e3061803011b0361853e0f1793d 100644 (file)
@@ -47,13 +47,14 @@ Patch4:             %{name}-link.patch
 Patch5:                %{name}-llinterfaces.patch
 Patch6:                %{name}-kernel_headers.patch
 Patch7:                %{name}-rpmpath.patch
-Patch9:                %{name}-python.patch
-Patch10:       %{name}-lvalue.patch
-Patch11:       %{name}-defaultconfig.patch
-Patch12:       %{name}-use-rpm-hrmib.patch
-Patch13:       %{name}-TCP_STATS_CACHE_TIMEOUT.patch
-Patch14:       %{name}-logging.patch
-Patch17:       1314610.patch
+Patch8:                %{name}-python.patch
+Patch9:        %{name}-lvalue.patch
+Patch10:       %{name}-defaultconfig.patch
+Patch11:       %{name}-use-rpm-hrmib.patch
+Patch12:       %{name}-TCP_STATS_CACHE_TIMEOUT.patch
+Patch13:       %{name}-logging.patch
+Patch14:       %{name}-Remove-U64-typedef.patch
+Patch15:       1314610.patch
 URL:           http://www.net-snmp.org/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake
@@ -449,13 +450,14 @@ SNMP dla trzech wersji tego protokoĊ‚u (SNMPv3, SNMPv2c, SNMPv1).
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
-%patch17 -p1
+%patch15 -p1
 
 %build
 %{__libtoolize}
This page took 0.205094 seconds and 4 git commands to generate.