rebuilt with gcc 10 patch and debug package [release 1.1.15-2mamba;Tue Dec 08 2020]
This commit is contained in:
parent
0f800cde75
commit
9031ea208c
12
jfsutils-1.1.15-gcc-10.0.patch
Normal file
12
jfsutils-1.1.15-gcc-10.0.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur old/libfs/devices.h new/libfs/devices.h
|
||||||
|
--- old/libfs/devices.h 2005-11-23 07:43:55.000000000 +1100
|
||||||
|
+++ new/libfs/devices.h 2013-01-06 11:30:25.381538024 +1100
|
||||||
|
@@ -40,6 +40,8 @@
|
||||||
|
#define ERROR_INVALID_PARAMETER 87
|
||||||
|
#define ERROR_DISK_FULL 112
|
||||||
|
|
||||||
|
+#include <inttypes.h>
|
||||||
|
+
|
||||||
|
struct stat;
|
||||||
|
|
||||||
|
int ujfs_get_dev_size(FILE *, int64_t * size);
|
15
jfsutils-1.1.15-sysmacros.patch
Normal file
15
jfsutils-1.1.15-sysmacros.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
https://bugs.gentoo.org/580056
|
||||||
|
|
||||||
|
--- a/libfs/devices.c
|
||||||
|
+++ b/libfs/devices.c
|
||||||
|
@@ -30,6 +30,10 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
+#if HAVE_SYS_SYSMACROS_H
|
||||||
|
+#include <sys/sysmacros.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifdef HAVE_SYS_MOUNT_H
|
||||||
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
|
#include <sys/param.h>
|
@ -1,6 +1,6 @@
|
|||||||
Name: jfsutils
|
Name: jfsutils
|
||||||
Version: 1.1.15
|
Version: 1.1.15
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: IBM JFS utility programs
|
Summary: IBM JFS utility programs
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -9,10 +9,13 @@ Packager: Aleph0 <aleph0@openmamba.org>
|
|||||||
URL: http://jfs.sourceforge.net/
|
URL: http://jfs.sourceforge.net/
|
||||||
Source: http://jfs.sourceforge.net/project/pub/jfsutils-%{version}.tar.gz
|
Source: http://jfs.sourceforge.net/project/pub/jfsutils-%{version}.tar.gz
|
||||||
Patch0: jfsutils-1.1.15-glibc-2.17.patch
|
Patch0: jfsutils-1.1.15-glibc-2.17.patch
|
||||||
|
Patch1: jfsutils-1.1.15-gcc-10.0.patch
|
||||||
|
Patch2: jfsutils-1.1.15-sysmacros.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libe2fs-devel
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -26,12 +29,18 @@ jfs_mkfs - create a JFS formatted partition.
|
|||||||
jfs_tune - adjust tunable parameters of the JFS file system.
|
jfs_tune - adjust tunable parameters of the JFS file system.
|
||||||
jfs_debugfs - shell-type JFS file system editor.
|
jfs_debugfs - shell-type JFS file system editor.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure \
|
||||||
|
CFLAGS="%{optflags} -fcommon"
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -45,9 +54,13 @@ jfs_debugfs - shell-type JFS file system editor.
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS COPYING
|
||||||
|
#ChangeLog NEWS README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.15-2mamba
|
||||||
|
- rebuilt with gcc 10 patch and debug package
|
||||||
|
|
||||||
* Mon May 27 2013 Automatic Build System <autodist@mambasoft.it> 1.1.15-1mamba
|
* Mon May 27 2013 Automatic Build System <autodist@mambasoft.it> 1.1.15-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user