Hello community,
here is the log from the commit of package ppc64-diag for openSUSE:Factory checked in at 2012-05-03 10:59:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ppc64-diag (Old)
and /work/SRC/openSUSE:Factory/.ppc64-diag.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ppc64-diag", Maintainer is "JLoeser@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ppc64-diag/ppc64-diag.changes 2011-11-07 14:29:28.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ppc64-diag.new/ppc64-diag.changes 2012-05-03 10:59:53.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Apr 24 12:13:09 UTC 2012 - dvaleev@suse.com
+
+- Change upstream Url
+- fix build with gcc 4.7
+- update to 2.4.3
+ - Added message catalogs for the ipr, ixgb, lpfc, and qla2xxx
+ drivers
+ - Removed obsolete ppc64_diag_servagent script
+
+-------------------------------------------------------------------
Old:
----
ppc64-diag-2.4.2.tar.bz2
New:
----
ppc64-diag-2.4.3.tar.gz
ppc64-diag.unistd.patch
ppc64-diag.varunused.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ppc64-diag.spec ++++++
--- /var/tmp/diff_new_pack.nRCZv0/_old 2012-05-03 10:59:54.000000000 +0200
+++ /var/tmp/diff_new_pack.nRCZv0/_new 2012-05-03 10:59:54.000000000 +0200
@@ -16,10 +16,9 @@
#
-Url: http://linux-diag.sourceforge.net/ppc64-diag/
-
+Url: http://sourceforge.net/projects/linux-diag/files/ppc64-diag
Name: ppc64-diag
-Version: 2.4.2
+Version: 2.4.3
Release: 1
Summary: Linux for Power Platform Diagnostics
Group: System/Monitoring
@@ -35,9 +34,11 @@
PreReq: %insserv_prereq
PreReq: aaa_base
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: %{name}-%{version}.tar.bz2
-Patch0: ppc64-diag.makefile.patch
-Patch1: ppc64-diag.rtas_errd.patch
+Source0: http://downloads.sourceforge.net/project/linux-diag/ppc64-diag/%{version}/%{name}-%{version}.tar.gz
+Patch0: %{name}.makefile.patch
+Patch1: %{name}.rtas_errd.patch
+Patch2: %{name}.varunused.patch
+Patch3: %{name}.unistd.patch
%description
Platform diagnostics for Linux for Power writes events reported by the
@@ -58,6 +59,8 @@
%setup -q
%patch0
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
%build
make
++++++ ppc64-diag.unistd.patch ++++++
Index: ppc64-diag-2.4.3/ela/add_regex.cpp
===================================================================
--- ppc64-diag-2.4.3.orig/ela/add_regex.cpp
+++ ppc64-diag-2.4.3/ela/add_regex.cpp
@@ -1,6 +1,7 @@
using namespace std;
#include
+#include
#include <iostream>
#include "catalogs.h"
++++++ ppc64-diag.varunused.patch ++++++
Index: ppc64-diag-2.4.3/diags/7031_D24_T24.c
===================================================================
--- ppc64-diag-2.4.3.orig/diags/7031_D24_T24.c
+++ ppc64-diag-2.4.3/diags/7031_D24_T24.c
@@ -64,7 +64,8 @@ get_enclosure_scsi_id(struct pearl_diag_
static int
print_drive_status(uint32_t status)
{
- int fail = 0, printed = 0, rc = OK;
+ __attribute__((unused)) int fail = 0;
+ int printed = 0, rc = OK;
if ((status & 0x0F000000) == 0x05000000) {
printf("(empty) ");
@@ -162,7 +163,8 @@ print_ps_fan_status(uint32_t status)
static int
print_repeater_status(uint32_t status)
{
- int printed = 0, fail = 0, rc = OK;
+ int printed = 0, rc = OK;
+ __attribute__((unused)) int fail = 0;
if ((status & 0x0F000000) == 0x01000000)
printf("ok ");
@@ -348,7 +350,8 @@ int
diag_7031_D24_T24(int fd, struct dev_vpd *vpd, int se, int verbose)
{
struct pearl_diag_page2 dp;
- int failure = 0, rc, encl_id;
+ int failure = 0, encl_id;
+ __attribute__((unused)) int rc;
int buf_len = sizeof(dp);
int ps1, ps2, fan1, fan2, fan3, rpt, vpd_card;
Index: ppc64-diag-2.4.3/rtas_errd/ela.c
===================================================================
--- ppc64-diag-2.4.3.orig/rtas_errd/ela.c
+++ ppc64-diag-2.4.3/rtas_errd/ela.c
@@ -1787,7 +1787,7 @@ process_v1_epow(struct event *event, int
int class;
int ext_epow;
int ext_epow_nofan;
- int fan_num;
+ __attribute__((unused)) int fan_num;
/*
* The following EPOW error logs found in CHRP, Ver. 1
Index: ppc64-diag-2.4.3/rtas_errd/epow.c
===================================================================
--- ppc64-diag-2.4.3.orig/rtas_errd/epow.c
+++ ppc64-diag-2.4.3/rtas_errd/epow.c
@@ -48,7 +48,7 @@ static int time_remaining = 0;
void
epow_timer_handler(int sig, siginfo_t siginfo, void *context)
{
- int rc, state;
+ int __attribute__((unused)) rc, state;
struct itimerval tv;
if (time_remaining <= 0) {
@@ -149,7 +149,7 @@ parse_epow(struct event *event)
struct rtas_epow_scn *epow;
struct itimerval tv;
char *event_type;
- int rc, state;
+ int __attribute__((unused)) rc, state;
/*
* Check the sensor state; this will be used to ensure
@@ -380,7 +380,7 @@ check_epow(struct event *event)
{
pid_t child;
char *childargs[2];
- int rc, current_status;
+ int __attribute__((unused)) rc, current_status;
/*
* Dissect the EPOW extended error information;
Index: ppc64-diag-2.4.3/rtas_errd/files.c
===================================================================
--- ppc64-diag-2.4.3.orig/rtas_errd/files.c
+++ ppc64-diag-2.4.3/rtas_errd/files.c
@@ -161,7 +161,7 @@ setup_rtas_event_scenario(void)
{
struct stat sbuf;
char *tmp;
- int fd, len;
+ int fd, __attribute__((unused)) len;
int i;
if (scenario_file == NULL)
Index: ppc64-diag-2.4.3/rtas_errd/guard.c
===================================================================
--- ppc64-diag-2.4.3.orig/rtas_errd/guard.c
+++ ppc64-diag-2.4.3/rtas_errd/guard.c
@@ -40,7 +40,7 @@ run_drmgr(enum resource_dealloc_type res
unsigned int value, int wait)
{
pid_t child;
- int status, rc;
+ int status, __attribute__((unused)) rc;
char capacity[6], quant_str[5];
char *drmgr_args[] = {DRMGR_PROGRAM_NOPATH, "-r", "-c", NULL,
NULL, NULL, NULL, NULL, NULL};
@@ -368,7 +368,7 @@ guard_cpu(struct event *event, int cpu_i
static void
guard_spcpu(struct event *event, int ent_loss)
{
- int n_cpus, rc, quant, ent_cap;
+ int n_cpus, __attribute__((unused)) rc = 0, quant, ent_cap;
int min_ent_cap = d_cfg.min_entitled_capacity;
/*
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org