summaryrefslogtreecommitdiffstats
path: root/recipes/gnome
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2009-11-17 16:58:29 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2009-11-17 21:34:21 +0100
commitf001d149f39f7ef6384cb8f11ded39e3534e7e61 (patch)
tree01b1b8cbb87a9836098d626f8013462a371137c1 /recipes/gnome
parentc1a048acf3cc81417c7c80e3105580be99f0bf7d (diff)
downloadopenembedded-f001d149f39f7ef6384cb8f11ded39e3534e7e61.tar.gz
goffice: make buildable for uclibc
* libgoffice uses isfinite for uclibc this stdc99 so let autotools check it * bump PR
Diffstat (limited to 'recipes/gnome')
-rw-r--r--recipes/gnome/goffice/c99math.patch12
-rw-r--r--recipes/gnome/goffice_0.7.14.bb4
2 files changed, 15 insertions, 1 deletions
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
}