summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Breuer <honza.breuer@gmail.com>2018-09-15 23:47:05 +0200
committerMichał Górny <mgorny@gentoo.org>2018-09-16 21:54:21 +0200
commitbfb687613954e39c24ebb2247f06eda67afbc7b9 (patch)
treef4c86dd894cc98d8f1c822ab151cd748b2e0f0e8 /net-misc/ptpd/files/ptpd-2.3.1-fix-snmp.patch
parentwww-servers/apache-2.4.34-r2: ppc stable, bug 662894 (diff)
downloadgentoo-bfb687613954e39c24ebb2247f06eda67afbc7b9.tar.gz
gentoo-bfb687613954e39c24ebb2247f06eda67afbc7b9.tar.bz2
gentoo-bfb687613954e39c24ebb2247f06eda67afbc7b9.zip
net-misc/ptpd: Fix conflicting types for EVP_MD_CTX
Closes: https://bugs.gentoo.org/664500 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9786
Diffstat (limited to 'net-misc/ptpd/files/ptpd-2.3.1-fix-snmp.patch')
-rw-r--r--net-misc/ptpd/files/ptpd-2.3.1-fix-snmp.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/ptpd/files/ptpd-2.3.1-fix-snmp.patch b/net-misc/ptpd/files/ptpd-2.3.1-fix-snmp.patch
new file mode 100644
index 000000000000..31b466d1468c
--- /dev/null
+++ b/net-misc/ptpd/files/ptpd-2.3.1-fix-snmp.patch
@@ -0,0 +1,12 @@
+diff -urN old/src/dep/snmp.c new/src/dep/snmp.c
+--- old/src/dep/snmp.c 2015-06-29 17:13:29.000000000 +0200
++++ new/src/dep/snmp.c 2018-09-15 22:54:11.818589001 +0200
+@@ -221,7 +221,7 @@
+
+ #define SNMP_LOCAL_VARIABLES \
+ static unsigned long long_ret; \
+- static U64 counter64_ret; \
++ static struct counter64 counter64_ret; \
+ static uint32_t ipaddr; \
+ Integer64 bigint; \
+ struct snmpHeaderIndex idx; \