From f001d149f39f7ef6384cb8f11ded39e3534e7e61 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 17 Nov 2009 16:58:29 +0100 Subject: goffice: make buildable for uclibc * libgoffice uses isfinite for uclibc this stdc99 so let autotools check it * bump PR --- recipes/gnome/goffice/c99math.patch | 12 ++++++++++++ recipes/gnome/goffice_0.7.14.bb | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 recipes/gnome/goffice/c99math.patch (limited to 'recipes/gnome') diff --git a/recipes/gnome/goffice/c99math.patch b/recipes/gnome/goffice/c99math.patch new file mode 100644 index 0000000000..24e6c31a72 --- /dev/null +++ b/recipes/gnome/goffice/c99math.patch @@ -0,0 +1,12 @@ +Index: goffice-0.7.14/configure.in +=================================================================== +--- goffice-0.7.14.orig/configure.in 2009-11-14 19:14:37.106109501 +0100 ++++ goffice-0.7.14/configure.in 2009-11-14 19:19:40.907333188 +0100 +@@ -66,6 +66,7 @@ + + AC_ISC_POSIX + AC_PROG_CC ++AC_PROG_CC_C99 + AC_PROG_YACC + AM_PROG_LEX + AC_PROG_LN_S diff --git a/recipes/gnome/goffice_0.7.14.bb b/recipes/gnome/goffice_0.7.14.bb index 77dd39ad79..beb23231db 100644 --- a/recipes/gnome/goffice_0.7.14.bb +++ b/recipes/gnome/goffice_0.7.14.bb @@ -1,12 +1,14 @@ DESCRIPTION="Gnome Office Library" LICENSE="GPLv2" -PR = "r1" +PR = "r2" DEPENDS="glib-2.0 gtk+ pango cairo libgnomeprint libgsf libglade libpcre libxml2 libart-lgpl" inherit gnome pkgconfig +SRC_URI += "file://c99math.patch;patch=1" + do_stage() { autotools_stage_all } -- cgit 1.2.3-korg