Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2e6890cf59 | |||
| 342b9ca766 |
24
xar-fix-prototype.patch
Normal file
24
xar-fix-prototype.patch
Normal 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"
|
||||
@@ -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>
|
||||
|
||||
|
||||
4
xar.spec
4
xar.spec
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user