Accepting request 85800 from home:adrianSuSE:branches:devel:libraries:c_c++

fix arm by droping arm hack ;)

OBS-URL: https://build.opensuse.org/request/show/85800
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libaio?expand=0&rev=11
This commit is contained in:
Adrian Schröter 2011-09-30 12:45:17 +00:00 committed by Git OBS Bridge
parent 2da83d3303
commit d830b8919f
3 changed files with 5 additions and 26 deletions

View File

@ -1,22 +0,0 @@
# from http://projects.linuxtogo.org/pipermail/openembedded-commits/2006-October/001139.html
diff -Napur _/src/io_getevents.c libaio-0.3.104/src/io_getevents.c
--- _/src/io_getevents.c 2003-06-18 21:58:21.000000000 +0200
+++ libaio-0.3.104/src/io_getevents.c 2009-07-30 01:15:06.687173277 +0200
@@ -22,7 +22,7 @@
#include <time.h>
#include "syscall.h"
-io_syscall5(int, __io_getevents_0_4, io_getevents, io_context_t, ctx, long, min_nr, long, nr, struct io_event *, events, struct timespec *, timeout)
+io_syscall5(int, io_getevents_0_4, io_getevents, io_context_t, ctx, long, min_nr, long, nr, struct io_event *, events, struct timespec *, timeout)
#define AIO_RING_MAGIC 0xa10a10a1
@@ -51,7 +51,7 @@ int io_getevents_0_4(io_context_t ctx, l
}
do_syscall:
- return __io_getevents_0_4(ctx, min_nr, nr, events, timeout);
+ return io_getevents_0_4(ctx, min_nr, nr, events, timeout);
}
DEFSYMVER(io_getevents_0_4, io_getevents, 0.4)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 30 12:36:33 UTC 2011 - adrian@suse.de
- drop debian arm hack to fix build on arm ;)
-------------------------------------------------------------------
Tue Mar 15 13:44:15 UTC 2011 - jengelh@medozas.de

View File

@ -39,7 +39,6 @@ Patch4: 00_arches_sh.patch
Patch5: 01_link_libgcc.patch
Patch6: 02_libdevdir.patch
Patch7: 03_man_errors.patch
Patch500: ARM_io_getevents.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -74,9 +73,6 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or
%setup -q
%patch2 -p1
%patch -p1 -P 3 -P 4 -P 5 -P 6 -P 7
%ifarch %arm
%patch500 -p1
%endif
%build
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"