Description: Fix FTBFS with GCC 15 (new warnings promoted to errors by -Werror)
 The build fails with GCC 15 because two new warnings are treated as errors
 under -Werror:
  - interactive.c: initializer-string for array of 'char' truncates NUL
    terminator but destination lacks 'nonstring' attribute
    [-Werror=unterminated-string-initialization]; widen spinner[] to hold
    the terminating NUL.
  - net_io.c: 'calloc' sizes specified with 'sizeof' in the earlier argument
    and not in the later argument [-Werror=calloc-transposed-args]; swap the
    two arguments to calloc(1, sizeof(*service)).
Author: openKylinBot <openKylinBot@openkylin.top>
Origin: other
Forwarded: not-needed

--- dump1090-mutability-1.15~20180310.4a16df3+dfsg.orig/interactive.c
+++ dump1090-mutability-1.15~20180310.4a16df3+dfsg/interactive.c
@@ -80,7 +80,7 @@ void interactiveShowData(void) {
     uint64_t now = mstime();
     int count = 0;
     char progress;
-    char spinner[4] = "|/-\\";
+    char spinner[5] = "|/-\\";
 
     // Refresh screen every (MODES_INTERACTIVE_REFRESH_TIME) miliseconde
     if (now < next_update)
--- dump1090-mutability-1.15~20180310.4a16df3+dfsg.orig/net_io.c
+++ dump1090-mutability-1.15~20180310.4a16df3+dfsg/net_io.c
@@ -91,7 +91,7 @@ struct net_service *serviceInit(const ch
 {
     struct net_service *service;
 
-    if (!(service = calloc(sizeof(*service), 1))) {
+    if (!(service = calloc(1, sizeof(*service)))) {
         fprintf(stderr, "Out of memory allocating service %s\n", descr);
         exit(1);
     }
