Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37546486
en ru br
ALT Linux repos
S:0.3.4.1-alt4

Group :: System/Servers
RPM: bld

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: bld-0.3.4.1-gcc10.patch
Download


From f22ec8b1356acc65fac6e236762780599c300295 Mon Sep 17 00:00:00 2001
From: Leontiy Volodin <lvol@altlinux.org>
Date: Fri, 12 Feb 2021 11:24:59 +0300
Subject: [PATCH] gcc10
---
 bld/main.c   | 2 +-
 bld/submit.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bld/main.c b/bld/main.c
index 2538554..d4d5bc2 100644
--- a/bld/main.c
+++ b/bld/main.c
@@ -63,7 +63,7 @@
 #define MAX_CLIENTS (150)
 #endif /* FD_SETSIZE */
 
-struct options opt; /* global runtime options/parameters */
+extern struct options opt; /* global runtime options/parameters */
 iptree ipt;         /* global iptree */
 int ncli = 0;       /* clients connected */
 int listen_sd;      /* listening socket */
diff --git a/bld/submit.c b/bld/submit.c
index 84720e4..ffc4d45 100644
--- a/bld/submit.c
+++ b/bld/submit.c
@@ -32,7 +32,7 @@
 #include "net.h"
 #include "client.h"
 
-struct options opt;
+extern struct options opt;
 
 
 int main(int argc, char **argv)
--
libgit2 1.1.0
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin