freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+color+cms_pblc.c
Pav Lucistnik bbff923854 - Redo this port. Now it compiles on -current again.
PR:		ports/58176
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2003-12-13 23:38:21 +00:00

14 lines
433 B
C

--- lib/libxview/color/cms_pblc.c.orig Mon Sep 29 00:02:28 2003
+++ lib/libxview/color/cms_pblc.c Mon Sep 29 00:02:28 2003
@@ -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;