goffice: make buildable for uclibc
authorHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 17 Nov 2009 15:58:29 +0000 (16:58 +0100)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 17 Nov 2009 20:34:21 +0000 (21:34 +0100)
* libgoffice uses isfinite for uclibc this stdc99 so let autotools check it
* bump PR

recipes/gnome/goffice/c99math.patch [new file with mode: 0644]
recipes/gnome/goffice_0.7.14.bb

diff --git a/recipes/gnome/goffice/c99math.patch b/recipes/gnome/goffice/c99math.patch
new file mode 100644 (file)
index 0000000..24e6c31
--- /dev/null
@@ -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
index 77dd39a..beb2323 100644 (file)
@@ -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
 }