diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-02-17 05:04:20 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-02-17 05:04:20 +0800 |
commit | 4e526afeeff1a451675efc9d688f154a501440e3 (patch) | |
tree | e82508b24ce00451eaffee2145c51fd3e87a27e2 | |
parent | cf19a45c8d04d7e4883d9fcefdb29ac708243f1f (diff) | |
download | freebsd-ports-gnome-4e526afeeff1a451675efc9d688f154a501440e3.tar.gz freebsd-ports-gnome-4e526afeeff1a451675efc9d688f154a501440e3.tar.zst freebsd-ports-gnome-4e526afeeff1a451675efc9d688f154a501440e3.zip |
- Fix build with clang 3.6
Approved by: portmgr blanket
-rw-r--r-- | multimedia/pwcbsd/files/patch-pwc-dec23.c | 22 |
1 files 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; + |