From 11b9d83115029463140e4b3dbb51e9c5cc026d9f Mon Sep 17 00:00:00 2001 From: Patrick Laughton Date: Wed, 5 Sep 2007 03:07:20 +0000 Subject: [PATCH] - Patch to resurrect arith.h --- graphviz-arith.patch | 29 +++++++++++++++++++++++++++++ graphviz.spec | 7 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 graphviz-arith.patch diff --git a/graphviz-arith.patch b/graphviz-arith.patch new file mode 100644 index 0000000..126efeb --- /dev/null +++ b/graphviz-arith.patch @@ -0,0 +1,29 @@ +Index: lib/common/Makefile.am +=================================================================== +RCS file: /home/cvsroot/graphviz2/lib/common/Makefile.am,v +retrieving revision 1.46 +retrieving revision 1.47 +diff -u -r1.46 -r1.47 +--- lib/common/Makefile.am 26 Jul 2007 13:53:25 -0000 1.46 ++++ lib/common/Makefile.am 4 Sep 2007 23:39:07 -0000 1.47 +@@ -1,4 +1,4 @@ +-# $Id: Makefile.am,v 1.46 2007/07/26 13:53:25 erg Exp $ $Revision: 1.46 $ ++# $Id: Makefile.am,v 1.47 2007/09/04 23:39:07 ellson Exp $ $Revision: 1.47 $ + ## Process this file with automake to produce Makefile.in + + AM_CPPFLAGS = \ +@@ -14,11 +14,10 @@ + AM_CFLAGS = -D_BLD_common=1 + endif + +-pkginclude_HEADERS = geom.h color.h types.h textpara.h usershape.h ++pkginclude_HEADERS = arith.h geom.h color.h types.h textpara.h usershape.h + noinst_HEADERS = render.h utils.h memory.h \ +- geomprocs.h colorprocs.h colortbl.h entities.h \ +- logic.h arith.h globals.h \ +- const.h macros.h htmllex.h htmltable.h pointset.h ++ geomprocs.h colorprocs.h colortbl.h entities.h globals.h \ ++ logic.h const.h macros.h htmllex.h htmltable.h pointset.h + noinst_LTLIBRARIES = libcommon_C.la + + if WITH_CODEGENS diff --git a/graphviz.spec b/graphviz.spec index 6a73106..da31a14 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -8,7 +8,7 @@ Name: graphviz Summary: Graph Visualization Tools Version: 2.14.1 -%define truerelease 2 +%define truerelease 3 %{?distroagnostic: %define release %{truerelease}} %{!?distroagnostic: %define release %{truerelease}%{?dist}} @@ -18,6 +18,7 @@ Group: Applications/Multimedia License: CPL URL: http://www.graphviz.org/ Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.14.1.tar.gz +Patch0: %{name}-arith.patch #-- feature and package selection ------------------------------------------- # depends on %dist and %fedora (or %rhl or %rhel) which are set @@ -437,6 +438,7 @@ Provides some additional PDF and HTML documentation for graphviz. %prep %setup -q +%patch0 -p0 %build %if ! %{SHARP} @@ -509,6 +511,9 @@ rm -rf %{buildroot} #-- changelog -------------------------------------------------- %changelog +* Tue Sep 04 2007 Patrick "Jima" Laughton 2.14.1-3 +- Patch to resurrect arith.h + * Thu Aug 23 2007 Patrick "Jima" Laughton 2.14.1-2 - Added perl-devel to BR for F7+