[packages/quagga] add patch with missing includes

atler atler at pld-linux.org
Mon Feb 3 14:42:51 CET 2025


commit 4c8cb12d4f7de5147d1c0fed9c96dcdd35dd59e0
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 3 13:53:18 2025 +0100

    add patch with missing includes

 includes.patch | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 quagga.spec    |  2 ++
 2 files changed, 53 insertions(+)
---
diff --git a/quagga.spec b/quagga.spec
index c03ecf9..f66826e 100644
--- a/quagga.spec
+++ b/quagga.spec
@@ -38,6 +38,7 @@ Patch1:		%{name}-proc.patch
 Patch2:		%{name}-vtysh-pam.patch
 Patch3:		%{name}-readline.patch
 Patch4:		snmp-api.patch
+Patch5:		includes.patch
 URL:		http://www.quagga.net/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
@@ -218,6 +219,7 @@ Statyczne wersje bibliotek quagga.
 %patch -P2 -p1
 %patch -P3 -p1
 %patch -P4 -p1
+%patch -P5 -p1
 
 %build
 %{__libtoolize}
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..c449862
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,51 @@
+--- quagga-0.99.23/ospf6d/ospf6_interface.c.orig	2014-06-24 07:14:20.000000000 +0200
++++ quagga-0.99.23/ospf6d/ospf6_interface.c	2025-02-03 12:50:20.166834513 +0100
+@@ -41,6 +41,7 @@
+ #include "ospf6_intra.h"
+ #include "ospf6_spf.h"
+ #include "ospf6d.h"
++#include "ospf6_snmp.h"
+ 
+ unsigned char conf_debug_ospf6_interface = 0;
+ 
+--- quagga-0.99.23/ospf6d/ospf6_snmp.c.orig	2014-06-24 07:14:20.000000000 +0200
++++ quagga-0.99.23/ospf6d/ospf6_snmp.c	2025-02-03 13:06:42.489078869 +0100
+@@ -42,6 +42,8 @@
+ #include "ospf6_neighbor.h"
+ #include "ospf6d.h"
+ #include "ospf6_snmp.h"
++#include "ospf6_abr.h"
++#include "ospf6_asbr.h"
+ 
+ /* OSPFv3-MIB */
+ #define OSPFv3MIB 1,3,6,1,2,1,191
+--- quagga-0.99.23/ospf6d/ospf6_abr.h.orig	2014-06-24 07:14:20.000000000 +0200
++++ quagga-0.99.23/ospf6d/ospf6_abr.h	2025-02-03 13:01:28.873962008 +0100
+@@ -22,6 +22,7 @@
+ #ifndef OSPF6_ABR_H
+ #define OSPF6_ABR_H
+ 
++#include "ospf6_proto.h"
+ /* for struct ospf6_route */
+ #include "ospf6_route.h"
+ 
+--- quagga-0.99.23/ospf6d/ospf6_spf.c.orig	2014-06-24 07:14:20.000000000 +0200
++++ quagga-0.99.23/ospf6d/ospf6_spf.c	2025-02-03 12:55:05.078450444 +0100
+@@ -40,6 +40,7 @@
+ #include "ospf6_intra.h"
+ #include "ospf6_interface.h"
+ #include "ospf6d.h"
++#include "ospf6_abr.h"
+ 
+ unsigned char conf_debug_ospf6_spf = 0;
+ 
+--- quagga-0.99.23/ospf6d/ospf6_neighbor.c.orig	2014-06-24 07:14:20.000000000 +0200
++++ quagga-0.99.23/ospf6d/ospf6_neighbor.c	2025-02-03 12:51:55.380707870 +0100
+@@ -39,6 +39,7 @@
+ #include "ospf6_intra.h"
+ #include "ospf6_flood.h"
+ #include "ospf6d.h"
++#include "ospf6_snmp.h"
+ 
+ unsigned char conf_debug_ospf6_neighbor = 0;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/quagga.git/commitdiff/5054f7dcd678bb75c4e38ab2ec85c2057c112eaf



More information about the pld-cvs-commit mailing list