Hello community, here is the log from the commit of package libaio for openSUSE:Factory checked in at 2013-03-01 11:32:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libaio (Old) and /work/SRC/openSUSE:Factory/.libaio.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libaio", Maintainer is "hare@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/libaio/libaio.changes 2012-02-20 17:23:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libaio.new/libaio.changes 2013-03-01 11:32:38.000000000 +0100 @@ -1,0 +2,8 @@ +Fri Mar 1 08:08:27 UTC 2013 - dmueller@suse.com + +- Add libaio-aarch64-support.diff: + * add support for aarch64 +- Add libaio-generic-arch.diff: + * support all archtes (also aarch64) + +------------------------------------------------------------------- New: ---- libaio-aarch64-support.diff libaio-generic-arch.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libaio.spec ++++++ --- /var/tmp/diff_new_pack.PHDtSq/_old 2013-03-01 11:32:42.000000000 +0100 +++ /var/tmp/diff_new_pack.PHDtSq/_new 2013-03-01 11:32:42.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libaio # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,6 +37,8 @@ Patch5: 01_link_libgcc.patch Patch6: 02_libdevdir.patch Patch7: 03_man_errors.patch +Patch8: libaio-aarch64-support.diff +Patch9: libaio-generic-arch.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -65,7 +67,8 @@ %package devel Summary: Development Files for Linux-native Asynchronous I/O Access Group: Development/Libraries/C and C++ -Requires: %lname = %version, glibc-devel +Requires: %lname = %version +Requires: glibc-devel # bug437293 %ifarch ppc64 Obsoletes: libaio-devel-64bit @@ -83,6 +86,8 @@ %setup -q %patch2 -p1 %patch -p1 -P 3 -P 4 -P 5 -P 6 -P 7 +%patch8 +%patch9 %build make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" ++++++ libaio-aarch64-support.diff ++++++ Index: harness/cases/16.t =================================================================== --- harness/cases/16.t.orig +++ harness/cases/16.t @@ -18,6 +18,8 @@ #define SYS_eventfd 318 #elif defined(__alpha__) #define SYS_eventfd 478 +#elif defined(__aarch64__) +#define SYS_eventfd 1044 #else #error define SYS_eventfd for your arch! #endif Index: src/libaio.h =================================================================== --- src/libaio.h.orig +++ src/libaio.h @@ -117,6 +117,16 @@ typedef enum io_iocb_cmd { #define PADDEDptr(x, y) x; unsigned y #define PADDEDul(x, y) unsigned long x; unsigned y # endif +#elif defined(__aarch64__) +# if defined (__AARCH64EB__) /* big endian, 64 bits */ +#define PADDED(x, y) unsigned y; x +#define PADDEDptr(x,y) x +#define PADDEDul(x, y) unsigned long x +# elif defined(__AARCH64EL__) /* little endian, 64 bits */ +#define PADDED(x, y) x, y +#define PADDEDptr(x, y) x +#define PADDEDul(x, y) unsigned long x +# endif #else #error endian? #endif ++++++ libaio-generic-arch.diff ++++++
From 5e96c73d5dfbdea8d0be82b7f3fc8d6735e5dfa7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger
Date: Sun, 17 Jan 2010 17:07:48 -0500 Subject: [PATCH] add a generic syscall() fallback
Signed-off-by: Mike Frysinger