summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/files/patch-lc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/xview/files/patch-lc')
-rw-r--r--x11-toolkits/xview/files/patch-lc14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-toolkits/xview/files/patch-lc b/x11-toolkits/xview/files/patch-lc
new file mode 100644
index 000000000000..e42b72290b5f
--- /dev/null
+++ b/x11-toolkits/xview/files/patch-lc
@@ -0,0 +1,14 @@
+--- lib/libxview/color/cms_pblc.c.orig Tue Jun 29 14:15:53 1993
++++ lib/libxview/color/cms_pblc.c Sat Jan 9 23:32:10 1999
+@@ -316,9 +316,10 @@
+ {
+ Cms_info *cms = CMS_PRIVATE(cms_public);
+ Xv_opaque value;
+- Attr_avlist avlist = (Attr_avlist) args;
++ Attr_avlist avlist;
+ int cms_status = 0;
+
++ MAKE_AVLIST(args, avlist);
+ switch (attr) {
+ case CMS_PIXEL: {
+ unsigned long index;