diff options
author | tron <tron@pkgsrc.org> | 1998-02-15 21:59:12 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-02-15 21:59:12 +0000 |
commit | c48a4a500597f9fe9bb16bb75b3cdbb0ff5634f4 (patch) | |
tree | 99a241ef399aad83168a91057764dcc66f7463c8 /graphics/xanim | |
parent | d747f7885e12f30949427353ba131a90ee17d36b (diff) | |
download | pkgsrc-c48a4a500597f9fe9bb16bb75b3cdbb0ff5634f4.tar.gz |
Patch by Mark Podlipec to fix crashes with XFree86's 32BPP visual.
Diffstat (limited to 'graphics/xanim')
-rw-r--r-- | graphics/xanim/patches/patch-aa | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/xanim/patches/patch-aa b/graphics/xanim/patches/patch-aa new file mode 100644 index 00000000000..4a939cb36de --- /dev/null +++ b/graphics/xanim/patches/patch-aa @@ -0,0 +1,10 @@ +--- xa_x11.c.orig Sun Jan 26 17:22:05 1997 ++++ xa_x11.c Sun Feb 15 21:17:44 1998 +@@ -482,6 +482,7 @@ + x11_depth = vis[vis_i].depth; + x11_class = vis[vis_i].class; + x11_cmap_size = vis[vis_i].colormap_size; ++ if (x11_cmap_size > 256) x11_cmap_size = 256; + /* POD - For testing purposes only */ + if ( (pod_max_colors > 0) && (pod_max_colors < x11_cmap_size) ) + x11_cmap_size = pod_max_colors; |