diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
commit | e748ba9741f6540f4675c23e3e37b73e822c13a4 (patch) | |
tree | 23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /net-mail/ezmlm-idx/files | |
parent | 908778078736bd36f7a60a2d576d415cb8e000fa (diff) |
gentoo resync : 31.05.2021
Diffstat (limited to 'net-mail/ezmlm-idx/files')
-rw-r--r-- | net-mail/ezmlm-idx/files/ezmlm-idx-7.0.0-fno-common.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-mail/ezmlm-idx/files/ezmlm-idx-7.0.0-fno-common.patch b/net-mail/ezmlm-idx/files/ezmlm-idx-7.0.0-fno-common.patch new file mode 100644 index 000000000000..11e4cb5d3533 --- /dev/null +++ b/net-mail/ezmlm-idx/files/ezmlm-idx-7.0.0-fno-common.patch @@ -0,0 +1,40 @@ +fix build with -fno-common + +--- a/ezmlm-get.c 2021-05-24 12:07:05.245657000 +0200 ++++ b/ezmlm-get.c 2021-05-24 12:07:11.477657000 +0200 +@@ -125,7 +125,7 @@ + + int act = AC_NONE; /* Action we do */ + int flageditor = 0; /* if we're invoked for within dir/editor */ +-struct stat st; ++static struct stat st; + + int flaglocked = 0; /* if directory is locked */ + int flagq = 0; /* don't use 'quoted-printable' */ +@@ -157,7 +157,7 @@ + substdio ssindex; + char indexbuf[1024]; + +-int fdlock; ++static int fdlock; + + void lockup(void) + /* lock unless locked */ +--- a/idxthread.c 2021-05-24 12:06:55.169657000 +0200 ++++ b/idxthread.c 2021-05-24 12:07:09.197657000 +0200 +@@ -39,13 +39,13 @@ + + static char strnum[FMT_ULONG]; + +-struct stat st; ++static struct stat st; + /* if no data, these may be the entire table, so */ + /* need to be static */ + static subentry sdummy; + static authentry adummy; + +-int fdlock; ++static int fdlock; + + /* NOTE: These do NOT prevent double locking */ + static void lockup(void) |