--- ./Imlib/misc.c Tue May 29 11:11:26 2001 +++ ../imlib-1.9.14/./Imlib/misc.c Thu Aug 21 17:22:13 2003 @@ -420,8 +420,24 @@ max = 0; for (i = 0; i < num; i++) { - if (xvir[i].depth > max) - max = xvir[i].depth; + /* The rendering code in rend.c only supports specific */ + /* depths. Try not to pick something that will choke it. */ + /* Thanks to Yuri D'Elia for tracking this down! */ + switch (xvir[i].depth) + { + case 8: + case 12: + case 15: + case 16: + case 24: + case 32: + if (xvir[i].depth > max) + max = xvir[i].depth; + break; + default: + /* Ignore this visual. */ + break; + } } if (max > 8) { --- ./ltmain.sh Mon Mar 25 11:45:29 2002 +++ ../imlib-1.9.14/./ltmain.sh Thu Aug 21 16:57:12 2003 @@ -61,7 +61,7 @@ default_mode= help="Try \`$progname --help' for more information." magic="%%%MAGIC variable%%%" -mkdir="mkdir" +mkdir="mkdir -p" mv="mv -f" rm="rm -f" @@ -2321,9 +2321,8 @@ nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac - verstring="$verstring_prefix$major.$revision" - major=`expr $current - $age + 1` + verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision --- ./gdk_imlib/misc.c Mon Mar 4 12:06:32 2002 +++ ../imlib-1.9.14/./gdk_imlib/misc.c Thu Aug 21 17:22:19 2003 @@ -452,8 +452,24 @@ max = 0; for (i = 0; i < num; i++) { - if (xvir[i].depth > max) - max = xvir[i].depth; + /* The rendering code in rend.c only supports specific */ + /* depths. Try not to pick something that will choke it. */ + /* Thanks to Yuri D'Elia for tracking this down! */ + switch (xvir[i].depth) + { + case 8: + case 12: + case 15: + case 16: + case 24: + case 32: + if (xvir[i].depth > max) + max = xvir[i].depth; + break; + default: + /* Ignore this visual. */ + break; + } } if (max > 8) {