Author: glen Date: Mon Mar 5 01:34:22 2007 GMT Module: SOURCES Tag: HEAD ---- Log message: - fix agg api detection: match 2.5 also for 2.4 api
---- Files affected: SOURCES: openoffice.org-agg25.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/openoffice.org-agg25.patch diff -u /dev/null SOURCES/openoffice.org-agg25.patch:1.1 --- /dev/null Mon Mar 5 02:34:22 2007 +++ SOURCES/openoffice.org-agg25.patch Mon Mar 5 02:34:17 2007 @@ -0,0 +1,11 @@ +--- config_office/configure.in 2007-03-05 03:29:11.059872065 +0200 ++++ config_office/configure.in 2007-03-05 03:33:16.395423096 +0200 +@@ -4208,7 +4208,7 @@ + AGG_INCDIR="`echo $AGG_CFLAGS | $SED -e s/-I//`" + fi + # we could have used pkg-config --modversion but 2.4's libagg.pc.in still contains 2.3 :/ +- if $GREP -q "Version 2.4" `echo $AGG_INCDIR`/agg_basics.h; then ++ if grep -q "Version 2.[[45]]" `echo $AGG_INCDIR`/agg_basics.h; then + AC_MSG_RESULT([2.4]) + AGG_VERSION=2400 + else ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
