[Gnucash-changes] r12154 - gnucash/trunk - Some changes to get code to compile on Solaris.

Derek Atkins warlord at cvs.gnucash.org
Fri Dec 9 13:28:43 EST 2005


Author: warlord
Date: 2005-12-09 13:28:42 -0500 (Fri, 09 Dec 2005)
New Revision: 12154
Trac: http://svn.gnucash.org/trac/changeset/12154

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/configure.in
   gnucash/trunk/src/business/business-gnome/business-urls.c
   gnucash/trunk/src/gnome-utils/gnc-currency-edit.c
Log:
Some changes to get code to compile on Solaris.

	* configure.in: g-wrap 1.9.6 can define the module-dir as
	  share/guile/site -- we want to make sure to get rid of
	  the /site when computing the libdir from this.  Otherwise
	  the runtime will fail to find the g-wrap runtime libraries.
	* src/gnome-utils/gnc-currency-edit.c:
	* src/business/business-gnome/business-urls.c:
	  include <strings.h> to compile on Solaris.



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-12-08 21:38:51 UTC (rev 12153)
+++ gnucash/trunk/ChangeLog	2005-12-09 18:28:42 UTC (rev 12154)
@@ -1,3 +1,13 @@
+2005-12-09  Derek Atkins  <derek at ihtfp.com>
+
+	* configure.in: g-wrap 1.9.6 can define the module-dir as
+	  share/guile/site -- we want to make sure to get rid of
+	  the /site when computing the libdir from this.  Otherwise
+	  the runtime will fail to find the g-wrap runtime libraries.
+	* src/gnome-utils/gnc-currency-edit.c:
+	* src/business/business-gnome/business-urls.c:
+	  include <strings.h> to compile on Solaris.
+
 2005-12-08  Christian Stimming  <stimming at tuhh.de>
 
 	* src/report/standard-reports/income-statement.scm, *.scm:

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2005-12-08 21:38:51 UTC (rev 12153)
+++ gnucash/trunk/configure.in	2005-12-09 18:28:42 UTC (rev 12154)
@@ -242,7 +242,7 @@
 
 AC_MSG_CHECKING(for g-wrap module directory)
 G_WRAP_MODULE_DIR=`${G_WRAP_CONFIG} --guile-module-directory`
-G_WRAP_LIB_DIR=`echo $G_WRAP_MODULE_DIR | sed -e 's|share/guile|lib|'`
+G_WRAP_LIB_DIR=`echo $G_WRAP_MODULE_DIR | sed -e 's|share/guile.*$|lib|'`
 AC_MSG_RESULT($G_WRAP_MODULE_DIR)
 
 AC_GWRAP_CHECK_GUILE($G_WRAP_MODULE_DIR)

Modified: gnucash/trunk/src/business/business-gnome/business-urls.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/business-urls.c	2005-12-08 21:38:51 UTC (rev 12153)
+++ gnucash/trunk/src/business/business-gnome/business-urls.c	2005-12-09 18:28:42 UTC (rev 12154)
@@ -26,6 +26,7 @@
 
 #include <gtk/gtk.h>
 #include <glib/gi18n.h>
+#include <strings.h>  /* index() on Solaris */
 
 #include "gnc-html.h"
 #include "gnc-ui-util.h"

Modified: gnucash/trunk/src/gnome-utils/gnc-currency-edit.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-currency-edit.c	2005-12-08 21:38:51 UTC (rev 12153)
+++ gnucash/trunk/src/gnome-utils/gnc-currency-edit.c	2005-12-09 18:28:42 UTC (rev 12154)
@@ -59,6 +59,7 @@
 
 #include <gtk/gtk.h>
 #include <string.h>
+#include <strings.h>  /* for index() on Solaris */
 #include <ctype.h>
 #include <stdio.h>
 



More information about the gnucash-changes mailing list