rpms/graphviz/devel graphviz-gcc43.patch, NONE, 1.1 graphviz.spec, 1.43, 1.44

Patrick Laughton (jima) fedora-extras-commits at redhat.com
Tue Feb 12 17:53:55 UTC 2008


Author: jima

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

Modified Files:
	graphviz.spec 
Added Files:
	graphviz-gcc43.patch 
Log Message:

* Tue Feb 12 2008 Patrick "Jima" Laughton <jima at beer.tclug.org> 2.16-3.3
- Added upstream-provided patch for building under GCC 4.3 (thanks John!)


graphviz-gcc43.patch:

--- NEW FILE graphviz-gcc43.patch ---
--- graphviz-2.16/lib/vpsc/generate-constraints.cpp.orig	2008-02-11 13:42:16.000000000 -0500
+++ graphviz-2.16/lib/vpsc/generate-constraints.cpp	2008-02-11 13:05:19.000000000 -0500
@@ -18,6 +18,7 @@
 
 #include <set>
 #include <cassert>
+#include <cstdlib>
 #include "generate-constraints.h"
 #include "constraint.h"
 
--- graphviz-2.16/lib/vpsc/csolve_VPSC.cpp.orig	2008-02-11 13:42:00.000000000 -0500
+++ graphviz-2.16/lib/vpsc/csolve_VPSC.cpp	2008-02-11 13:05:19.000000000 -0500
@@ -21,6 +21,7 @@
 #include <constraint.h>
 #include <generate-constraints.h>
 #include <solve_VPSC.h>
+#include <cstdlib>
 #include <cassert>
 #include "csolve_VPSC.h"
 extern "C" {
--- graphviz-2.16/tclpkg/gv/gv.i.orig	2008-02-11 13:41:21.000000000 -0500
+++ graphviz-2.16/tclpkg/gv/gv.i	2008-02-11 13:38:57.000000000 -0500
@@ -25,6 +25,9 @@
 #undef TRUE
 #undef FALSE
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "gvc.h"
 %}
 


Index: graphviz.spec
===================================================================
RCS file: /cvs/pkgs/rpms/graphviz/devel/graphviz.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- graphviz.spec	4 Jan 2008 05:11:28 -0000	1.43
+++ graphviz.spec	12 Feb 2008 17:53:11 -0000	1.44
@@ -8,7 +8,7 @@
 Summary: Graph Visualization Tools
 Version: 2.16
 
-%define truerelease 3.2
+%define truerelease 3.3
 %{?distroagnostic: %define release %{truerelease}}
 %{!?distroagnostic: %define release %{truerelease}%{?dist}}
 
@@ -19,6 +19,7 @@
 URL:     http://www.graphviz.org/
 Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
 Patch0:  %{name}-tk8.5.patch
+Patch1:  %{name}-gcc43.patch
 
 # graphviz is relocatable - Caution: this feature is used in AT&T,
 #   but probably will not be supported in Redhat/Fedora/Centos distros
@@ -506,6 +507,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %if ! %{SHARP}
@@ -584,6 +586,9 @@
 #-- changelog --------------------------------------------------
 
 %changelog
+* Tue Feb 12 2008 Patrick "Jima" Laughton <jima at beer.tclug.org> 2.16-3.3
+- Added upstream-provided patch for building under GCC 4.3 (thanks John!)
+
 * Thu Jan  3 2008 Patrick "Jima" Laughton <jima at beer.tclug.org> 2.16-3.2
 - Re-added tcl/tk 8.5 patch
 - Tweaked ming stuff




More information about the fedora-extras-commits mailing list