From 4e526afeeff1a451675efc9d688f154a501440e3 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 16 Feb 2015 21:04:20 +0000 Subject: - Fix build with clang 3.6 Approved by: portmgr blanket --- multimedia/pwcbsd/files/patch-pwc-dec23.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/multimedia/pwcbsd/files/patch-pwc-dec23.c b/multimedia/pwcbsd/files/patch-pwc-dec23.c index 488cb53e1098..c173dafaa5a6 100644 --- a/multimedia/pwcbsd/files/patch-pwc-dec23.c +++ b/multimedia/pwcbsd/files/patch-pwc-dec23.c @@ -1,5 +1,5 @@ ---- pwc-dec23.c.orig 2013-09-05 17:36:27.000000000 +0200 -+++ pwc-dec23.c 2013-09-05 17:37:27.000000000 +0200 +--- pwc-dec23.c.orig 2006-06-04 05:39:14.000000000 +0400 ++++ pwc-dec23.c 2015-02-16 22:09:58.000000000 +0300 @@ -261,7 +261,7 @@ { int flags; @@ -9,3 +9,21 @@ switch (type) { case 720: +@@ -277,7 +277,7 @@ + pdev->zz = 6; + flags = mode[2] >> 5; /* our: 7 */ + +- fill_table_color(flags, (unsigned int *)KiaraRomTable, ++ fill_table_color(flags, (const unsigned int *)KiaraRomTable, + pdev->table_0004, pdev->table_8004); + break; + +@@ -293,7 +293,7 @@ + pdev->zz = 6; + flags = mode[2] >> 3; + +- fill_table_color(flags, (unsigned int *)TimonRomTable, ++ fill_table_color(flags, (const unsigned int *)TimonRomTable, + pdev->table_0004, pdev->table_8004); + break; + -- cgit