Accepting request 33783 from GNOME:Apps

Copy from GNOME:Apps/nemiver based on submit request 33783 from user dimstar

OBS-URL: https://build.opensuse.org/request/show/33783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nemiver?expand=0&rev=18
This commit is contained in:
OBS User autobuild 2010-03-05 10:42:16 +00:00 committed by Git OBS Bridge
parent 7d81875631
commit e2593de656
3 changed files with 46 additions and 16 deletions

34
nemiver-gcc45.patch Normal file
View File

@ -0,0 +1,34 @@
From 9978746e91b8c6789d792bdc926306db0873c74c Mon Sep 17 00:00:00 2001
From: Dodji Seketeli <dodji@redhat.com>
Date: Sat, 27 Feb 2010 21:14:38 +0000
Subject: Fix build with gcc 4.5
* src/common/nmv-object.cc: Class name is Object, not
Object::Object.
---
Index: nemiver-0.7.3/src/common/nmv-object.cc
===================================================================
--- nemiver-0.7.3.orig/src/common/nmv-object.cc
+++ nemiver-0.7.3/src/common/nmv-object.cc
@@ -59,7 +59,7 @@ Object::Object (Object const &a_object):
*m_priv = *a_object.m_priv;
}
-Object::Object&
+Object&
Object::operator= (Object const &a_object)
{
if (this == &a_object)
Index: nemiver-0.7.3/src/langs/nmv-cpp-ast.cc
===================================================================
--- nemiver-0.7.3.orig/src/langs/nmv-cpp-ast.cc
+++ nemiver-0.7.3/src/langs/nmv-cpp-ast.cc
@@ -64,7 +64,7 @@ Token::Token (const Token &a_t)
m_int_value = a_t.get_int_value ();
}
-Token::Token&
+Token&
Token::operator= (const Token &a_t)
{
m_kind = a_t.get_kind ();

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Mar 2 11:32:12 UTC 2010 - dimstar@opensuse.org
- Add nemiver-gcc45.patch to fix build with GCC 4.5, patch taken
from upstram git commit 997874 and extended to also solve
bgo#611588.
-------------------------------------------------------------------
Mon Dec 7 13:58:18 CET 2009 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package nemiver (Version 0.7.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 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
@ -20,7 +20,7 @@ Url: http://home.gna.org/nemiver/
Name: nemiver
Version: 0.7.3
Release: 1
Release: 2
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: boost-devel
@ -45,6 +45,8 @@ Requires: gdb
Group: Development/Tools/Debuggers
Summary: Nemiver graphical debugger
Source0: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM nemiver-gcc45.patch dimstar@opensuse.org -- Fix build with GCC 4.5. Taken from upstream.
Patch0: nemiver-gcc45.patch
Requires: %{name}-lang = %{version}
%gconf_schemas_prereq
@ -53,13 +55,6 @@ Nemiver is a standalone graphical debugger that integrates well in the
GNOME desktop environment. It currently features a backend which uses
the well known GNU Debugger gdb to debug C / C++ programs.
Authors:
--------
Dodji Seketeli <dodji@gnome.org>
Jonathon Jongsma <jjongsma@gnome.org>
%package devel
License: GPLv2+
Summary: Nemiver graphical debugger - Development files
@ -76,16 +71,10 @@ the well known GNU Debugger gdb to debug C / C++ programs.
This package contains the development files to build debugger backend.
Authors:
--------
Dodji Seketeli <dodji@gnome.org>
Jonathon Jongsma <jjongsma@gnome.org>
%lang_package
%prep
%setup -q
%patch0 -p1
translation-update-upstream
%build