summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}