patches/goffice-01-no-sunmath-lib.diff
author daymobrew
Sun, 18 Nov 2007 14:04:48 +0000
changeset 659 b22dcc820f3d
parent 658 6b765274caa4
child 671 fc006486f467
permissions -rw-r--r--
Add missing chunk.

--- goffice-0.5.2/configure.orig	2007-11-16 18:35:43.014448000 +0000
+++ goffice-0.5.2/configure	2007-11-16 18:36:31.744429000 +0000
@@ -26870,7 +26870,7 @@
 if test $ac_cv_c_long_double = yes; then
     have_mandatory_funcs=yes
     need_sunmath=0
-    sunmathlinkstuff='-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib -lsunmath'
+    sunmathlinkstuff='-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib'
     for ldfunc in fabsl logl log10l ceill floorl powl isnanl finitel; do
 	    as_ac_var=`echo "ac_cv_func_$ldfunc" | $as_tr_sh`
 { echo "$as_me:$LINENO: checking for $ldfunc" >&5
@@ -27037,7 +27037,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsunmath -L/opt/SUNWspro/lib $GOFFICE_LIBS $LIBS"
+LIBS="-L/opt/SUNWspro/lib $GOFFICE_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
--- goffice-0.5.2/configure.in.orig	2007-11-16 18:35:50.467893000 +0000
+++ goffice-0.5.2/configure.in	2007-11-16 18:36:16.880534000 +0000
@@ -425,7 +425,7 @@
 if test $ac_cv_c_long_double = yes; then
     have_mandatory_funcs=yes
     need_sunmath=0
-    sunmathlinkstuff='-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib -lsunmath'
+    sunmathlinkstuff='-L/opt/SUNWspro/lib -R/opt/SUNWspro/lib'
     for ldfunc in fabsl logl log10l ceill floorl powl isnanl finitel; do
 	    AC_CHECK_FUNC($ldfunc,
 		  ,
--- goffice-0.5.2/goffice/graph/gog-guru.c.orig	2007-11-18 13:54:29.346788000 +0000
+++ goffice-0.5.2/goffice/graph/gog-guru.c	2007-11-18 13:54:42.705268000 +0000
@@ -1307,7 +1307,7 @@
 	g_object_set_data_full (G_OBJECT (state->dialog),
 		"state", state, (GDestroyNotify) graph_guru_state_destroy);
 
-#warning for 0.5.0 remove this and have the callers set transient and handle show, then drop the toplevel arg
+/*#warning for 0.5.0 remove this and have the callers set transient and handle show, then drop the toplevel arg*/
 	go_gtk_nonmodal_dialog (toplevel, GTK_WINDOW (state->dialog));
 	gtk_widget_show (GTK_WIDGET (state->dialog));