summaryrefslogtreecommitdiffstats
path: root/source/n/net-snmp/net-snmp-5.8-Remove-U64-typedef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/net-snmp/net-snmp-5.8-Remove-U64-typedef.patch')
-rw-r--r--source/n/net-snmp/net-snmp-5.8-Remove-U64-typedef.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/n/net-snmp/net-snmp-5.8-Remove-U64-typedef.patch b/source/n/net-snmp/net-snmp-5.8-Remove-U64-typedef.patch
new file mode 100644
index 000000000..75a2c6df1
--- /dev/null
+++ b/source/n/net-snmp/net-snmp-5.8-Remove-U64-typedef.patch
@@ -0,0 +1,12 @@
+diff -urNp a/include/net-snmp/library/int64.h b/include/net-snmp/library/int64.h
+--- a/include/net-snmp/library/int64.h 2018-07-18 14:37:16.543348832 +0200
++++ b/include/net-snmp/library/int64.h 2018-07-18 15:31:31.516999288 +0200
+@@ -10,7 +10,7 @@ extern "C" {
+ * 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;
++// typedef struct counter64 U64;
+ #endif
+
+ #define I64CHARSZ 21