SHA256
1
0
forked from pool/fetchmail

Accepting request 930497 from home:dimstar:Factory

- Add fetchmail-bison-3.8.patch: Fix build with bison 3.8.

Patch from upstream git

OBS-URL: https://build.opensuse.org/request/show/930497
OBS-URL: https://build.opensuse.org/package/show/server:mail/fetchmail?expand=0&rev=121
This commit is contained in:
Pedro Monreal Gonzalez 2021-11-10 11:44:44 +00:00 committed by Git OBS Bridge
parent 21432f8641
commit 7b1f6bdab7
3 changed files with 18 additions and 0 deletions

11
fetchmail-bison-3.8.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -461,8 +461,6 @@
prc_errflag = 0;
querylist = hosttail = (struct query *)NULL;
- (void)yytoknum; /* work around compiler warning */
-
errno = 0;
/* Check that the file is secure */

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 9 16:23:42 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Add fetchmail-bison-3.8.patch: Fix build with bison 3.8.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 6 15:00:19 UTC 2021 - Pedro Monreal <pmonreal@suse.com> Wed Oct 6 15:00:19 UTC 2021 - Pedro Monreal <pmonreal@suse.com>

View File

@ -51,6 +51,7 @@ Patch10: fetchmail-oauth2-c-calculate-and-pass-in-correct-buffer-size-to-
Patch11: fetchmail-increase-max-password-length-to-handle-oauth-tokens.patch Patch11: fetchmail-increase-max-password-length-to-handle-oauth-tokens.patch
Patch12: fetchmail-bump-max-passwordlen-to-1bytes.patch Patch12: fetchmail-bump-max-passwordlen-to-1bytes.patch
Patch13: fetchmail-add-readme-oauth2-issue-27.patch Patch13: fetchmail-add-readme-oauth2-issue-27.patch
Patch14: fetchmail-bison-3.8.patch
BuildRequires: automake BuildRequires: automake
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
@ -108,6 +109,7 @@ files (.fetchmailrc).
%patch11 -p1 %patch11 -p1
%patch12 -p1 %patch12 -p1
%patch13 -p1 %patch13 -p1
%patch14 -p1
cp -a %{SOURCE2} %{SOURCE3} . cp -a %{SOURCE2} %{SOURCE3} .
ACLOCAL="aclocal -I m4 -I m4-local" autoreconf -fvi ACLOCAL="aclocal -I m4 -I m4-local" autoreconf -fvi