--- ./src/callbacks.c~ 2009-02-15 18:06:35.000000000 +0900 +++ ./src/callbacks.c 2009-07-17 16:06:45.000000000 +0900 @@ -94,6 +94,10 @@ #include "widgets_misc.h" #include "VlistP.h" +#ifndef SIGCLD +#define SIGCLD SIGCHLD +#endif + static char* save_directory = NULL; static char* open_directory = NULL; --- ./src/info.c~ 2008-11-09 18:26:39.000000000 +0900 +++ ./src/info.c 2009-07-17 16:28:55.000000000 +0900 @@ -193,7 +193,7 @@ Cardinal n; Dimension bottomMargin, leftMargin, rightMargin, topMargin; Dimension width, height; - XFontStruct *font; + XFontStruct *font = NULL; BEGINMESSAGE(makeInfoPopup) @@ -233,8 +233,8 @@ XtSetArg(args[n], XtNtopMargin, &topMargin); n++; XtGetValues(infotext,args,n); - width = font->max_bounds.width * 80 + leftMargin + rightMargin; - height = (font->ascent + font->descent) * 22 + topMargin + bottomMargin; + width = font ? font->max_bounds.width : 9 * 80 + leftMargin + rightMargin; + height = (font ? font->ascent + font->descent : 12) * 22 + topMargin + bottomMargin; n=0; XtSetArg(args[0], XtNwidth, width); n++;