Mailinglist Archive: opensuse-commit (1670 mails)
| < Previous | Next > |
commit librtas
- From: root@xxxxxxx (h_root)
- Date: Mon, 9 Oct 2006 18:57:06 +0200 (CEST)
- Message-id: <20061009165706.6E5CB193DA1@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package librtas
checked in at Mon Oct 9 18:57:06 CEST 2006.
--------
New:
----
get_release_number.sh
librtas.syscall.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librtas.spec ++++++
--- /var/tmp/diff_new_pack.b0GtVe/_old 2006-10-09 18:56:36.000000000 +0200
+++ /var/tmp/diff_new_pack.b0GtVe/_new 2006-10-09 18:56:36.000000000 +0200
@@ -5,7 +5,7 @@
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
@@ -13,7 +13,7 @@
Name: librtas
BuildRequires: doxygen
Version: 1.2.4
-Release: 3
+Release: 200610091656
Group: System/Libraries
License: IBM Public License, Other License(s), see package
Summary: Libraries to provide access to RTAS calls and RTAS events.
@@ -22,6 +22,7 @@
URL: http://librtas.ozlabs.org/
Source0: http://librtas.ozlabs.org/downloads/librtas-src-%{version}.tar.gz
Patch0: librtas.signed-char.patch
+Patch1: librtas.syscall.patch
%description
The librtas shared library provides userspace with an interface through
@@ -44,6 +45,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS -fPIC -g" LIBDIR="%{_libdir}" %{?jobs:-j%jobs}
++++++ librtas.syscall.patch ++++++
---
librtas_src/syscall_calls.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
Index: librtas-1.2.4/librtas_src/syscall_calls.c
===================================================================
--- librtas-1.2.4.orig/librtas_src/syscall_calls.c
+++ librtas-1.2.4/librtas_src/syscall_calls.c
@@ -93,8 +93,6 @@ struct rtas_operations syscall_rtas_ops
.interface_exists = sc_interface_exists,
};
-_syscall1(int, rtas, void *, args);
-
#define CALL_AGAIN 1
/**
@@ -201,7 +199,7 @@ static int sc_rtas_call(int token, int n
va_end(ap);
display_rtas_buf(&args, 0);
- rc = rtas(&args);
+ rc = syscall(__NR_rtas, &args);
if (rc != 0) {
dbg1("RTAS syscall failure, errno=%d\n", errno);
return RTAS_IO_ASSERT;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |