From 8287ce32994976627427559c87be9974cddd463e8a386ced5627fcf7145beb38 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 29 May 2024 17:35:41 +0000 Subject: [PATCH] Accepting request 1177359 from server:mail Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1177359 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alpine?expand=0&rev=59 --- alpine-qsort.patch | 11 +++++++++++ alpine.changes | 5 +++++ alpine.spec | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 alpine-qsort.patch diff --git a/alpine-qsort.patch b/alpine-qsort.patch new file mode 100644 index 0000000..f75e008 --- /dev/null +++ b/alpine-qsort.patch @@ -0,0 +1,11 @@ +--- configure.ac.orig ++++ configure.ac +@@ -1964,7 +1964,7 @@ ac_cv_func_qsort_argtype, + #endif + + extern void *base; +-extern sortf(const void *, const void *); ++extern int sortf(const void *, const void *); + int sortf(a, b) + const void *a; + const void *b; { return 0; } diff --git a/alpine.changes b/alpine.changes index f6ac07b..5f322b9 100644 --- a/alpine.changes +++ b/alpine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 21 13:25:15 UTC 2024 - Reinhard Max + +- boo#1224533: Add alpine-qsort.patch to fix build with gcc 14. + ------------------------------------------------------------------- Tue Feb 20 10:39:56 UTC 2024 - Dominique Leuenberger diff --git a/alpine.spec b/alpine.spec index 74969fd..fd4fc9f 100644 --- a/alpine.spec +++ b/alpine.spec @@ -1,7 +1,7 @@ # # spec file for package alpine # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,6 +44,7 @@ Patch10: pico-fix-spurious-undef-warnings.diff Patch20: pine-expression-warnings.diff Patch60: signal-and-panic-improvements.diff Patch61: return-values.diff +Patch62: alpine-qsort.patch # # Eduardo Chappa's patches. # http://patches.freeiz.com/alpine/ @@ -147,6 +148,7 @@ fi %patch -P 20 -p1 %patch -P 60 -p1 %patch -P 61 -p1 +%patch -P 62 %endif %build