Hello community,

here is the log from the commit of package librtas for openSUSE:Factory checked 
in at 2014-07-11 06:45:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librtas (Old)
 and      /work/SRC/openSUSE:Factory/.librtas.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "librtas"

Changes:
--------
--- /work/SRC/openSUSE:Factory/librtas/librtas.changes  2014-03-28 
13:56:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.librtas.new/librtas.changes     2014-07-11 
06:45:46.000000000 +0200
@@ -1,0 +2,13 @@
+Thu Jul  3 14:31:24 CEST 2014 - [email protected]
+
+- Update to 1.3.11 (bnc#884710:
+  * README: documentation on handling endianness
+  * librtas: Little endian support in syscalls
+
+  See Changelog in the package documentation for the full changes
+  documentation.
+- Refresh librtas-failedmagic.patch.
+- Packege Changelog
+- No need to remove and create buildroot, that's done by osc.
+
+-------------------------------------------------------------------

Old:
----
  librtas-1.3.10.tar.gz

New:
----
  librtas-1.3.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ librtas.spec ++++++
--- /var/tmp/diff_new_pack.ZgzcZR/_old  2014-07-11 06:45:47.000000000 +0200
+++ /var/tmp/diff_new_pack.ZgzcZR/_new  2014-07-11 06:45:47.000000000 +0200
@@ -18,7 +18,7 @@
 
 Name:           librtas
 BuildRequires:  doxygen
-Version:        1.3.10
+Version:        1.3.11
 Release:        0
 BuildRequires:  fdupes
 Summary:        Libraries to provide access to RTAS calls and RTAS events
@@ -28,6 +28,7 @@
 ExclusiveArch:  ppc ppc64 ppc64le
 Url:            http://librtas.ozlabs.org/
 Source0:        
http://sourceforge.net/projects/librtas/files/librtas-%{version}.tar.gz
+Source1:        baselibs.conf
 Patch:          librtas-failedmagic.patch
 
 %description
@@ -40,14 +41,6 @@
 definitions and common routines useful in parsing and dumping the
 contents of RTAS events.
 
-
-
-Authors:
---------
-    Nathan Fontenot <[email protected]>
-    John Rose <[email protected]>
-    Michael Strosaker <[email protected]>
-
 %package devel
 Summary:        Devel librtas files
 Group:          Development/Libraries/C and C++
@@ -56,12 +49,6 @@
 %description devel
 This package provides devel files of librtas
 
-Authors:
---------
-    Nathan Fontenot <[email protected]>
-    John Rose <[email protected]>
-    Michael Strosaker <[email protected]>
-
 %package doc
 Summary:        Documentation for librtas
 Group:          Documentation/Other
@@ -69,13 +56,6 @@
 %description doc
 This package provides librtas documentation
 
-Authors:
---------
-    Nathan Fontenot <[email protected]>
-    John Rose <[email protected]>
-    Michael Strosaker <[email protected]>
-
-
 %package -n librtas1
 Summary:        Libraries to provide access to RTAS calls and RTAS events
 Group:          System/Libraries
@@ -96,20 +76,20 @@
 sed s,rtasevent,ofdt,g <doxygen.rtasevent >doxygen.ofdt
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS -fPIC -g -I $PWD/librtasevent_src" 
LIB_DIR="%{_libdir}" %{?_smp_mflags}
+make CFLAGS="%optflags -fPIC -g -I $PWD/librtasevent_src" LIB_DIR="%{_libdir}" 
%{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT doc/*/latex
-mkdir $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT LIB_DIR="%{_libdir}"
-%fdupes $RPM_BUILD_ROOT/%_docdir
-/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
+rm -rf doc/*/latex
+make install DESTDIR=%buildroot LIB_DIR="%{_libdir}"
+%fdupes %buildroot/%_docdir
+/sbin/ldconfig -n %buildroot%{_libdir}
 
 %post -n librtas1 -p /sbin/ldconfig
 
 %postun -n librtas1 -p /sbin/ldconfig
 
 %files -n librtas1
+%doc Changelog
 %defattr(-, root, root)
 %{_libdir}/lib*.so.*
 

++++++ librtas-1.3.10.tar.gz -> librtas-1.3.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.10/Changelog new/librtas-1.3.11/Changelog
--- old/librtas-1.3.10/Changelog        2014-03-21 21:31:52.000000000 +0100
+++ new/librtas-1.3.11/Changelog        2014-06-25 21:37:10.000000000 +0200
@@ -1,3 +1,38 @@
+Changelog for librtas-1.3.11
+=======================================
+commit 129fdb4875c8c679418b70c55df9b8b7fe8d6180
+Author: Thomas Falcon <[email protected]>
+Date:   Wed Jun 25 09:55:52 2014 -0500
+
+    README: documentation on handling endianness
+    
+    Signed-off-by: Thomas Falcon <[email protected]>
+
+commit b13d14ff2dcbe54af61cab19d09be22edc9d74c0
+Author: Maran Pakkirisamy <[email protected]>
+Date:   Fri Jun 6 14:04:27 2014 -0500
+
+    librtas: avoid bashism in rules.mk
+    
+    Ubuntu has made dash as its default shell (/bin/sh). This leads to build
+    being broken on ubuntu.
+    More information at: https://wiki.ubuntu.com/DashAsBinSh
+    This patch removes bashism and hence fixes the build breakage.
+    
+    Signed-off-by: Maran Pakkirisamy <[email protected]>
+
+commit f9b806b19bbc4df56df6b5dbab1bf9060508b5d9
+Author: Thomas Falcon <[email protected]>
+Date:   Fri Jun 6 14:02:40 2014 -0500
+
+    librtas: Little endian support in syscalls
+    
+    This patch attempts to make rtas syscalls compatible for Little
+    Endian systems by ensuring rtas call parameters are Big Endian and
+    return values are host endian.
+    
+    Signed-off-by: Thomas Falcon <[email protected]>
+
 Changelog for librtas-1.3.10
 =======================================
 commit e0c097d3e0ab65433d4fdc6e18a820c82d909464
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.10/README new/librtas-1.3.11/README
--- old/librtas-1.3.10/README   2014-03-21 21:31:52.000000000 +0100
+++ new/librtas-1.3.11/README   2014-06-25 21:37:10.000000000 +0200
@@ -38,4 +38,20 @@
 make install
 /sbin/ldconfig
 
+Endian Concerns:
+----------------
+RTAS expects integer values to be in a 32 bit, big endian format.  This
+requirement will be handled by librtas except when values are passed
+to or from RTAS via a buffer.  In this case, we expect the caller to handle
+the endianess of these values.  The librtas calls that employ this 
+method are listed below:
 
+rtas_cfg_connector
+rtas_errinjct
+rtas_get_indices
+rtas_get_sysparm
+rtas_get_vpd
+rtas_lpar_perftools
+rtas_set_sysparm
+rtas_update_nodes
+rtas_update_properties
Files old/librtas-1.3.10/libofdt_src/libofdt.so.1.3.8 and 
new/librtas-1.3.11/libofdt_src/libofdt.so.1.3.8 differ
Files old/librtas-1.3.10/libofdt_src/libofdt.so.1.3.9 and 
new/librtas-1.3.11/libofdt_src/libofdt.so.1.3.9 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.10/librtas.spec.in 
new/librtas-1.3.11/librtas.spec.in
--- old/librtas-1.3.10/librtas.spec.in  2014-03-21 21:31:52.000000000 +0100
+++ new/librtas-1.3.11/librtas.spec.in  2014-06-25 21:37:10.000000000 +0200
@@ -1,5 +1,5 @@
 %define name librtas
-%define version 1.3.10
+%define version 1.3.11
 %define release 1
 Summary: Libraries to provide access to RTAS calls and RTAS events.
 Name: %{name}
Files old/librtas-1.3.10/librtas_src/librtas.so.1.3.8 and 
new/librtas-1.3.11/librtas_src/librtas.so.1.3.8 differ
Files old/librtas-1.3.10/librtas_src/librtas.so.1.3.9 and 
new/librtas-1.3.11/librtas_src/librtas.so.1.3.9 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.10/librtas_src/syscall_calls.c 
new/librtas-1.3.11/librtas_src/syscall_calls.c
--- old/librtas-1.3.10/librtas_src/syscall_calls.c      2014-03-21 
21:31:52.000000000 +0100
+++ new/librtas-1.3.11/librtas_src/syscall_calls.c      2014-06-25 
21:37:10.000000000 +0200
@@ -15,6 +15,7 @@
 #include <sys/syscall.h>
 #include <unistd.h>
 #include <linux/unistd.h>
+#include <linux/types.h>
 #include "common.h"
 #include "syscall.h"
 #include "librtas.h"
@@ -398,7 +399,7 @@
        strcpy(kernbuf, buf);
 
        do {
-               rc = sc_rtas_call(token, 1, 1, kernbuf_pa, &status);
+               rc = sc_rtas_call(token, 1, 1, htobe32(kernbuf_pa), &status);
                if (rc < 0)
                        break;
 
@@ -438,8 +439,8 @@
        memcpy(kernbuf, workarea, ERRINJCT_BUF_SIZE);
 
        do {
-               rc = sc_rtas_call(token, 3, 1, etoken, otoken, kernbuf_pa,
-                                 &status);
+               rc = sc_rtas_call(token, 3, 1, htobe32(etoken), htobe32(otoken),
+                                 htobe32(kernbuf_pa), &status);
                if (rc < 0 )
                        break;
 
@@ -470,7 +471,7 @@
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 1, 1, otoken, &status);
+               rc = sc_rtas_call(token, 1, 1, htobe32(otoken), &status);
                if (rc)
                        return rc;
 
@@ -492,17 +493,20 @@
 int sc_errinjct_open(int token, int *otoken)
 {
        uint64_t elapsed = 0;
+       __be32 be_otoken;
        int status;
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 0, 2, otoken, &status);
+               rc = sc_rtas_call(token, 0, 2, &be_otoken, &status);
                if (rc)
                        return rc;
 
                rc = handle_delay(status, &elapsed);
        } while (rc == CALL_AGAIN);
 
+       *otoken = be32toh(be_otoken);
+
        dbg1("(%p) = %d, %d\n", otoken, rc ? rc : status, *otoken);
        return rc ? rc : status;
 }
@@ -522,18 +526,23 @@
     uint64_t phb_id, uint32_t func, uint32_t *info)
 {
        uint64_t elapsed = 0;
+       __be32 be_info;
        int status;
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 4, 2, config_addr,
-                       BITS32_HI(phb_id), BITS32_LO(phb_id), func, &status, 
info);
+               rc = sc_rtas_call(token, 4, 2, htobe32(config_addr),
+                                 BITS32_HI(htobe64(phb_id)),
+                                 BITS32_LO(htobe64(phb_id)),
+                                 htobe32(func), &status, &be_info);
                if (rc)
                        break;
 
                rc = handle_delay(status, &elapsed);
        } while (rc == CALL_AGAIN);
 
+       *info = be32toh(be_info);
+
        dbg1("(0x%x, 0x%llx, %d) = %d, 0x%x\n", config_addr, phb_id, func,
             rc ? rc : status, *info);
        return rc ? rc : status;
@@ -555,6 +564,7 @@
        uint64_t elapsed = 0;
        void *locbuf;
        uint32_t size;
+       __be32 be_state;
        int status;
        int rc;
 
@@ -567,8 +577,8 @@
        memcpy(locbuf, loc_code, size);
 
        do {
-               rc = sc_rtas_call(token, 2, 2, sensor, loc_pa,
-                                 &status, state);
+               rc = sc_rtas_call(token, 2, 2, htobe32(sensor), htobe32(loc_pa),
+                                 &status, &be_state);
                if (rc < 0)
                        break;
 
@@ -577,6 +587,8 @@
 
        (void) sc_free_rmo_buffer(locbuf, loc_pa, size);
 
+       *state = be32toh(be_state);
+
        dbg1("(%d, %s, %p) = %d, %d\n", sensor, (char *)loc_code, state,
             rc ? rc : status, *state);
        return rc ? rc : status;
@@ -601,6 +613,7 @@
 {
        uint64_t elapsed = 0;
        uint32_t kernbuf_pa;
+       __be32 be_next;
        void *kernbuf;
        int status;
        int rc;
@@ -610,8 +623,10 @@
                return rc;
 
        do {
-               rc = sc_rtas_call(token, 5, 2, is_sensor, type, kernbuf_pa,
-                                 size, start, &status, next);
+               rc = sc_rtas_call(token, 5, 2, htobe32(is_sensor),
+                                 htobe32(type), htobe32(kernbuf_pa),
+                                 htobe32(size), htobe32(start),
+                                 &status, &be_next);
                if (rc < 0)
                        break;
 
@@ -623,6 +638,8 @@
 
        (void)sc_free_rmo_buffer(kernbuf, kernbuf_pa, size);
 
+       *next = be32toh(be_next);
+
        dbg1("(%d, %d, %p, %d, %d, %p) = %d, %d\n", is_sensor, type, workarea,
             size, start, next, rc ? rc : status, *next);
        return rc ? rc : status;
@@ -640,17 +657,21 @@
 int sc_get_power_level(int token, int powerdomain, int *level)
 {
        uint64_t elapsed = 0;
+       __be32 be_level;
        int status;
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 1, 2, powerdomain, &status, level);
+               rc = sc_rtas_call(token, 1, 2, htobe32(powerdomain),
+                                 &status, &be_level);
                if (rc)
                        return rc;
 
                rc = handle_delay(status, &elapsed);
        } while (rc == CALL_AGAIN);
 
+       *level = be32toh(be_level);
+
        dbg1("(%d, %p) = %d, %d\n", powerdomain, level, rc ? rc : status,
             *level);
        return rc ? rc : status;
@@ -669,7 +690,7 @@
 int sc_get_sensor(int token, int sensor, int index, int *state)
 {
        uint64_t elapsed = 0;
-       uint32_t be_state;
+       __be32 be_state;
        int status;
        int rc;
 
@@ -714,7 +735,8 @@
                return rc;
 
        do {
-               rc = sc_rtas_call(token, 3, 1, parameter, kernbuf_pa, length,
+               rc = sc_rtas_call(token, 3, 1, htobe32(parameter),
+                                 htobe32(kernbuf_pa), htobe32(length),
                                  &status);
                if (rc < 0)
                        break;
@@ -761,6 +783,14 @@
                rc = handle_delay(status, &elapsed);
        } while (rc == CALL_AGAIN);
 
+       *year = be32toh(*year);
+       *month = be32toh(*month);
+       *day = be32toh(*day);
+       *hour = be32toh(*hour);
+       *min = be32toh(*min);
+       *sec = be32toh(*sec);
+       *nsec = be32toh(*nsec);
+
        dbg1("() = %d, %d, %d, %d, %d, %d, %d, %d\n", rc ? rc : status, *year,
                        *month, *day, *hour, *min, *sec, *nsec);
        return rc ? rc : status;
@@ -803,11 +833,13 @@
        /* If user didn't set loc_code, copy a NULL string */
        strncpy(locbuf, loc_code ? loc_code : "", PAGE_SIZE);
        
-       *seq_next = sequence;
+       *seq_next = htobe32(sequence);
        do {
                sequence = *seq_next;
-               rc = sc_rtas_call(token, 4, 3, loc_pa, kernbuf_pa, size, 
-                               sequence, &status, seq_next, bytes_ret);
+               rc = sc_rtas_call(token, 4, 3, htobe32(loc_pa),
+                                 htobe32(kernbuf_pa), htobe32(size),
+                                 sequence, &status, seq_next,
+                                 bytes_ret);
                if (rc < 0)
                        break;
                
@@ -819,6 +851,9 @@
 
        (void) sc_free_rmo_buffer(rmobuf, rmo_pa, size + PAGE_SIZE);
        
+       *seq_next = be32toh(*seq_next);
+       *bytes_ret = be32toh(*bytes_ret);
+
        dbg1("(%s, 0x%p, %d, %d) = %d, %d, %d", loc_code ? loc_code : "NULL",
                workarea, size, sequence, status, *seq_next, *bytes_ret);
        return rc ? rc : status;        
@@ -851,10 +886,11 @@
 
        memcpy(kernbuf, workarea, PAGE_SIZE);
 
-       *seq_next = sequence;
+       *seq_next = htobe32(sequence);
        do {
                sequence = *seq_next;
-               rc = sc_rtas_call(token, 5, 2, subfunc, 0, kernbuf_pa, length,
+               rc = sc_rtas_call(token, 5, 2, htobe32(subfunc), 0,
+                                 htobe32(kernbuf_pa), htobe32(length),
                                  sequence, &status, seq_next);
                if (rc < 0)
                        break;
@@ -867,6 +903,8 @@
 
        (void)sc_free_rmo_buffer(kernbuf, kernbuf_pa, length);
 
+       *seq_next = be32toh(*seq_next);
+
        dbg1("(%d, %p, %d, %d, %p) = %d, %d\n", subfunc, workarea,
             length, sequence, seq_next, rc ? rc : status, *seq_next);
        return rc ? rc : status;
@@ -902,12 +940,14 @@
                        return rc;
        }
 
-       *seq_next = sequence;
+       *seq_next = htobe64(sequence);
        do {
                sequence = *seq_next;
-               rc = sc_rtas_call(token, 6, 5, BITS32_HI(dump_tag),
-                                 BITS32_LO(dump_tag), BITS32_HI(sequence),
-                                 BITS32_LO(sequence), kernbuf_pa, length,
+               rc = sc_rtas_call(token, 6, 5, BITS32_HI(htobe64(dump_tag)),
+                                 BITS32_LO(htobe64(dump_tag)),
+                                 BITS32_HI(sequence),
+                                 BITS32_LO(sequence),
+                                 htobe32(kernbuf_pa), htobe32(length),
                                  &status, &next_hi, &next_lo, &bytes_hi,
                                  &bytes_lo);
                if (rc < 0)
@@ -925,7 +965,12 @@
        if (kernbuf)
                (void)sc_free_rmo_buffer(kernbuf, kernbuf_pa, length);
 
-       *bytes_ret = BITS64(bytes_hi, bytes_lo);
+       next_hi = be32toh(next_hi);
+       next_lo = be32toh(next_lo);
+       bytes_hi = be32toh(bytes_hi);
+       bytes_lo = be32toh(bytes_lo);
+
+       *bytes_ret = BITS64(be32toh(bytes_hi), be32toh(bytes_lo));
 
        dbg1("(0x%llx, 0x%llx, %p, %d, %p, %p) = %d, 0x%llx, 0x%llx\n",
             dump_tag, sequence, buffer, length, seq_next, bytes_ret,
@@ -953,14 +998,19 @@
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 3, 3, cfg_addr, BITS32_HI(phbid),
-                                 BITS32_LO(phbid), &status, state, eeh);
+               rc = sc_rtas_call(token, 3, 3, htobe32(cfg_addr),
+                                 BITS32_HI(htobe64(phbid)),
+                                 BITS32_LO(htobe64(phbid)), &status,
+                                 state, eeh);
                if (rc)
                        return rc;
 
                rc = handle_delay(status, &elapsed);
        } while (rc == CALL_AGAIN);
 
+       *state = be32toh(*state);
+       *eeh = be32toh(*eeh);
+
        dbg1("(0x%x, 0x%llx, %p, %p) = %d, %d, %d\n", cfg_addr, phbid, state,
             eeh, rc ? rc : status, *state, *eeh);
        return rc ? rc : status;
@@ -988,7 +1038,8 @@
 
        memcpy(kernbuf, buffer, length);
        do {
-               rc = sc_rtas_call(token, 2, 1, kernbuf_pa, length, &status);
+               rc = sc_rtas_call(token, 2, 1, htobe32(kernbuf_pa),
+                                 htobe32(length), &status);
                if (rc < 0)
                        break;
 
@@ -1032,8 +1083,8 @@
        memcpy(locbuf, loc_code, size);
 
        do {
-               rc = sc_rtas_call(token, 3, 1, indicator, new_value,
-                                 loc_pa, &status);
+               rc = sc_rtas_call(token, 3, 1, htobe32(indicator),
+                                 htobe32(new_value), htobe32(loc_pa), &status);
                if (rc < 0)
                        break;
 
@@ -1065,8 +1116,10 @@
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 4, 1, cfg_addr, BITS32_HI(phbid),
-                                 BITS32_LO(phbid), function, &status);
+               rc = sc_rtas_call(token, 4, 1, htobe32(cfg_addr),
+                                 BITS32_HI(htobe64(phbid)),
+                                 BITS32_LO(htobe64(phbid)),
+                                 htobe32(function), &status);
                if (rc)
                        return rc;
 
@@ -1095,8 +1148,7 @@
 
        do {
                rc = sc_rtas_call(token, 3, 1, htobe32(indicator),
-                                 htobe32(index),
-                                 htobe32(new_value), &status);
+                                 htobe32(index), htobe32(new_value), &status);
                if (rc)
                        return rc;
 
@@ -1120,7 +1172,7 @@
 int sc_set_power_level(int token, int powerdomain, int level, int *setlevel)
 {
        uint64_t elapsed = 0;
-       uint32_t be_setlevel;
+       __be32 be_setlevel;
        int status;
        int rc;
 
@@ -1162,8 +1214,9 @@
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 7, 1, year, month, day, hour, min,
-                                 sec, nsec, &status);
+               rc = sc_rtas_call(token, 7, 1, htobe32(year), htobe32(month),
+                                 htobe32(day), htobe32(hour), htobe32(min),
+                                 htobe32(sec), htobe32(nsec), &status);
                if (rc)
                        return rc;
 
@@ -1200,7 +1253,8 @@
        memcpy(kernbuf, data, size + sizeof(short));
 
        do {
-               rc = sc_rtas_call(token, 2, 1, parameter, kernbuf_pa, &status);
+               rc = sc_rtas_call(token, 2, 1, htobe32(parameter),
+                                 htobe32(kernbuf_pa), &status);
                if (rc < 0)
                        break;
 
@@ -1234,8 +1288,9 @@
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 7, 1, year, month, day, hour, min, 
-                               sec, nsec, &status);
+               rc = sc_rtas_call(token, 7, 1, htobe32(year), htobe32(month),
+                               htobe32(day), htobe32(hour), htobe32(min),
+                               htobe32(sec), htobe32(nsec), &status);
                if (rc)
                        return rc;
 
@@ -1260,8 +1315,8 @@
        int rc;
 
        do {
-               rc = sc_rtas_call(token, 2, 1, BITS32_HI(streamid), 
-                                 BITS32_LO(streamid), &status);
+               rc = sc_rtas_call(token, 2, 1, BITS32_HI(htobe64(streamid)),
+                                 BITS32_LO(htobe64(streamid)), &status);
                if (rc)
                        return rc;
 
@@ -1299,7 +1354,8 @@
        memcpy(kernbuf, workarea, 4096);
 
        do {
-               rc = sc_rtas_call(token, 2, 1, workarea_pa, scope, &status);
+               rc = sc_rtas_call(token, 2, 1, htobe32(workarea_pa),
+                                 htobe32(scope), &status);
                if (rc < 0)
                        break;
 
@@ -1342,7 +1398,8 @@
        memcpy(kernbuf, workarea, 4096);
 
        do {
-               rc = sc_rtas_call(token, 2, 1, workarea_pa, scope, &status);
+               rc = sc_rtas_call(token, 2, 1, htobe32(workarea_pa),
+                                 htobe32(scope), &status);
                if (rc < 0)
                        break;
 
Files old/librtas-1.3.10/librtasevent_src/librtasevent.so.1.3.8 and 
new/librtas-1.3.11/librtasevent_src/librtasevent.so.1.3.8 differ
Files old/librtas-1.3.10/librtasevent_src/librtasevent.so.1.3.9 and 
new/librtas-1.3.11/librtasevent_src/librtasevent.so.1.3.9 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librtas-1.3.10/rules.mk new/librtas-1.3.11/rules.mk
--- old/librtas-1.3.10/rules.mk 2014-03-21 21:31:52.000000000 +0100
+++ new/librtas-1.3.11/rules.mk 2014-06-25 21:37:10.000000000 +0200
@@ -14,9 +14,9 @@
 # resolves the root directory at which this build is occuring
 ROOT_DIR =                                              \
         $(shell                                         \
-        while [[ `pwd` != "/" ]];                       \
+        while [ `pwd` != "/" ];                         \
         do                                              \
-                if [[ -f `pwd`/$(SPECFILENAME_IN) ]];      \
+                if [ -f `pwd`/$(SPECFILENAME_IN) ];     \
                 then                                    \
                         echo `pwd`;                     \
                         break;                          \
@@ -31,13 +31,13 @@
 # Find the correct command to build RPM's
 RPM =                                                  \
        $(shell                                         \
-       if [[ -a /bin/rpmbuild ]]; then                 \
+       if [ -a /bin/rpmbuild ]; then                   \
                echo "/bin/rpmbuild";                   \
-       elif [[ -a /usr/bin/rpmbuild ]]; then           \
+       elif [ -a /usr/bin/rpmbuild ]; then             \
                echo "/usr/bin/rpmbuild";               \
-       elif [[ -a /bin/rpm ]]; then                    \
+       elif [ -a /bin/rpm ]; then                      \
                echo "/bin/rpm";                        \
-       elif [[ -a /usr/bin/rpm ]]; then                \
+       elif [ -a /usr/bin/rpm ]; then                  \
                echo "/usr/bin/rpmbuild";               \
        else                                            \
                echo "rpm seems to be non-existant";    \

++++++ librtas-failedmagic.patch ++++++
--- /var/tmp/diff_new_pack.ZgzcZR/_old  2014-07-11 06:45:47.000000000 +0200
+++ /var/tmp/diff_new_pack.ZgzcZR/_new  2014-07-11 06:45:47.000000000 +0200
@@ -1,6 +1,12 @@
---- rules.mk.orig      2011-11-01 16:59:42.000000000 +0100
-+++ rules.mk   2011-11-01 17:40:38.000000000 +0100
-@@ -111,7 +111,6 @@
+---
+ rules.mk |    1 -
+ 1 file changed, 1 deletion(-)
+
+Index: rules.mk
+===================================================================
+--- rules.mk.orig      2014-06-25 21:37:10.000000000 +0200
++++ rules.mk   2014-07-03 14:30:14.520695665 +0200
+@@ -111,7 +111,6 @@ INSTALL_LOG ?= $(ROOT_DIR)/install.log
  #
  # $1 library to examine
  define is_lib64

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to