goffice 0.7.4: fixed compilation removing dolt
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Fri, 1 Jan 2010 16:40:53 +0000 (17:40 +0100)
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>
Fri, 1 Jan 2010 16:41:40 +0000 (17:41 +0100)
Fixed compilation removing DOLT (from http://dolt.freedesktop.org/)
  fom configure.in, else it would file like this(output stripped) :
.../doltlibtool: exec: .../libtool: cannot execute: No such file or directory
  note that it looks for libtool and not ${TARGET_ARCH}-angstrom-linux-libtool
  in my case,more informations are disponible reading the m4 dolt file here:
  http://cgit.freedesktop.org/dolt/tree/dolt.m4

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

diff --git a/recipes/gnome/goffice/nodolt.patch b/recipes/gnome/goffice/nodolt.patch
new file mode 100644 (file)
index 0000000..ea1777a
--- /dev/null
@@ -0,0 +1,12 @@
+Index: goffice-0.7.14/configure.in
+===================================================================
+--- goffice-0.7.14.orig/configure.in
++++ goffice-0.7.14/configure.in
+@@ -71,7 +71,6 @@ AC_PROG_YACC
+ AM_PROG_LEX
+ AC_PROG_LN_S
+ AM_PROG_LIBTOOL
+-DOLT
+ AC_STDC_HEADERS
+ AC_SYS_LARGEFILE
index beb2323..828e6a2 100644 (file)
@@ -7,7 +7,8 @@ DEPENDS="glib-2.0 gtk+ pango cairo libgnomeprint libgsf libglade libpcre libxml2
 
 inherit gnome pkgconfig
 
-SRC_URI += "file://c99math.patch;patch=1"
+SRC_URI += " file://c99math.patch;patch=1 \
+             file://nodolt.patch;patch=1 "
 
 do_stage() {
        autotools_stage_all