]> git.pld-linux.org Git - packages/scute.git/blob - scute-no-common.patch
- added no-common patch (fixes build with -fno-common, gcc 10 default); release 2
[packages/scute.git] / scute-no-common.patch
1 --- scute-1.7.0/src/options.h.orig      2020-08-07 09:44:16.000000000 +0200
2 +++ scute-1.7.0/src/options.h   2021-01-17 13:21:19.962518416 +0100
3 @@ -22,10 +22,11 @@
4  #define OPTIONS_H 1
5  
6  /* Global options.  */
7 -struct {
8 +typedef struct {
9    char *user;
10    int debug_flags;
11 -} _scute_opt;
12 +} _scute_opt_t;
13 +extern _scute_opt_t _scute_opt;
14  
15  
16  /*-- readconf.c --*/
17 --- scute-1.7.0/src/readconf.c.orig     2020-08-07 09:45:18.000000000 +0200
18 +++ scute-1.7.0/src/readconf.c  2021-01-17 14:17:02.055889965 +0100
19 @@ -31,6 +31,8 @@
20  
21  #include "options.h"
22  
23 +_scute_opt_t _scute_opt;
24 +
25  static const char *
26  my_strusage (int level)
27  {
This page took 0.124976 seconds and 3 git commands to generate.