quagga: update GCC10 patch 619/head
authorRosen Penev <rosenp@gmail.com>
Mon, 12 Oct 2020 23:49:57 +0000 (16:49 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 13 Oct 2020 00:02:32 +0000 (17:02 -0700)
Turns out it was incomplete. No idea how...

Signed-off-by: Rosen Penev <rosenp@gmail.com>
quagga/Makefile
quagga/patches/200-gcc10.patch

index b259a3d71e4d24accb1ff0443958f3781d28b668..3a26178b0bbb01b6a0c9de4e3e64301a7a5614f2 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=quagga
 PKG_VERSION:=1.2.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_HASH:=e364c082c3309910e1eb7b068bf39ee298e2f2f3f31a6431a5c115193bd653d3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
index 74f0e58060c1643dd7392ad3c80d35fc8bcfd578..f3b0305b3dddac7f56a2ddcec1837c37342f40f3 100644 (file)
@@ -9,51 +9,87 @@
  
  
  /*
+--- a/pimd/pim_version.h
++++ b/pimd/pim_version.h
+@@ -25,6 +25,6 @@
+ #define PIMD_VERSION_STR "0.166"
+-const char * const PIMD_VERSION;
++extern const char * const PIMD_VERSION;
+ #endif /* PIM_VERSION_H */
 --- a/pimd/pimd.h
 +++ b/pimd/pimd.h
-@@ -74,25 +74,25 @@ const char *const PIM_ALL_PIM_ROUTERS;
- const char *const PIM_ALL_IGMP_ROUTERS;
+@@ -68,39 +68,39 @@
+ #define PIM_MASK_PIM_J_P             (1 << 12)
+ #define PIM_MASK_STATIC              (1 << 13)
  
- struct thread_master     *master;
+-const char *const PIM_ALL_SYSTEMS;
+-const char *const PIM_ALL_ROUTERS;
+-const char *const PIM_ALL_PIM_ROUTERS;
+-const char *const PIM_ALL_IGMP_ROUTERS;
+-
+-struct thread_master     *master;
 -uint32_t                  qpim_debugs;
 -int                       qpim_mroute_socket_fd;
-+extern uint32_t                  qpim_debugs;
-+extern int                       qpim_mroute_socket_fd;
- int64_t                   qpim_mroute_socket_creation; /* timestamp of creation */
- struct thread            *qpim_mroute_socket_reader;
+-int64_t                   qpim_mroute_socket_creation; /* timestamp of creation */
+-struct thread            *qpim_mroute_socket_reader;
 -int                       qpim_mroute_oif_highest_vif_index;
 -struct list              *qpim_channel_oil_list; /* list of struct channel_oil */
 -struct in_addr            qpim_all_pim_routers_addr;
-+extern int                       qpim_mroute_oif_highest_vif_index;
-+extern struct list              *qpim_channel_oil_list; /* list of struct channel_oil */
-+static struct in_addr            qpim_all_pim_routers_addr;
- int                       qpim_t_periodic; /* Period between Join/Prune Messages */
+-int                       qpim_t_periodic; /* Period between Join/Prune Messages */
 -struct list              *qpim_upstream_list; /* list of struct pim_upstream */
-+extern struct list              *qpim_upstream_list; /* list of struct pim_upstream */
- struct zclient           *qpim_zclient_update;
- struct zclient           *qpim_zclient_lookup;
+-struct zclient           *qpim_zclient_update;
+-struct zclient           *qpim_zclient_lookup;
 -struct pim_assert_metric  qpim_infinite_assert_metric;
-+extern struct pim_assert_metric  qpim_infinite_assert_metric;
- long                      qpim_rpf_cache_refresh_delay_msec;
- struct thread            *qpim_rpf_cache_refresher;
+-long                      qpim_rpf_cache_refresh_delay_msec;
+-struct thread            *qpim_rpf_cache_refresher;
 -int64_t                   qpim_rpf_cache_refresh_requests;
 -int64_t                   qpim_rpf_cache_refresh_events;
 -int64_t                   qpim_rpf_cache_refresh_last;
 -struct in_addr            qpim_inaddr_any;
 -struct list              *qpim_ssmpingd_list; /* list of struct ssmpingd_sock */
+-struct in_addr            qpim_ssmpingd_group_addr;
+-int64_t                   qpim_scan_oil_events;
+-int64_t                   qpim_scan_oil_last;
+-int64_t                   qpim_mroute_add_events;
+-int64_t                   qpim_mroute_add_last;
+-int64_t                   qpim_mroute_del_events;
+-int64_t                   qpim_mroute_del_last;
+-struct list              *qpim_static_route_list; /* list of routes added statically */
++extern const char *const PIM_ALL_SYSTEMS;
++extern const char *const PIM_ALL_ROUTERS;
++extern const char *const PIM_ALL_PIM_ROUTERS;
++extern const char *const PIM_ALL_IGMP_ROUTERS;
++
++extern struct thread_master     *master;
++extern uint32_t                  qpim_debugs;
++extern int                       qpim_mroute_socket_fd;
++extern int64_t                   qpim_mroute_socket_creation; /* timestamp of creation */
++extern struct thread            *qpim_mroute_socket_reader;
++extern int                       qpim_mroute_oif_highest_vif_index;
++extern struct list              *qpim_channel_oil_list; /* list of struct channel_oil */
++static struct in_addr            qpim_all_pim_routers_addr;
++extern int                       qpim_t_periodic; /* Period between Join/Prune Messages */
++extern struct list              *qpim_upstream_list; /* list of struct pim_upstream */
++extern struct zclient           *qpim_zclient_update;
++extern struct zclient           *qpim_zclient_lookup;
++extern struct pim_assert_metric  qpim_infinite_assert_metric;
++extern long                      qpim_rpf_cache_refresh_delay_msec;
++extern struct thread            *qpim_rpf_cache_refresher;
 +extern int64_t                   qpim_rpf_cache_refresh_requests;
 +extern int64_t                   qpim_rpf_cache_refresh_events;
 +extern int64_t                   qpim_rpf_cache_refresh_last;
 +extern struct in_addr            qpim_inaddr_any;
 +extern struct list              *qpim_ssmpingd_list; /* list of struct ssmpingd_sock */
- struct in_addr            qpim_ssmpingd_group_addr;
- int64_t                   qpim_scan_oil_events;
- int64_t                   qpim_scan_oil_last;
-@@ -100,7 +100,7 @@ int64_t                   qpim_mroute_add_events;
- int64_t                   qpim_mroute_add_last;
- int64_t                   qpim_mroute_del_events;
- int64_t                   qpim_mroute_del_last;
--struct list              *qpim_static_route_list; /* list of routes added statically */
++extern struct in_addr            qpim_ssmpingd_group_addr;
++extern int64_t                   qpim_scan_oil_events;
++extern int64_t                   qpim_scan_oil_last;
++extern int64_t                   qpim_mroute_add_events;
++extern int64_t                   qpim_mroute_add_last;
++extern int64_t                   qpim_mroute_del_events;
++extern int64_t                   qpim_mroute_del_last;
 +extern struct list              *qpim_static_route_list; /* list of routes added statically */
  
  #define PIM_JP_HOLDTIME (qpim_t_periodic * 7 / 2)