diff options
| author | Lars-Dominik Braun <lars@6xq.net> | 2022-02-07 08:59:55 +0100 |
|---|---|---|
| committer | Lars-Dominik Braun <lars@6xq.net> | 2022-02-07 09:01:13 +0100 |
| commit | 191a065b247c0d2bac0bf8b744f949f9a0fa3ee0 (patch) | |
| tree | 98fb2f0b326a5664e6376fbcb055a68c19647e64 /grid-engine-core-extern_qualifier.patch | |
| parent | 9d694ad7569bc6ca3846793ad6e61272350894b5 (diff) | |
grid-engine-core: Fix build with openssl>1.0.
Patches taken from Debian. It’s unlikely it’ll last long, because
the software seems to be unmaintained. Follow-up to commit
9d694ad7569bc6ca3846793ad6e61272350894b5.
Fixes #13.
Diffstat (limited to 'grid-engine-core-extern_qualifier.patch')
| -rw-r--r-- | grid-engine-core-extern_qualifier.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/grid-engine-core-extern_qualifier.patch b/grid-engine-core-extern_qualifier.patch new file mode 100644 index 0000000..75d53ea --- /dev/null +++ b/grid-engine-core-extern_qualifier.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | Description: Fix FTBFS with g++ 10 | ||
| 2 | Author: Pierre Gruet <pgtdebian@free.fr> | ||
| 3 | Bug-Debian: https://bugs.debian.org/957310 | ||
| 4 | Forwarded: no | ||
| 5 | Last-Update: 2020-11-26 | ||
| 6 | --- a/source/libs/japi/drmaa2_list_dict.h | ||
| 7 | +++ b/source/libs/japi/drmaa2_list_dict.h | ||
| 8 | @@ -10,7 +10,7 @@ | ||
| 9 | struct _drmaa2_node *next; | ||
| 10 | } _drmaa2_Node; | ||
| 11 | |||
| 12 | -/* static */ struct drmaa2_list_s | ||
| 13 | +/* static */ extern struct drmaa2_list_s | ||
| 14 | { | ||
| 15 | _drmaa2_Node *head; | ||
| 16 | _drmaa2_Node *tail; | ||
| 17 | @@ -33,7 +33,7 @@ | ||
| 18 | struct _drmaa2_dictentry_t* next; | ||
| 19 | } _drmaa2_dictentry_t; | ||
| 20 | |||
| 21 | -/* static */ struct drmaa2_dict_s | ||
| 22 | +/* static */ extern struct drmaa2_dict_s | ||
| 23 | { | ||
| 24 | _drmaa2_dictentry_t *head; | ||
| 25 | _drmaa2_dictentry_t *tail; | ||
| 26 | diff --git a/source/3rdparty/qmake/make.h b/source/3rdparty/qmake/make.h | ||
| 27 | index 46d523a4c..87e871bc6 100644 | ||
| 28 | --- a/source/3rdparty/qmake/make.h | ||
| 29 | +++ b/source/3rdparty/qmake/make.h | ||
| 30 | @@ -348,7 +348,7 @@ extern int unixy_shell; | ||
| 31 | #endif | ||
| 32 | #ifdef SET_STACK_SIZE | ||
| 33 | # include <sys/resource.h> | ||
| 34 | -struct rlimit stack_limit; | ||
| 35 | +extern struct rlimit stack_limit; | ||
| 36 | #endif | ||
| 37 | |||
| 38 | struct floc | ||
