Compare commits
3 Commits
master
...
master-ris
Author | SHA1 | Date | |
---|---|---|---|
362fd74a59 | |||
2317c90061 | |||
2136105343 |
24
glibc-sysmacros.patch
Normal file
24
glibc-sysmacros.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c
|
||||
index 9427919..69df55d 100644
|
||||
--- a/squashfs-tools/mksquashfs.c
|
||||
+++ b/squashfs-tools/mksquashfs.c
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
diff --git a/squashfs-tools/unsquashfs.c b/squashfs-tools/unsquashfs.c
|
||||
index 1323dd6..1059193 100644
|
||||
--- a/squashfs-tools/unsquashfs.c
|
||||
+++ b/squashfs-tools/unsquashfs.c
|
||||
@@ -33,6 +33,7 @@
|
||||
|
||||
#include <sys/sysinfo.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <limits.h>
|
BIN
squashfs-tools-4.3-17.0.riscv64.fc29.src.rpm
Normal file
BIN
squashfs-tools-4.3-17.0.riscv64.fc29.src.rpm
Normal file
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
Summary: Utility for the creation of squashfs filesystems
|
||||
Name: squashfs-tools
|
||||
Version: 4.3
|
||||
Release: 17%{?dist}
|
||||
Release: 17.1.riscv64%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Base
|
||||
URL: http://squashfs.sourceforge.net/
|
||||
@ -25,6 +25,8 @@ Patch2: 2gb.patch
|
||||
Patch3: cve-2015-4645.patch
|
||||
# Update formats to match changes in cve-2015-4645.patch
|
||||
Patch4: local-cve-fix.patch
|
||||
# Fix compatibility with glibc 2.26
|
||||
Patch5: glibc-sysmacros.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: xz-devel
|
||||
@ -43,6 +45,7 @@ contains the utilities for manipulating squashfs filesystems.
|
||||
%patch2 -p0
|
||||
%patch3 -p1
|
||||
%patch4 -p0
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
pushd squashfs-tools
|
||||
@ -65,6 +68,9 @@ install -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man1/unsquashfs.1
|
||||
%{_sbindir}/unsquashfs
|
||||
|
||||
%changelog
|
||||
* Wed Aug 01 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 4.3-17.0.riscv64
|
||||
- Fix compatibility with glibc 2.26
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user