summaryrefslogtreecommitdiff
path: root/graphics/xanim
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xanim')
-rw-r--r--graphics/xanim/patches/patch-aa10
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;