From 2da41c9975f42d48e6ccd0d32eaffad37bc3c0c6 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 23 Apr 2014 14:09:39 +0000 Subject: [PATCH] MF security/krb5: RTM_OLDADD and RTM_OLDDEL were removed from -stable. Submitted by: alfred --- security/krb5-maint/Makefile | 1 + .../files/patch-lib-apputils-net-server.c | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 security/krb5-maint/files/patch-lib-apputils-net-server.c diff --git a/security/krb5-maint/Makefile b/security/krb5-maint/Makefile index 762112838131..e4830edd7af7 100644 --- a/security/krb5-maint/Makefile +++ b/security/krb5-maint/Makefile @@ -3,6 +3,7 @@ PORTNAME= krb5-maint PORTVERSION= 1.11.5 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/ DISTNAME= krb5-${PORTVERSION}-signed diff --git a/security/krb5-maint/files/patch-lib-apputils-net-server.c b/security/krb5-maint/files/patch-lib-apputils-net-server.c new file mode 100644 index 000000000000..01d029809636 --- /dev/null +++ b/security/krb5-maint/files/patch-lib-apputils-net-server.c @@ -0,0 +1,28 @@ +--- ./lib/apputils/net-server.c.orig 2014-04-17 08:07:05.144912855 +0000 ++++ ./lib/apputils/net-server.c 2014-04-17 08:07:59.603908167 +0000 +@@ -992,8 +992,12 @@ + case RTM_NEWADDR: return "RTM_NEWADDR"; + case RTM_DELADDR: return "RTM_DELADDR"; + case RTM_IFINFO: return "RTM_IFINFO"; ++#ifdef RTM_OLDADD + case RTM_OLDADD: return "RTM_OLDADD"; ++#endif ++#ifdef RTM_OLDDEL + case RTM_OLDDEL: return "RTM_OLDDEL"; ++#endif + case RTM_RESOLVE: return "RTM_RESOLVE"; + #ifdef RTM_NEWMADDR + case RTM_NEWMADDR: return "RTM_NEWMADDR"; +@@ -1026,8 +1030,12 @@ + case RTM_NEWADDR: + case RTM_DELADDR: + case RTM_IFINFO: ++#ifdef RTM_OLDADD + case RTM_OLDADD: ++#endif ++#ifdef RTM_OLDDEL + case RTM_OLDDEL: ++#endif + /* + * Some flags indicate routing table updates that don't + * indicate local address changes. They may come from