[patch] 0.99.0 compile problem in search.c



I needed the following change to get 0.99.0 to compile on Debian unstable
(gcc version 2.95.4 20011006 (Debian prerelease)):

--- gnumeric-0.99.0.orig/src/search.c
+++ gnumeric-0.99.0/src/search.c
@@ -511,7 +511,10 @@
        case SRS_range:
        {
                GSList *range_list;
-               EvalPos ep = {{0, 0}, sr->curr_sheet};
+               EvalPos ep;
+               ep.eval.col = 0;
+               ep.eval.row = 0;
+               ep.sheet = sr->curr_sheet;
 
                cells = g_ptr_array_new ();
                range_list = global_range_list_parse (sr->curr_sheet, sr->range_text);
-- 
Scary piece of history:
`The very first use of Unix in the "real business" of Bell Labs was to type
and produce patent applications'
        Dennis Ritchie in http://cm.bell-labs.com/cm/cs/who/dmr/odd.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]