Accepting request 988695 from home:dirkmueller:Factory
- add fix-splice-signature.patch to fix build on 32bit OBS-URL: https://build.opensuse.org/request/show/988695 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libaio?expand=0&rev=45
This commit is contained in:
parent
67ca9c6f2a
commit
c31151a669
22
fix-splice-signature.patch
Normal file
22
fix-splice-signature.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
submitted as https://pagure.io/libaio/issue/21
|
||||||
|
|
||||||
|
--- libaio-libaio-0.3.113.orig/harness/cases/23.t
|
||||||
|
+++ libaio-libaio-0.3.113/harness/cases/23.t
|
||||||
|
@@ -72,7 +72,7 @@ static void fail_errno(const char *forma
|
||||||
|
static void *thrproc2(void *arg)
|
||||||
|
{
|
||||||
|
for (;;) {
|
||||||
|
- off_t offset = 0;
|
||||||
|
+ off64_t offset = 0;
|
||||||
|
|
||||||
|
pthread_barrier_wait(&barrier);
|
||||||
|
if (exiting)
|
||||||
|
@@ -92,7 +92,7 @@ static void *thrproc3(void *arg)
|
||||||
|
{
|
||||||
|
for (;;) {
|
||||||
|
char c;
|
||||||
|
- off_t offset = 0;
|
||||||
|
+ off64_t offset = 0;
|
||||||
|
|
||||||
|
pthread_barrier_wait(&barrier);
|
||||||
|
if (exiting)
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 12 15:18:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add fix-splice-signature.patch to fix build on 32bit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 28 21:17:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Thu Apr 28 21:17:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://pagure.io/libaio
|
URL: https://pagure.io/libaio
|
||||||
Source: https://pagure.io/libaio/archive/libaio-%{version}/libaio-libaio-%{version}.tar.gz
|
Source: https://pagure.io/libaio/archive/libaio-%{version}/libaio-libaio-%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
Patch1: fix-splice-signature.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has
|
The Linux-native asynchronous I/O facility ("async I/O", or "aio") has
|
||||||
@ -62,16 +63,17 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-%{version}
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} OPTFLAGS="%{optflags}"
|
%make_build OPTFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install libdir=%{_libdir}
|
%make_install libdir=%{_libdir}
|
||||||
rm %{buildroot}%{_libdir}/*.a
|
rm %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} partcheck
|
%make_build OPTFLAGS="%{optflags}" partcheck
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user