rpms/starplot/F-7 starplot-0.95.4-gcc43.patch, NONE, 1.1 starplot.spec, 1.3, 1.4
Debarshi Ray (rishi)
fedora-extras-commits at redhat.com
Thu Jan 10 02:51:57 UTC 2008
- Previous message (by thread): rpms/starplot/devel starplot.spec,1.5,1.6
- Next message (by thread): rpms/perl/devel .cvsignore, 1.14, 1.15 filter-requires.sh, 1.1, 1.2 perl-5.10.0-USE_MM_LD_RUN_PATH.patch, 1.1, 1.2 perl.spec, 1.143, 1.144 sources, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rishi
Update of /cvs/pkgs/rpms/starplot/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1742
Modified Files:
starplot.spec
Added Files:
starplot-0.95.4-gcc43.patch
Log Message:
Updated to 0.95.4-5 in F-7.
Modified Files:
starplot.spec
Added Files:
starplot-0.95.4-gcc43.patch
starplot-0.95.4-gcc43.patch:
--- NEW FILE starplot-0.95.4-gcc43.patch ---
The STL headers in gcc-4.3 have been cleaned up, so that the headers don't drag in
unnecessary dependencies which aren't requested by the standard.
This fixes build for gcc-4.3
Lubomir Kundrak <lkundrak at redhat.com>
diff -urp starplot-0.95.4.orig/src/gui/filedialogs.cc starplot-0.95.4/src/gui/filedialogs.cc
--- starplot-0.95.4.orig/src/gui/filedialogs.cc 2007-02-03 00:39:01.000000000 +0100
+++ starplot-0.95.4/src/gui/filedialogs.cc 2008-01-04 23:33:38.000000000 +0100
@@ -22,6 +22,7 @@
and also code for reading to / writing from the .starplotrc settings file.
*/
+#include <cstring>
#include <gtk/gtk.h>
#include "starplot.h"
diff -urp starplot-0.95.4.orig/src/gui/infodialogs.cc starplot-0.95.4/src/gui/infodialogs.cc
--- starplot-0.95.4.orig/src/gui/infodialogs.cc 2007-02-03 00:40:59.000000000 +0100
+++ starplot-0.95.4/src/gui/infodialogs.cc 2008-01-04 23:33:44.000000000 +0100
@@ -22,6 +22,7 @@
and for the informational popup window.
*/
+#include <cstring>
#include <gtk/gtk.h>
#include "starplot.h"
using std::string;
diff -urp starplot-0.95.4.orig/src/gui/menuops.cc starplot-0.95.4/src/gui/menuops.cc
--- starplot-0.95.4.orig/src/gui/menuops.cc 2007-02-03 00:23:26.000000000 +0100
+++ starplot-0.95.4/src/gui/menuops.cc 2008-01-03 21:41:45.000000000 +0100
@@ -535,7 +535,7 @@ void openurl(char * url)
}
char * temp = new char[globals::program_help_browser.size() + 1];
- std::strcpy(temp, globals::program_help_browser.c_str());
+ strcpy(temp, globals::program_help_browser.c_str());
char * const command[3] = { temp, url, NULL };
pid = fork();
Index: starplot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/starplot/F-7/starplot.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- starplot.spec 25 Nov 2007 14:34:02 -0000 1.3
+++ starplot.spec 10 Jan 2008 02:51:21 -0000 1.4
@@ -7,7 +7,7 @@
Summary: 3-dimensional perspective star map viewer
Name: starplot
Version: 0.95.4
-Release: 3%{?dist}
+Release: 5%{?dist}
License: GPLv2+
Group: Applications/Engineering
URL: http://starplot.org/
@@ -15,6 +15,7 @@
Source1: %{name}.desktop
Patch0: %{name}-%{version}-docdir.patch
+Patch1: %{name}-%{version}-gcc43.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@@ -32,6 +33,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
# Suppress rpmlint error.
iconv --from-code ISO8859-1 --to-code UTF-8 ./doc/examples/example.spec \
@@ -88,6 +90,12 @@
%{_datadir}/%{name}/test.stars
%changelog
+* Fri Jan 04 2008 Lubomir Kundrak <lkundrak at redhat.com> - 0.95.4-5
+- Added one missing hunk to the gcc-4.3 patch.
+
+* Thu Jan 03 2008 Lubomir Kundrak <lkundrak at redhat.com> - 0.95.4-4
+- Added missing includes to fix build with gcc-4.3.
+
* Sat Nov 24 2007 Debarshi Ray <rishi at fedoraproject.org> - 0.95.4-3
- Added 'BuildRequires: gettext'.
- Removed Encoding from Desktop Entry for all distributions, except Fedora 7.
- Previous message (by thread): rpms/starplot/devel starplot.spec,1.5,1.6
- Next message (by thread): rpms/perl/devel .cvsignore, 1.14, 1.15 filter-requires.sh, 1.1, 1.2 perl-5.10.0-USE_MM_LD_RUN_PATH.patch, 1.1, 1.2 perl.spec, 1.143, 1.144 sources, 1.14, 1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list