Accepting request 287365 from home:bmanojlovic:branches:openSUSE:Factory:Rings:1-MinimalX

- fix gcc5 C99 reserved issue problems with patch
  pcp-3.6.10-gcc5-reservedword.patch

OBS-URL: https://build.opensuse.org/request/show/287365
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=36
This commit is contained in:
David Disseldorp 2015-02-23 16:38:12 +00:00 committed by Git OBS Bridge
parent ec085b0f7a
commit 4e5f192445
3 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,26 @@
Index: src/pmdas/bash/event.c
===================================================================
--- src/pmdas/bash/event.c.orig 2012-10-14 00:50:38.000000000 +0200
+++ src/pmdas/bash/event.c 2015-02-23 16:08:13.039795393 +0100
@@ -168,7 +168,7 @@ process_alloc(const char *bashname, bash
bashful->queueid = queueid;
bashful->exited = 0;
bashful->finished = 0;
- bashful->restrict = 0;
+ bashful->restricted = 0;
bashful->version = init->version;
bashful->padding = 0;
Index: src/pmdas/bash/event.h
===================================================================
--- src/pmdas/bash/event.h.orig 2012-10-08 07:16:37.000000000 +0200
+++ src/pmdas/bash/event.h 2015-02-23 16:08:03.822057504 +0100
@@ -29,7 +29,7 @@ typedef struct bash_process {
int exited : 1; /* flag: process running? */
int finished: 1; /* flag: exit event sent? */
- int restrict: 1; /* flag: store-to-access? */
+ int restricted: 1; /* flag: store-to-access? */
int version : 8; /* pmda <-> bash xtrace version */
int padding : 21; /* filler */

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 23 16:28:50 UTC 2015 - boris@steki.net
- fix gcc5 C99 reserved issue problems with patch
pcp-3.6.10-gcc5-reservedword.patch
-------------------------------------------------------------------
Mon Nov 10 01:14:00 UTC 2014 - Led <ledest@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package pcp
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -73,6 +73,7 @@ Patch13: remove_cpan_rpaths.patch
Patch14: rm_init_script_runlevel_4.patch
Patch15: create-pmlogger-and-pmie-logdirs-during-install.patch
Patch16: fix_pmie_pmlogger_startup_races.patch
Patch17: pcp-3.6.10-gcc5-reservedword.patch
%if (0%{?suse_version} > 0)
Requires: cpp
@ -291,6 +292,8 @@ into standard PCP archive logs for replay with any PCP monitoring tool.
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17
autoconf
%clean