Apply upstream patch to fix build on FreeBSD 10.1, Closes: #768379
Benjamin Kaduk
9 years ago
0 | 0 |
# see git-dpm(1) from git-dpm package
|
1 | |
c3e14f6138f5d10e41ba95a20745b9673e45465c
|
2 | |
c3e14f6138f5d10e41ba95a20745b9673e45465c
|
|
1 |
d7fed85eab3ce61671a257c4f620e6d494206fb9
|
|
2 |
d7fed85eab3ce61671a257c4f620e6d494206fb9
|
3 | 3 |
00dec38e79dd6436e9efed873df00e6ea11fdd0e
|
4 | 4 |
00dec38e79dd6436e9efed873df00e6ea11fdd0e
|
5 | 5 |
krb5_1.12.1+dfsg.orig.tar.gz
|
2 | 2 |
* Remove the ExecReload line added in 1.12.1+dfsg-12; it is not
|
3 | 3 |
a regression from the SysV init script and therefore not suitable
|
4 | 4 |
for jessie post-freeze
|
|
5 |
* Apply upstream patch to fix build on FreeBSD 10.1, Closes: #768379
|
5 | 6 |
|
6 | 7 |
-- Benjamin Kaduk <kaduk@mit.edu> Thu, 06 Nov 2014 17:55:31 -0500
|
7 | 8 |
|
21 | 21 |
debian-local/0022-Fix-krb5-config-paths.patch
|
22 | 22 |
debian-local/0023-Use-isystem-for-include-paths.patch
|
23 | 23 |
upstream/0024-Return-only-new-keys-in-randkey-CVE-2014-5351.patch
|
|
24 |
upstream/0025-Fix-build-on-systems-without-RTM_OLD.patch
|
|
0 |
From d7fed85eab3ce61671a257c4f620e6d494206fb9 Mon Sep 17 00:00:00 2001
|
|
1 |
From: Ben Kaduk <kaduk@mit.edu>
|
|
2 |
Date: Thu, 3 Jul 2014 10:42:21 -0400
|
|
3 |
Subject: Fix build on systems without RTM_OLD*
|
|
4 |
|
|
5 |
For example, FreeBSD has removed RTM_OLDADD and RTM_OLDDEL from its API
|
|
6 |
in March 2014, with the message:
|
|
7 |
Garbage collect long time obsoleted (or never used) stuff from routing API
|
|
8 |
|
|
9 |
Only attempt to define behavior for these cases if they are defined.
|
|
10 |
|
|
11 |
(cherry picked from commit fd352d41a79013114708e99510b6be3836200237)
|
|
12 |
|
|
13 |
ticket: 7955
|
|
14 |
version_fixed: 1.12.2
|
|
15 |
status: resolved
|
|
16 |
|
|
17 |
(cherry picked from commit 37f87c189ff050c01282f3d8da7bc97fe8a9ea92)
|
|
18 |
Patch-Category: upstream
|
|
19 |
---
|
|
20 |
src/lib/apputils/net-server.c | 4 ++++
|
|
21 |
1 file changed, 4 insertions(+)
|
|
22 |
|
|
23 |
diff --git a/src/lib/apputils/net-server.c b/src/lib/apputils/net-server.c
|
|
24 |
index 7780b8a..331b857 100644
|
|
25 |
--- a/src/lib/apputils/net-server.c
|
|
26 |
+++ b/src/lib/apputils/net-server.c
|
|
27 |
@@ -1026,8 +1026,12 @@ routing_update_needed(struct rt_msghdr *rtm)
|
|
28 |
case RTM_NEWADDR:
|
|
29 |
case RTM_DELADDR:
|
|
30 |
case RTM_IFINFO:
|
|
31 |
+#ifdef RTM_OLDADD
|
|
32 |
case RTM_OLDADD:
|
|
33 |
+#endif
|
|
34 |
+#ifdef RTM_OLDDEL
|
|
35 |
case RTM_OLDDEL:
|
|
36 |
+#endif
|
|
37 |
/*
|
|
38 |
* Some flags indicate routing table updates that don't
|
|
39 |
* indicate local address changes. They may come from
|