[Lunar-commits] <moonbase> pango: Adjusting the BUILD because of the glib-2 bump.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Mon Dec 12 18:57:34 CET 2011
commit 3a97443e7fa472f9b8bc3d6543fb386919e3083e
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Mon Dec 12 12:57:34 2011 -0500
pango: Adjusting the BUILD because of the glib-2 bump.
---
libs/pango/BUILD | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libs/pango/BUILD b/libs/pango/BUILD
index 0c34c5c..5b65d9f 100644
--- a/libs/pango/BUILD
+++ b/libs/pango/BUILD
@@ -3,6 +3,11 @@
# Unwanted doc
rm -f README.win32 &&
+# Fixes some modules dependent on panga since the glib-2 bump has dropped the use
+# G_CONST_RETURN in favor of 'const'
+ find . -name "*.c" -print | xargs sed -i "s:G_CONST_RETURN:const:g" &&
+ find . -name "*.h" -print | xargs sed -i "s:G_CONST_RETURN:const:g" &&
+
if [ "`get_module_config DOCS`" = "n" ] ; then
sedit 's/SUBDIRS = pango modules pango-view examples docs tools tests/SUBDIRS = pango modules pango-view examples tools tests/g' Makefile.in
fi &&
More information about the Lunar-commits
mailing list