On 1/8/12 6:24 AM, Martin Costabel wrote: > On 6/01/12 18:01, Alexander Hansen wrote: [] >> I've put Martin's fix into gnuplot-4.4.4-4, which should be >> available shortly via "fink selfupdate". > > Upstream gnuplot has now closed the bug. Here is the patch they > finally applied: > <http://gnuplot.cvs.sourceforge.net/viewvc/gnuplot/gnuplot/src/misc.c?r1=1.140&r2=1.142> > > It is probably more robust than what I suggested. >
Though it appears not to work against gnuplot-4.4.4. I tried simply modifying the .patch file, but wound up with the following error: ... gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/sw/bin\" -DX11_DRIVER_DIR=\"/sw/lib/gnuplot/4.4\" -DGNUPLOT_PS_DIR=\"/sw/share/gnuplot/4.4/PostScript\" -DGNUPLOT_JS_DIR=\"/sw/share/gnuplot/4.4/js\" -DGNUPLOT_LUA_DIR=\"/sw/share/gnuplot/4.4/lua\" -DCONTACT=\"gnuplot-b...@lists.sourceforge.net\" -DHELPFILE=\"/sw/share/gnuplot/4.4/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'`\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\" -I/sw/include -I/usr/X11R6/include -I/sw/include -I/sw/include -I/sw/include -I/sw/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include -I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include -I/sw/include/cairo -I/sw/include/freetype2 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11/include -g -O2 -ObjC -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c misc.c:315:5: error: use of undeclared identifier 'if_depth' if_depth = lf->if_depth; ^ misc.c:315:20: error: no member named 'if_depth' in 'struct lf_state_struct' if_depth = lf->if_depth; ~~ ^ misc.c:316:5: error: use of undeclared identifier 'if_condition' if_condition = lf->if_condition; ^ misc.c:316:24: error: no member named 'if_condition' in 'struct lf_state_struct' if_condition = lf->if_condition; ~~ ^ misc.c:317:5: error: use of undeclared identifier 'if_open_for_else' if_open_for_else = lf->if_open_for_else; ^ misc.c:317:28: error: no member named 'if_open_for_else' in 'struct lf_state_struct' if_open_for_else = lf->if_open_for_else; ~~ ^ misc.c:333:14: error: no member named 'cmdline' in 'struct lf_state_struct' free(lf->cmdline); ~~ ^ misc.c:338:1: error: expected external declaration } ^ 8 errors generated. Some appropriate tweaking will be required to make it get along with 4.4.4. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners