rpms/starlab/devel starlab-4.4.3-gcc44.patch, NONE, 1.1 starlab.spec, 1.2, 1.3

Lubomir Rintel lkundrak at fedoraproject.org
Sun Mar 1 13:50:18 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/starlab/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv453

Modified Files:
	starlab.spec 
Added Files:
	starlab-4.4.3-gcc44.patch 
Log Message:
* Sun Mar 1 2009 Lubomir Rintel (Fedora Astronomy) <lkundrak at fedoraproject.org> - 4.4.3-5
- Fix build with GCC 4.4


starlab-4.4.3-gcc44.patch:

--- NEW FILE starlab-4.4.3-gcc44.patch ---
Fix build with GCC 4.4

Lubomir Rintel <lkundrak at v3.sk>

diff -up starlab-4.4.3/src/std/pgetopt.C.gcc44 starlab-4.4.3/src/std/pgetopt.C
--- starlab-4.4.3/src/std/pgetopt.C.gcc44	2009-03-01 14:34:04.000000000 +0100
+++ starlab-4.4.3/src/std/pgetopt.C	2009-03-01 14:42:08.000000000 +0100
@@ -108,7 +108,7 @@ local inline char *get_version(const cha
 
     if (!cvs_id) return NULL;
 
-    char *start = strstr(cvs_id, "Revision:");
+    const char *start = strstr(cvs_id, "Revision:");
     if (!start) return NULL;
 
     start += 9;
@@ -116,7 +116,7 @@ local inline char *get_version(const cha
 
     if (start - cvs_id > strlen(cvs_id)) return NULL;
 
-    char *end = start;
+    const char *end = start;
     while (*end > ' ') end++;
 
     if (*end == ' ') {


Index: starlab.spec
===================================================================
RCS file: /cvs/pkgs/rpms/starlab/devel/starlab.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- starlab.spec	26 Feb 2009 03:03:30 -0000	1.2
+++ starlab.spec	1 Mar 2009 13:49:48 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           starlab
 Version:        4.4.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A Software Environment for Collisional Stellar Dynamics
 
 Group:          Applications/Multimedia
@@ -12,6 +12,7 @@
 Patch2:         starlab-4.4.3-buildcwd.patch
 Patch3:         starlab-4.4.3-autoconf263.patch
 Patch4:         starlab-4.4.3-tstarplot.patch
+Patch5:         starlab-4.4.3-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  zlib-devel
@@ -288,6 +289,9 @@
 
 
 %changelog
+* Sun Mar 1 2009 Lubomir Rintel (Fedora Astronomy) <lkundrak at fedoraproject.org> - 4.4.3-5
+- Fix build with GCC 4.4
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.4.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list