SHA256
1
0
forked from pool/appimaged

Accepting request 1224898 from system:packagemanager

- Add gcc14,patch:Fix build using stricter gcc 14. (forwarded request 1224883 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1224898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/appimaged?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-11-18 19:02:48 +00:00 committed by Git OBS Bridge
commit 80d9881fa7
3 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 18 13:48:22 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Add gcc14,patch:Fix build using stricter gcc 14.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 28 09:56:55 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org> Sun Feb 28 09:56:55 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package appimaged # spec file for package appimaged
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,6 +25,7 @@ License: MIT
Group: System/Daemons Group: System/Daemons
Source0: AppImageKit-%version.tar.xz Source0: AppImageKit-%version.tar.xz
Source1: appimaged.service Source1: appimaged.service
Patch0: gcc14,patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: cairo-devel BuildRequires: cairo-devel
@ -48,7 +49,7 @@ The package comes also with appimage.validate CLI tool to verify signature
of AppImage files. of AppImage files.
%prep %prep
%setup -q -n AppImageKit-%version %autosetup -p1 -n AppImageKit-%version
sed -i -e s,^version=.*,version=%version, build.sh sed -i -e s,^version=.*,version=%version, build.sh
%build %build

12
gcc14,patch Normal file
View File

@ -0,0 +1,12 @@
Index: AppImageKit/squashfuse/ll.c
===================================================================
--- AppImageKit.orig/squashfuse/ll.c
+++ AppImageKit/squashfuse/ll.c
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
static const double SQFS_TIMEOUT = DBL_MAX;