rpms/igraph/devel igraph-test.patch,NONE,1.1 igraph.spec,1.14,1.15

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Tue Feb 26 14:18:31 UTC 2008


Author: nbecker

Update of /cvs/pkgs/rpms/igraph/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6804

Modified Files:
	igraph.spec 
Added Files:
	igraph-test.patch 
Log Message:
Add test patch for gcc-4.3


igraph-test.patch:

--- NEW FILE igraph-test.patch ---
diff --git a/examples/simple/igraph_cliques.c b/examples/simple/igraph_cliques.c
--- a/examples/simple/igraph_cliques.c
+++ b/examples/simple/igraph_cliques.c
@@ -22,6 +22,7 @@
 */
 
 #include <igraph.h>
+#include <stdlib.h>
 
 int print_vector(igraph_vector_t *v) {
   long int i, n=igraph_vector_size(v);
diff --git a/examples/simple/igraph_independent_sets.c b/examples/simple/igraph_independent_sets.c
--- a/examples/simple/igraph_independent_sets.c
+++ b/examples/simple/igraph_independent_sets.c
@@ -22,6 +22,7 @@
 */
 
 #include <igraph.h>
+#include <stdlib.h>
 
 int print_vector(igraph_vector_t *v) {
   long int i, n=igraph_vector_size(v);


Index: igraph.spec
===================================================================
RCS file: /cvs/pkgs/rpms/igraph/devel/igraph.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- igraph.spec	26 Feb 2008 01:25:32 -0000	1.14
+++ igraph.spec	26 Feb 2008 14:17:54 -0000	1.15
@@ -1,6 +1,6 @@
 Name:		igraph
 Version:	0.5
-Release:	10%{?dist}
+Release:	11%{?dist}
 Summary:	Library for creating and manipulating graphs
 
 Group:		System Environment/Libraries
@@ -8,6 +8,7 @@
 URL:		http://cneurocvs.rmki.kfki.hu/igraph
 Source0:	http://igraph.googlecode.com/files/%{name}-%{version}.tar.gz
 Patch1:		igraph-cstdlib.patch
+Patch2:		igraph-test.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 #BuildRequires:	gcc
@@ -37,6 +38,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure
@@ -90,6 +92,9 @@
 make check
 
 %changelog
+* Tue Feb 26 2008 Neal Becker <ndbecker2 at gmail.com> - 0.5-11
+- Add patch for tests for gcc-4.3
+
 * Mon Feb 25 2008 Neal Becker <ndbecker2 at gmail.com> - 0.5-10
 - Run check
 




More information about the fedora-extras-commits mailing list