summaryrefslogtreecommitdiff
path: root/textproc/xmlroff/files/patch-result-to-fo.c
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-01-11 02:48:09 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-01-11 02:48:09 +0000
commit69b4da235996ecb0653c0ef73e7fba900d998288 (patch)
treee2b1da9fee6796cccb40988fab7e6e18833e3854 /textproc/xmlroff/files/patch-result-to-fo.c
parentUpdate to development version 2.5.28 patch kit m (diff)
-Add a missing dependency. [1]
-Fix the build on FreeBSD 4.x. Reported by: pointyhat via kris [1] Submitted by: hrs and James Earl <james@icionline.ca> (maintainer)
Diffstat (limited to 'textproc/xmlroff/files/patch-result-to-fo.c')
-rw-r--r--textproc/xmlroff/files/patch-result-to-fo.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/xmlroff/files/patch-result-to-fo.c b/textproc/xmlroff/files/patch-result-to-fo.c
new file mode 100644
index 000000000000..eb370173aa7b
--- /dev/null
+++ b/textproc/xmlroff/files/patch-result-to-fo.c
@@ -0,0 +1,22 @@
+--- result-to-fo.c.orig Mon Jan 10 14:56:38 2005
++++ result-to-fo.c Mon Jan 10 14:57:14 2005
+@@ -852,6 +852,8 @@
+ while (iterator)
+ {
+ FoProperty *property = NULL;
++ FoPropertyClass *property_class = NULL;
++ FoTypeFunc type_func;
+
+ if (strcmp (xslAttrListIteratorName (iterator), "font-size") == 0 ||
+ (FO_IS_TABLE_CELL (fo_fo) &&
+@@ -872,8 +874,8 @@
+ }
+ }
+
+- FoPropertyClass *property_class = NULL;
+- FoTypeFunc type_func =
++ property_class = NULL;
++ type_func =
+ g_hash_table_lookup (prop_eval_hash,
+ xslAttrListIteratorName (iterator));
+