[globus-rsl] Doxygen workaround

Mattias Ellert ellert at fedoraproject.org
Sat Apr 30 00:40:26 UTC 2011


commit e7b373b7ead8f45bc16be2e1244b3e337146be08
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date:   Sat Apr 30 02:20:45 2011 +0200

    Doxygen workaround

 globus-rsl-dox-latex.patch |   21 +++++++++++++++++++++
 globus-rsl.spec            |    7 +++++++
 2 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/globus-rsl-dox-latex.patch b/globus-rsl-dox-latex.patch
new file mode 100644
index 0000000..35b3603
--- /dev/null
+++ b/globus-rsl-dox-latex.patch
@@ -0,0 +1,21 @@
+diff -ur globus-rsl-7.2.orig/globus_rsl.c globus-rsl-7.2/globus_rsl.c
+--- globus-rsl-7.2.orig/globus_rsl.c	2010-01-20 19:18:42.000000000 +0100
++++ globus-rsl-7.2/globus_rsl.c	2011-04-28 01:56:24.732023053 +0200
+@@ -1502,7 +1502,7 @@
+  *     @a GLOBUS_SUCCESS and modifies the value pointed to by the
+  *     @a concatenation_node parameter to use the value pointed to by the
+  *     @a new_left_node parameter as its left hand side value. If an error
+- *     occurs, @a globus_rsl_value_concatenation_set_left() returns -1.
++ *     occurs -1 is returned.
+  */
+ int
+ globus_rsl_value_concatenation_set_left (globus_rsl_value_t *concatenation_node,
+@@ -1538,7 +1538,7 @@
+  *     @a GLOBUS_SUCCESS and modifies the value pointed to by the
+  *     @a concatenation_node parameter to use the value pointed to by the
+  *     @a new_right_node parameter as its right hand side value. If an error
+- *     occurs, @a globus_rsl_value_concatenation_set_right() returns -1.
++ *     occurs -1 is returned.
+  */
+ int
+ globus_rsl_value_concatenation_set_right (globus_rsl_value_t *concatenation_node,
diff --git a/globus-rsl.spec b/globus-rsl.spec
index 36e76e0..fce0b08 100644
--- a/globus-rsl.spec
+++ b/globus-rsl.spec
@@ -25,6 +25,12 @@ Source8:	GLOBUS-GRAM5
 #		This is a workaround for the broken epstopdf script in RHEL5
 #		See: https://bugzilla.redhat.com/show_bug.cgi?id=450388
 Source9:	epstopdf-2.9.5gw
+#		Compiling the pdf documentation from the doxygen generated
+#		latex fails with a strange error when doxygen 1.7.4 is used:
+#		  pdfTeX error (ext4): \pdfendlink ended up in different
+#		  nesting level than \pdfstartlink.
+#		Making the text slightly shorter works around the problem
+Patch0:		%{name}-dox-latex.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:	globus-common
@@ -87,6 +93,7 @@ Resource Specification Language Library Documentation Files
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %if "%{rhel}" == "5"
 mkdir bin


More information about the scm-commits mailing list