2 Commits

Author SHA256 Message Date
2e6890cf59 Accepting request 1231512 from Archiving
- xar-fix-prototype.patch: fixed prototypes (forwarded request 1231400 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/1231512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xar?expand=0&rev=11
2024-12-16 18:18:13 +00:00
342b9ca766 Accepting request 1231400 from home:msmeissn:branches:Archiving
- xar-fix-prototype.patch: fixed prototypes

OBS-URL: https://build.opensuse.org/request/show/1231400
OBS-URL: https://build.opensuse.org/package/show/Archiving/xar?expand=0&rev=32
2024-12-16 13:50:08 +00:00
3 changed files with 32 additions and 1 deletions

24
xar-fix-prototype.patch Normal file
View File

@@ -0,0 +1,24 @@
Index: xar-xar-1.6.1/xar/lib/ext2.c
===================================================================
--- xar-xar-1.6.1.orig/xar/lib/ext2.c
+++ xar-xar-1.6.1/xar/lib/ext2.c
@@ -46,6 +46,7 @@
#include "arcmod.h"
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/ioctl.h>
Index: xar-xar-1.6.1/xar/lib/linuxattr.c
===================================================================
--- xar-xar-1.6.1.orig/xar/lib/linuxattr.c
+++ xar-xar-1.6.1/xar/lib/linuxattr.c
@@ -44,6 +44,7 @@
#include "b64.h"
#include <errno.h>
#include <string.h>
+#include <stdlib.h>
#include "util.h"
#include "linuxattr.h"
#include "io.h"

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 16 13:10:18 UTC 2024 - Marcus Meissner <meissner@suse.com>
- xar-fix-prototype.patch: fixed prototypes
-------------------------------------------------------------------
Mon Feb 26 12:04:08 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package xar
#
# Copyright (c) 2023 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
@@ -27,6 +27,7 @@ Source: https://github.com/mackyle/xar/archive/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM ext2.patch gh#mackyle/xar#10
Patch0: ext2.patch
Patch1: openssl-checks.patch
Patch2: xar-fix-prototype.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: e2fsprogs-devel
@@ -79,6 +80,7 @@ table of content's rich meta-data.
%setup -q -n %{name}-%{name}-%{version}
%patch -P 0
%patch -P 1 -p1
%patch -P 2 -p1
%build
pushd xar