aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2014-04-19 11:45:40 +0800
committercy <cy@FreeBSD.org>2014-04-19 11:45:40 +0800
commit1c5d28aa4b9249300c0c5269bc4d82b1f62c9e13 (patch)
treefea4492274328b183bf4367fc0dbb603e52c34f5 /security
parent5d03ec89150f5dbeba8a0526d45b907012943161 (diff)
downloadfreebsd-ports-gnome-1c5d28aa4b9249300c0c5269bc4d82b1f62c9e13.tar.gz
freebsd-ports-gnome-1c5d28aa4b9249300c0c5269bc4d82b1f62c9e13.tar.zst
freebsd-ports-gnome-1c5d28aa4b9249300c0c5269bc4d82b1f62c9e13.zip
Fix new patch.
Point hat to: self
Diffstat (limited to 'security')
-rw-r--r--security/krb5/Makefile2
-rw-r--r--security/krb5/files/patch-lib-apputils-net-server.c62
2 files changed, 29 insertions, 35 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 48aa7bb4bc91..7de75c3d2f4b 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -3,7 +3,7 @@
PORTNAME= krb5
PORTVERSION= 1.12.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed
diff --git a/security/krb5/files/patch-lib-apputils-net-server.c b/security/krb5/files/patch-lib-apputils-net-server.c
index 613e7555eca9..01d029809636 100644
--- a/security/krb5/files/patch-lib-apputils-net-server.c
+++ b/security/krb5/files/patch-lib-apputils-net-server.c
@@ -1,34 +1,28 @@
-diff --git a/security/krb5/files/patch-lib__apputils__net-server.c b/security/krb5/files/patch-lib__apputils__net-server.c
-new file mode 100644
-index 0000000..01d0298
---- /dev/null
-+++ b/security/krb5/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
+--- ./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