diff --git a/abiword-2.7.7-templates.patch b/abiword-2.7.7-templates.patch new file mode 100644 index 0000000..58607d9 --- /dev/null +++ b/abiword-2.7.7-templates.patch @@ -0,0 +1,35 @@ +diff -u -r abiword-2.7.7.orig/user/wp/templates/Makefile.am abiword-2.7.7/user/wp/templates/Makefile.am +--- abiword-2.7.7.orig/user/wp/templates/Makefile.am 2009-07-09 16:08:15.000000000 +0200 ++++ abiword-2.7.7/user/wp/templates/Makefile.am 2009-07-19 18:23:40.000000000 +0200 +@@ -1,6 +1,5 @@ + +-templatesdir = $(ABIWORD_DATADIR)/templates +-templates_DATA = \ ++templates_normal = \ + normal.awt \ + normal.awt-am_ET \ + normal.awt-ar \ +@@ -63,8 +62,7 @@ + normal.awt-zh_CN \ + normal.awt-zh_TW + +-if ENABLE_TEMPLATES +-templates_DATA += \ ++templates_extra = \ + A4.awt \ + Business-Letter.awt \ + Business-Report.awt \ +@@ -76,7 +74,12 @@ + Resume.awt \ + Two-Columns.awt \ + US-Letter.awt ++ ++templatesdir = $(ABIWORD_DATADIR)/templates ++templates_DATA = $(templates_normal) ++if ENABLE_TEMPLATES ++templates_DATA += $(templates_extra) + endif + +-EXTRA_DIST = $(templates_DATA) ++EXTRA_DIST = $(templates_normal) $(templates_extra) +